Project

General

Profile

Actions

Bug #14203

closed

hammer host-collection create fails with undefined local variable or method `option_host_ids'

Added by Brad Buckingham about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by The Foreman Bot about 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
Actions #2

Updated by Brad Buckingham about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF