Bug 244298
Summary: | rhnreg_ks ends up with a conflict if config mgmt option is enabled in activation key | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Pradeep Kilambi <pkilambi> |
Component: | up2date | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED ERRATA | QA Contact: | Beth Nackashi <bnackash> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.5 | CC: | colin.coe, jurgen.ponds-eds, pmutha, richard.f.dawson, roel.gloudemans, tao |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-0815 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-15 16:34:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pradeep Kilambi
2007-06-14 20:51:45 UTC
to add little more info: [root@gss6-245 up2date_client]# rhnreg_ks --serverUrl=http://10.65.6.86/XMLRPC --activationkey=f75eb036312b52da7384dbb5a2bb91d5 --force ####################### ['curl', 'rhncfg', 'rhncfg-actions', 'rhncfg-client', 'sysreport'] Name Version Rel ---------------------------------------------------------- The following packages you requested are already updated: curl curl curl curl curl curl curl curl curl curl rhncfg rhncfg rhncfg rhncfg rhncfg rhncfg rhncfg rhncfg rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-actions rhncfg-client rhncfg-client rhncfg-client rhncfg-client rhncfg-client rhncfg-client rhncfg-client rhncfg-client sysreport sysreport sysreport sysreport sysreport %%%%%%%%%%%%%%%%%%%%%%%%% [['rhncfg', '5.0.1', '1.el4', ''], ['rhncfg-actions', '5.0.1', '1.el4', ''], ['rhncfg-client', '5.0.1', '1.el4', '']] Name Version Rel ---------------------------------------------------------- rhncfg 5.0.1 1.el4 noarch rhncfg-actions 5.0.1 1.el4 noarch rhncfg-client 5.0.1 1.el4 noarch rhncfg is added in as a seperate transaction and in/var/logup2date Fri Jun 15 02:50:20 2007] up2date successfully retrieved authentication token from up2date server [Fri Jun 15 02:50:22 2007] up2date RPM package conflict error. The message was: Test install failed because of package conflicts: package rhncfg-5.0.1-1.el4 is already installed package rhncfg-client-5.0.1-1.el4 is already installed package rhncfg-actions-5.0.1-1.el4 is already installed This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. I guess something like this should fix the rhncfg issue: Index: up2dateBatch.py =================================================================== --- up2dateBatch.py (revision 117585) +++ up2dateBatch.py (working copy) @@ -11,6 +11,7 @@ import rhnPackageInfo import wrapperUtils from rhpl.translate import _, N_ +from up2date_client import rpmUtils # later... @@ -174,6 +175,8 @@ """ selPackages = [] actionPkgNVREA = map(lambda x:x[:4],self.actionPkgListInfo) + installedPkgs = rpmUtils.getInstalledPackageList(getArch=1) + installedPkgsNVREA = map(lambda x:x[:4], installedPkgs) # If action pkgs for update/install if actionPkgNVREA: # this loop could be faster leaving it in for now @@ -183,6 +186,9 @@ for pkg in self.allAvailablePackages: if pkg[0] in skippedPkgs: continue + if pkg[:4] in installedPkgsNVREA: + #skip if package already installed + continue if pkg[:4] in actionPkgNVREA: selPackages.append(pkg) This effects RHEL3 nodes also. Could this fix be applied to RHEL also? CC That should have read: Could this fix be applied to RHEL3 also? If I uncheck the checkbox: " Schedule a deploy action for all of the configuration files in the channels listed above upon system registration." the config files are not deployed!!!! This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being marked as a blocker for this release. Please resolve ASAP. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0815.html |