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
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Pradeep Kilambi
QA Contact: Red Hat Satellite QA List
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:
Last Closed: 2009-01-15 20:15:08 UTC

Attachments (Terms of Use)

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

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

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/", line 206, in main
     ret = method()
   File "/usr/share/rhn/satellite_tools/", line 293, in 
     return self.syncer.processShortPackages()
   File "/usr/share/rhn/satellite_tools/", line 825, in 
   File "/usr/share/rhn/satellite_tools/", line 861, in 
     package = package_collection.get_package(pid, p_timestamp)
   File "/usr/share/rhn/satellite_tools/", line 245, in 
     return self._cache.cache_get(package_id, timestamp=timestamp)
   File "/usr/share/rhn/satellite_tools/", line 41, in cache_get
   File "/usr/share/rhn/common/", line 71, in get
     return cache.get(name, modified)
   File "/usr/share/rhn/common/", line 363, in get
     return self.cache.get(name, modified)
   File "/usr/share/rhn/common/", line 334, in get
     pickled = self.cache.get(name, modified)
   File "/usr/share/rhn/common/", line 232, in get
   File "/usr/share/rhn/common/", line 175, in close
   File "/usr/share/rhn/common/", 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.