Bug 1185837

Summary: Spacewalk-{export,report} fails when org_id specified
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 13:06:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukáš Hellebrandt 2015-01-26 11:55:55 UTC
Description of problem:
spacewalk-export --org 1
Fails in system-profiles part. Nothing from this part is exported and warning "Unknown column [org_id] in report [system-profiles]." is shown.
spacewalk-report system-profiles --where-org_id=1
Fails with the same warning.

Version-Release number of selected component (if applicable):
spacewalk-reports-2.0.1-14
spacewalk-utils-2.0.2-20

How reproducible:
Always on current sat560

Steps to Reproduce:
1. spacewalk-export --org 1 (notice the warning printed and the empty export file /root/spacewalk-export-dir/exports/system-profiles.csv )
2. spacewalk-report system-profiles --where-org_id=1 (notice the warning)

Actual results:
Export fails and a warning is shown

Expected results:
Properly exported system profiles without warning

Comment 1 Lukáš Hellebrandt 2015-01-26 13:06:25 UTC
Duplicate of bug 1151121 which is fixed in sat570

*** This bug has been marked as a duplicate of bug 1151121 ***