Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The "global_parameter set" command fails.
Version-Release number of selected component (if applicable):
# rpm -qa | grep foreman
katello-configure-foreman-1.4.7-5.el6sat.noarch
foreman-1.3.0-18.el6sat.noarch
foreman-proxy-1.3.0-3.el6sat.noarch
ruby193-rubygem-foreman-katello-engine-0.0.17-6.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.11-3.el6sat.noarch
katello-foreman-all-1.4.6-39.el6sat.noarch
ruby193-rubygem-foreman_api-0.1.6-1.el6sat.noarch
rubygem-foreman_api-0.1.6-1.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.7-2.el6sat.noarch
foreman-postgresql-1.3.0-18.el6sat.noarch
katello-configure-foreman-proxy-1.4.7-5.el6sat.noarch
How reproducible:
always
Steps to Reproduce:
1. global_parameter set --name $name --value $value
Actual results:
Error: undefined method `index' for #<HammerCLI::Apipie::ResourceInstance:0x7f5e40700df0>
Expected results:
parameter should be set successfully
Verified with Satellite-6.0.3-RHEL-6-20140430.4
[root@qetello02 yum.repos.d]# hammer global-parameter set --name='testparam' --value='testvalue'
Created parameter [testparam] with value [testvalue].
[root@qetello02 yum.repos.d]# hammer global-parameter list
---------------|--------------------------
NAME | VALUE
---------------|--------------------------
opt-ASJyPuHadi | val-rAQEyCLjbI GNnDkJtFun
opt-lcudsGTyuD | val-edJgeRQBEW YlYJmBvFjz
testparam | testvalue
---------------|--------------------------
[root@qetello02 yum.repos.d]#