Bug 67065

Summary: traceback while syncing channel
Product: Red Hat Satellite 5 Reporter: Ben Levenson <benl>
Component: ServerAssignee: Greg DeKoenigsberg <gdk>
Status: CLOSED NOTABUG QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alikins, cturner, gafton, mihai.ibanescu, 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-06-19 17:53:19 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 Ben Levenson 2002-06-19 17:53:13 UTC
Description of Problem:
( didn't really know which component to file this against. )
traceback occured while trying to sync the redhat-linux-i386-7.2 channel.

How Reproducible:
so far, 100%

Steps to Reproduce:
1. install satellite (username: rhn_train_3)
2. sync a channel w/ the following command: 
   satellite-sync -c redhat-linux-i386-7.2

Actual Results:
[root@test81 rhn]# satellite-sync -c redhat-linux-i386-7.2
Tue Jun 18 15:13:19 2002 - Red Hat Network Satellite - live syncronization
(https://xmlrpc.rhn.redhat.com)
Tue Jun 18 15:13:19 2002 -
Tue Jun 18 15:13:19 2002 - Retrieving / parsing channel data
Tue Jun 18 15:13:22 2002 -    redhat-linux-i386-7.2                   1685  pkgs
Tue Jun 18 15:13:22 2002 - Channel data complete
Tue Jun 18 15:13:22 2002 -
Tue Jun 18 15:13:22 2002 - Retrieving short package data
Tue Jun 18 15:13:22 2002 -    Retrieving / parsing short package data:
redhat-linux-i386-7.2 (1685)
Tue Jun 18 15:13:22 2002 -    * short package data is used for preliminary data
indexing.
            ________________________________________
Processing: ######################################## - complete
Tue Jun 18 15:16:23 2002 -    Short package data parse summary:
redhat-linux-i386-7.2
                                  parse success: 1685
                                  parse fail:    0

Tue Jun 18 15:16:23 2002 - Diffing package data (what's missing from the local DB?)
Traceback (innermost last):
  File "/usr/bin/satellite-sync", line 27, in ?
    satsync.main(sys.argv)
  File "/var/www/rhns/satellite_tools/satsync.py", line 527, in main
    syncer.processShortPackages()
  File "/var/www/rhns/satellite_tools/satsync.py", line 181, in processShortPackages
    diffShortPackages(chn, self.channels)
  File "/var/www/rhns/satellite_tools/syncLib.py", line 176, in diffShortPackages
    importer.run()
  File "/var/www/rhns/server/importlib/importLib.py", line 421, in run
    self.preprocess()
  File "/var/www/rhns/server/importlib/channelImport.py", line 262, in preprocess
    if not os.path.exists(CFG.MOUNT_POINT + '/' + package['path']):
TypeError: bad operand type(s) for +

Comment 1 Josef Komenda 2002-06-19 18:04:16 UTC
Testing conflict with the databases used caused this. Closing.