Bug 232567
Summary: | yum does not support server failover | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | John T. Rose <inode0> | ||||
Component: | yum-rhn-plugin | Assignee: | Pradeep Kilambi <pkilambi> | ||||
Status: | CLOSED ERRATA | QA Contact: | Preethi Thomas <pthomas> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.0 | CC: | bkearney, k.georgiou | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2007-0594 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-07 17:24:36 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 180180, 242835 | ||||||
Attachments: |
|
Description
John T. Rose
2007-03-16 04:28:29 UTC
Related to this bug is another. Perhaps it should be filed under rhnreg_ks?! After configuring the serverURL in /etc/sysconfig/rhn/up2date to allow for failover running rhnreg_ks clobbers it trashing all but the first item. It should leave it alone. Oops, sorry about yet another email tonight. The rhnreg_ks issue appears to be the result of using --serverURL, so that is a self-inflicted wound. Ignore comment #1. James, is this the right BZ component? Looks like yum-rhn-plugin? Created attachment 155349 [details]
patch to support failover urls
The problem was actually that the plugin was not handling multiple channels. A
side effect for adding multiple server URLS is that the channels are sent to
the yum plugin as a list, the plugin was not handling lists correctly.
Submitting to 5.1 and attaching patch.
fails_qa looks like this is not working added /etc/sysconfig/rhn/up2date serverURL=http://www.yahoo.com;https://xmlrpc.rhn.webqa.redhat.com/XMLRPC [root@rlx-3-10 ~]# yum update Loading "installonlyn" plugin Loading "rhnplugin" plugin There was an error communicating with RHN. RHN support will be disabled. Error communicating with server. The message was: Name or service not known Setting up Update Process No Repositories Available to Set Up No Packages marked for Update/Obsoletion added to /etc/sysconfig/rhn/up2date serverURL=http://www.yahoo.com;https://xmlrpc.rhn.webqa.redhat.com/XMLRPC; [root@rlx-3-10 ~]# yum update Loading "installonlyn" plugin Loading "rhnplugin" plugin Setting up Update Process Error: Cannot open/read repomd.xml file for repository: rhel-i386-server-5 fixed Committed revision 119335. After the fix: test cases: /etc/sysconfig/rhn/up2date serverURL=http://www.yahoo.com/XMLRPC;http://xmlrpc.rhn.redhat.com/XMLRPC; $ yum update Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package autofs.i386 1:5.0.1-0.rc2.43.0.2 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Updating: autofs i386 1:5.0.1-0.rc2.43.0.2 rhel-i386-client-5 760 k Transaction Summary ============================================================================= Install 0 Package(s) Update 1 Package(s) Remove 0 Package(s) Total download size: 760 k Is this ok [y/N]: y Downloading Packages: (1/1): autofs-5.0.1-0.rc2 100% |=========================| 760 kB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : autofs ######################### [1/2] Cleanup : autofs ######################### [2/2] in up2dateeeeeeeeeeee in up2dateeeeeeeeeeee Updated: autofs.i386 1:5.0.1-0.rc2.43.0.2 Complete! verified. 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-0594.html |