Bug 951207 - spacecmd activationkey_addgroups does not recognize groups
Summary: spacecmd activationkey_addgroups does not recognize groups
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
: 951206 (view as bug list)
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-04-11 16:26 UTC by charles.v.carlson
Modified: 2017-09-28 18:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-28 14:26:57 UTC
Embargoed:


Attachments (Terms of Use)

Description charles.v.carlson 2013-04-11 16:26:13 UTC
Description of problem:

spacecmd activationkey_addgroups does not appear to recognize any groups.

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

spacecmd-1.10.1-1.el6.noarch

How reproducible:

use spacecmd activationkey_addgroups to add an existing group to an existing activation key


Steps to Reproduce:
1. spacecmd activationkey_addgroups mykey mygroup
2.
3.
  
Actual results:
ERROR: redstone.xmlrpc.XmlRpcFault: Unable to locate or access server group: "mygroup"

Expected results:

Group should be added to activation key.


Additional info:

Comment 1 Miroslav Suchý 2013-04-12 07:14:24 UTC
Forwarded to upstream.

Comment 2 Miroslav Suchý 2013-04-12 07:16:06 UTC
*** Bug 951206 has been marked as a duplicate of this bug. ***

Comment 3 Milan Zázrivec 2014-02-28 14:26:57 UTC
# rpm -q spacecmd
spacecmd-2.1.25-1.el6.noarch
# spacecmd --debug -- activationkey_addgroups 1-key01 group01
DEBUG: : False
DEBUG: Read configuration from /root/.spacecmd/config
DEBUG: Loading configuration section [spacecmd]
DEBUG: Current Configuration: {'server': 'localhost'}
DEBUG: Configuration section [localhost] does not exist
DEBUG: Connecting to https://localhost/rpc/api
DEBUG: Server API Version = 14
DEBUG: Using cached credentials from /root/.spacecmd/localhost/session
DEBUG: Loading cache from /root/.spacecmd/localhost/ssm
DEBUG: /root/.spacecmd/localhost/ssm does not exist
DEBUG: : False
DEBUG: Loading cache from /root/.spacecmd/localhost/systems
DEBUG: /root/.spacecmd/localhost/systems does not exist
DEBUG: Loading cache from /root/.spacecmd/localhost/errata
DEBUG: /root/.spacecmd/localhost/errata does not exist
DEBUG: Loading cache from /root/.spacecmd/localhost/packages_short
DEBUG: Loading cache from /root/.spacecmd/localhost/packages_long
DEBUG: Loading cache from /root/.spacecmd/localhost/packages_by_id
INFO: Connected to https://localhost/rpc/api as admin
DEBUG: activationkey_addgroups '1-key01' 'group01': None

Comment 4 Eric Herget 2017-09-28 18:09:43 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


Note You need to log in before you can comment on or make changes to this bug.