Bug 576340

Summary: API method "channel.create" does not allow gpg information to be specified
Product: Red Hat Satellite 5 Reporter: Vinny Valdez <vvaldez>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry, dyordano, jhutar, psklenar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:58:21 UTC Type: ---
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: 608754    

Description Vinny Valdez 2010-03-23 20:59:53 UTC
Description of problem:
The API documentation for "channel.create" does not list fields for specifying gpg information.  However, this can be doing through the UI.

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

How reproducible:
Always
  
Actual results:
In order to assign a gpg_url, gpg_id, or gpg_fingerprint through the API, one must create a temporary channel first, then use "channel.clone" to specify gpg information, then "channel.delete" can be used to delete the temporary channel.

Expected results:
The "channel.create" method should accept gpg information

Comment 1 Tomas Lestach 2010-03-24 10:34:02 UTC
These changes were already made in upstream according to the BZ#562463. However back port to Sat531 isn't trivial because of too many dependencies to new Spacewalk code.
Suggesting for Sat540.

Comment 2 Petr Sklenar 2010-10-06 15:27:49 UTC
its there and functional,
I was able to create channel with gpg information via xmlrpc
--
Verified with Satellite-5.4.0-RHEL5-re20101001.1

Comment 4 Petr Sklenar 2010-10-06 15:37:03 UTC
test procedure with Satellite-5.4.0-RHEL5-re20101001.1 :
1. create channel using xmlrpc
2. check it on webUI if channel is created with right gpg info 
3. api help contains calls about gpg

Comment 6 Clifford Perry 2010-10-28 14:53:27 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford