Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 838618

Summary: API call errata.listPackages only works for main organization
Product: [Community] Spacewalk Reporter: François BORIE <francois.borie>
Component: APIAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 16:19:57 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:
Bug Depends On:    
Bug Blocks: 871344    

Description François BORIE 2012-07-09 15:44:45 UTC
Description of problem:

The Spacewalk API call errata.listPackages or errata.getDetails only works with an account in the main organization. 
Using an account in another org, even if we have a system concerned by the specific errata we're looking for, it throws an error "The errata ... cannot be found"


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

How reproducible:
Always

Steps to Reproduce:
1. Create and share channels from main organization to other orgs, create and publish errata in those channels
2. Use the API call errata.listPackages or errata.getDetails from another org
  
Actual results:
The errata ****** cannot be found. (XMLRPC::FaultException)

Expected results:
Get details about the errata and packages which are concerned by this errata. 


Additional info:
Maybe linked to this problem : in the web UI, you see nothing if you click on "All errata" from a standard organization, whereas you can effectively see all errata when connected to main organization.

Comment 1 Tomáš Kašpárek 2012-07-31 14:03:51 UTC
fixed in spacewalk master 2588078268d806a98a6d3fe8d54e9e110efb3e3a

Comment 2 Jan Pazdziora (Red Hat) 2012-10-30 19:24:36 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 3 Jan Pazdziora (Red Hat) 2012-11-01 16:19:57 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18