Bug 70832

Summary: Satellite-sync throws traceback against live site
Product: Red Hat Satellite 5 Reporter: Matt Jamison <jamisonm>
Component: ServerAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alikins, bretm, cturner, gafton, mihai.ibanescu, robin.norwood, taw
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-07 21:51:33 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 Josef Komenda 2002-08-05 22:24:06 UTC
Description of Problem: testing the latest installer against the live site,
satellite-sync throws the following traceback: 

[root@satcd usr]# satellite-sync --all-channels --email
CONFIG PARSE WARNING: File not found or can't be read
/etc/rhn/default/rhn_server_satellite.confCONFIG PARSE WARNING: key not found
in config default dict ('server', 'satellite')
Mon Aug  5 14:21:20 2002 - Red Hat Network Satellite - live syncronization
Traceback (innermost last):
  File "/usr/bin/satellite-sync", line 29, in ?
    satsync.main(sys.argv)
  File "/var/www/rhns/satellite_tools/satsync.py", line 636, in main
    syncer = Syncer(mountpoint, channels, sslYN)
  File "/var/www/rhns/satellite_tools/satsync.py", line 64, in __init__
    logIt(2, 2, '   url: %s' % self.xmlWireServer.makeUrl(CFG.RHN_PARENT),
sys.stdout)
  File "/var/www/rhns/common/rhnConfig.py", line 182, in __getattr__
    raise AttributeError(key)
AttributeError: RHN_PARENT


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


How Reproducible: satcd.rdu.redhat.com - the usual password

Comment 1 Josef Komenda 2002-08-06 15:49:27 UTC
Have tested this against QA as well - same result.

Comment 2 Mihai Ibanescu 2002-08-06 18:21:41 UTC
Fixed in the latest code (version 1.2.5-8) and pushed in QA's channel.

Comment 3 Josef Komenda 2002-08-08 14:40:43 UTC
Confirmed good. Closing.