Description of problem: Creating channel with GPG key specified fails with "Invalid GPG Url". Version-Release number of selected component (if applicable): Satellite-5.7.0-RHEL6-re20141024.0 spacewalk-java-2.3.8-50.el6sat.noarch How reproducible: always Steps to Reproduce: 1. Via API: mystruct = { "url" : 'file:///etc/pki/rpm-gpg/SOMEKEY', "id" : '2CF02A42', "fingerprint" : 'A73B 0A91 6F6C 660C D371 881A F2BC 50DC 2CF0 2A42' } ret = client.channel.software.create(key, CHANNEL, \ 'Name %s' % CHANNEL, \ 'Summary %s' % CHANNEL, \ ARCH, PARENT_CHANNEL, CHECKSUM, \ mystruct) 2. Also reproducible via API with same values Actual results: xmlrpclib.Fault: <Fault 1207: 'redstone.xmlrpc.XmlRpcFault: Invalid GPG Url'> Expected results: Should work. Additional info: Maybe this is caused by spacewalk.git commit 52823167b0b7b0c9377b0b316c60c2fc1db22c59 because is makes the URL uppercase and then tries to match GPG_URL_REGEX on it which have lowercase letters in it (just guessing): protected static final String GPG_URL_REGEX = "^(https?|file)://.*?$";
SW commit 0ac1bf696b34bc65a4b6069d8d16dc61609adea8 spacewalk-java-2.3.71-1
Re-verified on Satellite-5.7.0-RHEL6-re20150105.1 (spacewalk-java-2.3.8-96.el6sat). Using steps described in comment 5.
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff