Satellite: Repository package count mismatch with web interface
Issue
Unable to fetch packages from a given channel. Also, package count doesn't matches Satellite GUI info (i.e.: there are 11000 RHEL6 packages in Sat GUI x 8888 reported by yum)
error 1
[root@test etc]# yum update kernel
Loaded plugins: product-id, rhnplugin, security, subscription-manager, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
jbappplatform-6-x86_64-server-6-rpm | 1.3 kB 00:00
jbappplatform-6-x86_64-server-6-rpm/primary | 121 kB 00:00
jbappplatform-6-x86_64-server-6-rpm 568/568
rhel-x86_64-server-6 | 1.5 kB 00:00
rhel-x86_64-server-6/primary | 11 MB 00:03
rhel-x86_64-server-6 8888/8888
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6-rhevm-3.1. Please verify its path and try again
erro2 2
[root@test ~]# rhn_check -vv
D: check_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>errata.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><int>12344</int></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 10967}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1411748155.36 with expiration of 1411751755.36 seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000012834, 'X-RHN-Auth-Server-Time': '1411748218.16', 'X-RHN-Auth': 'x3HGuBKGVEkxaSVmbmbCXQ==', 'X-RHN-Auth-Channels': [['rhel-x86_64-server-5', '20140926102154', '1', '1'], ['rhn-tools-rhel-x86_64-server-5', '20140920010438', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>errata.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><int>12344</int></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 10967}
D: handle_action actionid = 10967, version = 2
D: do_call errata.update ([12344],) {'cache_only': None}
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
D: Called update [['bash', '3.2', '33.el5.1', '', 'x86_64']]
D: Sending back response ((6,), 'Error while executing packages action: empty transaction', {})
D: do_call packages.checkNeedUpdate ('rhnsd=1',) {}
D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {})
Environment
Red Hat Network Satellite 5.5 or earlier with embedded Oracle database
Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.