Bug #14203
closedhammer host-collection create fails with undefined local variable or method `option_host_ids'
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1317674
Description of problem:
The command hammer host-collection create is completely broken in latest 6.2.0 build:
hammer> host-collection create -h
Usage:
host-collection create [OPTIONS]
Options:
--description DESCRIPTION
--host-collection-ids HOST_COLLECTION_IDS Array of host ids to replace the hosts in host collection
Comma separated list of values.
--hosts HOST_NAMES Comma separated list of values.
--max-hosts MAX_HOSTS Maximum number of hosts in the host collection
--name NAME Host Collection name
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--unlimited-hosts UNLIMITED_HOSTS Whether or not the host collection may have unlimited hosts
One of true/false, yes/no, 1/0.
-h, --help print help
hammer> host-collection create --organization-id="1058" --name="dFJsRjkakviNeAv"
Could not create the host collection:
Error: undefined local variable or method `option_host_ids' for #<HammerCLIKatello::HostCollection::CreateCommand:0x00000002f10700>
Version-Release number of selected component (if applicable):
- Satellite 6.2.0 SNAP 3.1
How reproducible:
Steps to Reproduce:
1. Try to create a new host-collection via hammer
2.
3.
Actual results:
Expected results:
Additional info:
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Brad Buckingham
- Pull request https://github.com/Katello/hammer-cli-katello/pull/365 added
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|37d23f69ca236e10b3cf17cb6c10a17bf0d74e5d.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86