Bug 114930

Summary: sat-install: install rhn_reg-2.9.3-1.2.1AS once signed
Product: Red Hat Satellite 5 Reporter: Chris Runge <crunge>
Component: InstallerAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.1.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-30 15:13:44 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: 114644    

Description Chris Runge 2004-02-04 16:56:17 UTC
Description of problem:

The RHN Satellite RC build 3.0.9-11 includes rhn_register RPMS that
generate a host not found error during activation/registration with
the hosted environment. This error occurs regardless of when the
registration is attempted, either during the Satellite installer
itself or outside of it.

Executing: ['/usr/sbin/rhnreg_ks', '--username', 'chrisrunge',
'--password', '<password>', '--force', '--serverUrl',
'https://xmlrpc.rhn.redhat.com/XMLRPC', '--sslCACert',
'/usr/share/rhn/RHNS-CA-CERT']
Registration of the system via RHN failed.
Return value: 1
Standard-out:
 
Standard-err: Traceback (innermost last):
  File "/usr/sbin/rhnreg_ks", line 326, in ?
    main()
  File "/usr/sbin/rhnreg_ks", line 289, in main
    hardwareList = hardware.Hardware()
  File "/usr/share/rhn/register/hardware.py", line 374, in Hardware
    ret = read_network()
  File "/usr/share/rhn/register/hardware.py", line 296, in read_network
    hostname, ipaddr = findHostByRoute()
  File "/usr/share/rhn/register/hardware.py", line 276, in findHostByRoute
    hostname = socket.gethostbyaddr(intf)[0]
socket.error: host not found
 
 
 
------------------------------from error
dialog------------------------------
There was a problem registering this system: Registration of the system
via RHN failed.
There may be more detail in: terminal window or log-file
(/var/log/rhn_satellite_install.log)
-----------------------------------------------------------------------------

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

rhn-satellite-3.0.9-11
rhn_register-gnome-2.9.2-1.2.1AS

How reproducible:

I've only done one install with this version of the Satellite thus far.

The problem is solved by using the latest version of rhn_register,
rhn_register-2.9.3-1.2.1AS.i386.rpm

See also bug 113599

Comment 1 Todd Warner 2004-02-04 20:12:17 UTC
Hmm... the rhn_register errata candidate is not signed yet. That's why
it has not landed on the ISO yet. I will change the summary to remind
us to include it.


Comment 2 Todd Warner 2004-02-04 20:17:38 UTC
After a minute more of thought... I suppose it makes sense to add the
new rhn_register packages to the installer even if not signed. We
always  check prior to GA release to see that all packages are signed.

Reassigning bug to misa since he is the one who ensures
which packages land in the installers RPMS directory.



Comment 3 Mihai Ibanescu 2004-02-24 16:32:49 UTC
Fixed in 3.1.5 satellites

Comment 4 Todd Warner 2005-09-30 15:13:44 UTC
fixed long ago... and now a moot point.