Project

General

Profile

Bug #6335

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

Added by Dominic Cleal over 4 years ago. Updated 6 months ago.

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

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 (diff)
Added by Dominic Cleal over 4 years ago

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

History

#1 Updated by Dominic Cleal over 4 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dmitri Dolguikh over 4 years ago

  • Target version changed from 1.8.1 to 1.8.0

#3 Updated by Dominic Cleal over 4 years ago

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

Also available in: Atom PDF