Bug 1021552

Summary: Support for Debian Based systems in API
Product: [Community] Spacewalk Reporter: Martin Juhl <m>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 1069560    

Description Martin Juhl 2013-10-21 13:47:24 UTC
Description of problem:
In Spacewalk 2.0 support for Debian-based systems are missing in the API in regards to software-channels management..

I'm trying to create a channel for Ubuntu through the API, but get an "Invalid architecture label".. 


How reproducible:
Every time

Steps to Reproduce:
1. Try to create a debian architecture based channel through the API.. I use spacecmd in my case..
2. softwarechannel_create -n "Ubuntu Raring 13.04" -l ubuntu-13.04-raring -a "AMD64 Debian"

I have also tried with other variations, such as: amd64-debian, amd64, ia32 debian...


Actual results:
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Invalid architecture label


Expected results:
Channel should be created..

Additional info:

Comment 1 Martin Juhl 2013-10-21 14:07:18 UTC
Just figured out that the channel architectures are called: ia32-deb and amd64-deb...

So this bug can be closed

Maybe this should be added to the API documentation????

Comment 2 Tomas Lestach 2013-11-08 13:30:46 UTC
Instead of having incomplete channel architecture list within the channel.software.create APIs documentation, I added a note to check channel.software.listArches API for complete listing

spacewalk.git: e5c58e1ab97c5c3f67fb9b30984872b897e9220a

Comment 3 Matej Kollar 2014-01-17 12:16:27 UTC
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.

Comment 4 Matej Kollar 2014-03-04 13:08:37 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21

Comment 5 Matej Kollar 2014-03-04 13:09:10 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21