Actions
Bug #13995
closedhammer sc-params --hostgroup option do not work with --hostgroup-id option. Error "missing param 'hostgroup_id' in parameters"
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1303653
Description of problem:
With hammer CLI trying to get sc-params details of hostgroup fails with error "missing param hostgroup_id' in parameters" when trying using options --hostgroup and --hostgroup-id.
Version-Release number of selected component (if applicable):
rubygem-hammer_cli-0.1.4.13-1.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Try to get sc-params of hostgroup using hammer CLI.
- hammer hostgroup sc-params --hostgroup <hostgroup-name> --hostgroup-id <hostgroup-id>
missing param 'hostgroup_id' in parameters
2. --hostgroup-id option do not work with --name too.
- hammer hostgroup sc-params --name <hostgroup-name> --hostgroup-id <hostgroup-id>
Error: 400 Bad Request
3. It do not work alone too as like --id option.
- hammer hostgroup sc-params --hostgroup-id <hostgroup-id>
missing param 'hostgroup_id' in parameters
Actual results:
missing param 'hostgroup_id' in parameters
Error: 400 Bad Request
Expected results:
It should work as like --id option.
Additional info:
Actions