Bug 73797

Summary: Satellite-sync errors late in process w. no parent
Product: Red Hat Satellite 5 Reporter: Matt Jamison <jamisonm>
Component: ServerAssignee: Todd Warner <taw>
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: 2003-05-16 13:58:51 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: 77497    

Description Josef Komenda 2002-09-11 00:08:02 UTC
Description of Problem: Attempting to load a child channel without the parent
results in a traceback very late in the process - it should bounce the user
earlier. 

Tue Sep 10 19:43:26 2002 - Processing package data
Tue Sep 10 19:43:26 2002 -    Retrieving / parsing package data (for metadata
deemed relevant): redhat-rhn-proxy-i386-7.2 (32)
Tue Sep 10 19:43:26 2002 -    * WARNING: this may be a very slow process.
            ________________________________________
Processing: ######################################## - complete
Tue Sep 10 19:45:00 2002 -    Package data parse/import summary:
redhat-rhn-proxy-i386-7.2
                                  parse success: 32
                                  parse fail:    0
Tue Sep 10 19:45:00 2002 -    Linking channels to package data:
redhat-rhn-proxy-i386-7.2
Traceback (innermost last):
  File "/usr/bin/satellite-sync", line 29, in ?
    satsync.main(sys.argv)
  File "/var/www/rhns/satellite_tools/satsync.py", line 715, in main
    report = syncer.processPackages(allPackageDataYN=actionDict['allpackages'])
  File "/var/www/rhns/satellite_tools/satsync.py", line 283, in processPackages
    importer.run()
  File "/var/www/rhns/server/importlib/importLib.py", line 423, in run
    self.fix()
  File "/var/www/rhns/server/importlib/packageImport.py", line 52, in fix
    self.__copyChannels(package, package)
  File "/var/www/rhns/server/importlib/packageImport.py", line 136, in
__copyChannels
    "Unsupported channel %s" % channelName)
server.importlib.importLib.InvalidChannelError: Unsupported channel
redhat-rhn-proxy-i386-7.2

Comment 1 Josef Komenda 2002-10-28 16:46:14 UTC
This now places the error in /var/log/rhn/rhn_server_satellite.log, but should
message the user about installing teh parent channel.

Comment 2 Todd Warner 2002-11-01 22:25:00 UTC
Still an issue... will address.

Comment 3 Todd Warner 2002-12-05 21:42:14 UTC
Oops... wrong tracking bug.

Comment 4 Todd Warner 2002-12-20 17:06:55 UTC
Done for Titan.
Not backporting.

Comment 5 Greg DeKoenigsberg 2003-04-11 14:42:12 UTC
Moving to RHN 3.0.0

Comment 6 Josef Komenda 2003-05-16 13:58:51 UTC
Fixed. 

SYNC ERROR: unhandled exception occurred:
       <server.importlib.importLib.InvalidChannelError instance at 82461d0> --
Invalid channel (parent not imported?) redhat-linux-i386-7.2.