Bug 498252

Summary: RHN Tools Packages Not Installable After Sync
Product: Red Hat Satellite 5 Reporter: Devan Goodwin <dgoodwin>
Component: Satellite SynchronizationAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: low    
Version: 530   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-29 17:46:31 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 Devan Goodwin 2009-04-29 15:41:19 UTC
Description of problem:

After satellite-sync'ing RHEL 5 + Tools + VT, rhnmd package is visible in the web UI but not when doing yum search on a system that has the Tools channel assigned to it. yum search rhnmd on the client shows no results. Scheduling from the web UI and running rhn_check results in: 

D: Sending back response (32, 'Failed: Packages failed to install properly: No package(s) available to install', {'version': '1', 'name': 'package_install_failure'})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: local action status:  (0, 'rpm database not modified since last update (or package list recently updated)', {})


Version-Release number of selected component (if applicable):

Satellite-5.3.0-RHEL5-re20090414.0-i386-embedded-oracle.iso

How reproducible:

Unknown.

Steps to Reproduce:
1. satellite-sync -crhel-i386-server-5 -crhel-i386-server-vt-5 -crhn-tools-rhel-i386-server-5
2. assign client these channels
3. yum search rhnmd on client (no results)
4. schedule rhnmd install from web UI and rhn)check on client.
  
Actual results:

Package install fails.

Additional info:

Re-tried satellite-sync but this did not correct the problem.

[root@satellite ~]# cd /var/satellite/
[root@satellite satellite]# ls
redhat  rhn
[root@satellite satellite]# find . -name "*rhnmd*"
./redhat/NULL/083/rhnmd
./redhat/NULL/083/rhnmd/5.0.0-8.el5/i386/08312b5b62c0c6d666cb93d3f60547e7/rhnmd-5.0.0-8.el5.i386.rpm
./redhat/NULL/545/rhnmd
./redhat/NULL/545/rhnmd/5.3.0-3.el5sat/i386/545652832a3a64b1d39a3b35ae680645/rhnmd-5.3.0-3.el5sat.i386.rpm
./redhat/NULL/580/rhnmd
./redhat/NULL/580/rhnmd/5.3.0-4.el5sat/i386/5801b0ae0e289240f184101c8b582706/rhnmd-5.3.0-4.el5sat.i386.rpm
[root@satellite satellite]# 

No errors visible in xmlrpc log or httpd error_log.

Will keep this sat/client intact for further debugging.

Problem appears for other packages in tools like rhncfg. Download link in the web UI works.

Comment 1 Devan Goodwin 2009-04-29 16:56:06 UTC
Wow, few hours later I re-ran the commands to search for the packages on the client, and they just appeared. :O I don't think I did *anything* to the Satellite during this time.

Lost my reproducer, was this a delayed task of some kind? I didn't notice any unusual load on the box.

Comment 2 Pradeep Kilambi 2009-04-29 17:25:50 UTC
Yea its odd. I saw the same on jsherill's sat. I just cleared the cache and it fixed the issue. I guess in your first attempt there is some cache mismatch and generation was in progress and it fixed it once that was complete. I'm not able to reproduce again either. I'll keep a watch and see why this is could be happening.