Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionLukáš Hellebrandt
2014-08-11 11:11:44 UTC
Description of problem:
The spacewalk-utils package contains a spacewalk-export tool. Spacewalk-export tool uses the spacewalk-report tool contained in spacewalk-reports package. Spacewalk-utils package doesn't have dependency on spacewalk-reports and the spacewalk-export tool fails with traceback without spacewalk-report tool installed.
How reproducible:
Always
Steps to Reproduce:
1. Install the spacewalk-utils package
2. Make sure the spacewalk-reports package is not installed
3. Run spacewalk-export
Actual results:
Traceback
[root@hostname]# spacewalk-export
INFO: Processing users...
Traceback (most recent call last):
File "/usr/bin/spacewalk-export", line 302, in <module>
globals()[entity.lower().replace('-','') + 'Dump'](options)
File "/usr/bin/spacewalk-export", line 197, in usersDump
_issueReport(options, 'users')
File "/usr/bin/spacewalk-export", line 163, in _issueReport
stdout = open(report_file, 'w'))
File "/usr/lib64/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Expected results:
Spacewalk-export should create the export archive. It should either have spacewalk-report installed as a dependency or at least show some reasonable error message about missing spacewalk-reports package.
Description of problem: The spacewalk-utils package contains a spacewalk-export tool. Spacewalk-export tool uses the spacewalk-report tool contained in spacewalk-reports package. Spacewalk-utils package doesn't have dependency on spacewalk-reports and the spacewalk-export tool fails with traceback without spacewalk-report tool installed. How reproducible: Always Steps to Reproduce: 1. Install the spacewalk-utils package 2. Make sure the spacewalk-reports package is not installed 3. Run spacewalk-export Actual results: Traceback [root@hostname]# spacewalk-export INFO: Processing users... Traceback (most recent call last): File "/usr/bin/spacewalk-export", line 302, in <module> globals()[entity.lower().replace('-','') + 'Dump'](options) File "/usr/bin/spacewalk-export", line 197, in usersDump _issueReport(options, 'users') File "/usr/bin/spacewalk-export", line 163, in _issueReport stdout = open(report_file, 'w')) File "/usr/lib64/python2.7/subprocess.py", line 524, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Expected results: Spacewalk-export should create the export archive. It should either have spacewalk-report installed as a dependency or at least show some reasonable error message about missing spacewalk-reports package.