Bug #6335

Host create requires environment-id etc options when --hostgroup is used

Added by Dominic Cleal about 4 years ago. Updated 5 days ago.

Status:Closed
Priority:Normal
Assignee:Dominic Cleal
Category:Foreman commands (obsolete)
Target version:1.8.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Description

When using --hostgroup as opposed to --hostgroup-id, the host create validation says that certain additional arguments are required:

$ hammer host create --hostgroup libvirt --name hammer1
Could not create the host:
  Error: Options --environment-id, --architecture-id, --domain-id, --puppet-proxy-id, --operatingsystem-id, --partition-table-id are required

  See: 'hammer host create --help'

Associated revisions

Revision 0db1f893
Added by Dominic Cleal about 4 years ago

fixes #6335 - permit only --hostgroup when creating host

History

#1 Updated by Dominic Cleal about 4 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dmitri Dolguikh about 4 years ago

  • Target version changed from 1.8.1 to 1.8.0

#3 Updated by Dominic Cleal about 4 years ago

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

Also available in: Atom PDF