Description of problem: Proxy 5.6 channel not listed by client.proxy.listAvailableProxyChannels Version-Release number of selected component (if applicable): spacewalk-java-2.0.2-39.el5sat How reproducible: 1 of 1 Steps to Reproduce: 1. Sync 5.4, 5.5 and 5.6 Proxy channels Actual results: # spacewalk-remove-channel -l [...] rhel-x86_64-server-5 redhat-rhn-proxy-5.4-server-x86_64-5 redhat-rhn-proxy-5.5-server-x86_64-5 redhat-rhn-proxy-5.6-server-x86_64-5 rhel-x86_64-server-6 redhat-rhn-proxy-5.5-server-x86_64-6 redhat-rhn-proxy-5.6-server-x86_64-6 [...] # python [...] >>> client.proxy.listAvailableProxyChannels(idfile) ['5.4', '5.5'] Expected results: >>> client.proxy.listAvailableProxyChannels(idfile) ['5.4', '5.5', '5.6']
Right, 5.6 does not get recognized. The reason is the channel_product_id not being set for the the proxy 5.6 channels: rhnschema=# select id, label, channel_product_id from rhnChannel where label like 'redhat%'; id | label | channel_product_id -----+--------------------------------------+-------------------- 165 | redhat-rhn-proxy-5.4-server-x86_64-5 | 11 166 | redhat-rhn-proxy-5.5-server-x86_64-5 | 12 167 | redhat-rhn-proxy-5.5-server-x86_64-6 | 12 158 | redhat-rhn-proxy-5.6-server-x86_64-5 | 159 | redhat-rhn-proxy-5.6-server-x86_64-6 | (5 rows) rhnschema=# select id, product, version from rhnchannelproduct; id | product | version ----+------------+--------- 1 | rhel | 6 2 | rhn-tools | 6 3 | rhel | 5 4 | rhn-tools | 5 5 | ha | 6 6 | devtoolset | 6 7 | rhel | 6.4 8 | rhn-tools | 6.4 9 | vt | 5 10 | proxy | 5.6 11 | proxy | 5.4 12 | proxy | 5.5 (12 rows)
Stage validated with Satellite-5.6.0-RHEL5-re20130926.0-x86_64. > python >>> import xmlrpclib, pprint >>> SATELLITE_URL = "http://<fqdn>/rpc/api" >>> client = xmlrpclib.Server(SATELLITE_URL, verbose=0) >>> fo = open("/etc/sysconfig/rhn/systemid", "r+") >>> str = fo.read(); >>> pprint.pprint(client.proxy.listAvailableProxyChannels(str)) >>> fo.close() ['5.6', '5.4', '5.5']
Red Hat Satellite Proxy 5.6 has been released. This bug tracked under Proxy. This bug either was VERIFIED or RELEASE_PENDING (re-verified prior shortly before release). Moving to CLOSED CURRENT_RELEASE. Text from Upgrade Erratum follows: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1392.html