Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 480047 - traceback when running satellite-sync on spacewalk 0.4
Summary: traceback when running satellite-sync on spacewalk 0.4
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pradeep Kilambi
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space04
TreeView+ depends on / blocked
 
Reported: 2009-01-14 18:15 UTC by Mike McCune
Modified: 2009-01-15 20:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-15 20:15:08 UTC


Attachments (Terms of Use)

Description Mike McCune 2009-01-14 18:15:25 UTC
Running: 

satellite-sync -c rhel-i386-server-5  -m /export/

23:16:16
SYNC ERROR: unhandled exception occurred:

Exception reported from test02-vmx
Time: Tue Jan 13 23:16:16 2009
Exception type exceptions.IOError

Exception Handler Information
Traceback (most recent call last):
   File "/usr/bin/satellite-sync", line 142, in main
     return satsync.Runner().main()
   File "/usr/share/rhn/satellite_tools/satsync.py", line 206, in main
     ret = method()
   File "/usr/share/rhn/satellite_tools/satsync.py", line 293, in 
_step_short
     return self.syncer.processShortPackages()
   File "/usr/share/rhn/satellite_tools/satsync.py", line 825, in 
processShortPackages
     self._diff_packages()
   File "/usr/share/rhn/satellite_tools/satsync.py", line 861, in 
_diff_packages
     package = package_collection.get_package(pid, p_timestamp)
   File "/usr/share/rhn/satellite_tools/sync_handlers.py", line 245, in 
get_package
     return self._cache.cache_get(package_id, timestamp=timestamp)
   File "/usr/share/rhn/satellite_tools/syncCache.py", line 41, in cache_get
     compressed=self._compressed)
   File "/usr/share/rhn/common/rhnCache.py", line 71, in get
     return cache.get(name, modified)
   File "/usr/share/rhn/common/rhnCache.py", line 363, in get
     return self.cache.get(name, modified)
   File "/usr/share/rhn/common/rhnCache.py", line 334, in get
     pickled = self.cache.get(name, modified)
   File "/usr/share/rhn/common/rhnCache.py", line 232, in get
     fd.close()
   File "/usr/share/rhn/common/rhnCache.py", line 175, in close
     _unlock(self.fd.fileno())
   File "/usr/share/rhn/common/rhnCache.py", line 59, in _unlock
     fcntl.fcntl(fd, rhn_fcntl.F_SETLKW, UNLOCK)
IOError: [Errno 22] Invalid argument

If you want to know what box I ran this on just ping me (mmccune/mccun934)

Comment 1 Mike McCune 2009-01-14 19:09:25 UTC
Jesus indicates if you use a redhat Satellite Cert vs the one we ship with spacewalk the above error goes away.

Comment 2 Jesus M. Rodriguez 2009-01-15 20:15:08 UTC
This works fine. We've run it several times since then without error.


Note You need to log in before you can comment on or make changes to this bug.