Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 732012 - rhn-satellite-exporter fails after satellite-sync with parameter --no-rpms
Summary: rhn-satellite-exporter fails after satellite-sync with parameter --no-rpms
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 541
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
Reported: 2011-08-19 13:00 UTC by Pavel Studeník
Modified: 2015-05-29 20:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-05-29 20:12:19 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Pavel Studeník 2011-08-19 13:00:42 UTC
Description of problem:
rhn-satellite-exporter always fails when satellite-sync using parameter --no-rpms and rhn-satellite-exporter using without --no-rpms.

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

How reproducible: Always

Steps to Reproduce:
1. satellite-sync --channel <CHANNEL> --no-errata --no-kickstarts --no-rpms
2. rhn-satellite-exporter --channel <CHANNEL> --dir <DIR>
Actual results --LOG--:
02:56:19 Exporting short packages...
Exporting: #################### - Done!

02:56:46 Exporting binary RPMs...
Exporting: 02:56:46 
AttributeError caught in dump_rpms.

exit code is 255 

Expected results:

Additional info:
I debug this traceback (/usr/share/rhn/satellite_tools/disk_dumper/iss.py - I just edit ):

Debug: print rpm >> [{'path': None, 'id': 1507}] 

Traceback (most recent call last): 
  File "/usr/share/rhn/satellite_tools/disk_dumper/iss.py", line 848, in dump_rpms 
    satellite_path = os.path.join(CFG.MOUNT_POINT, rpm['path']) 
  File "/usr/lib64/python2.4/posixpath.py", line 60, in join 
    if b.startswith('/'): 
AttributeError: 'NoneType' object has no attribute 'startswith'

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