Project

General

Profile

Actions

Bug #21189

open

hammer host create inconsistencies: --hostgroup-id vs --hostgroup-title

Added by Stephan Schultchen over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

our hostgroups have compute profiles, subnets & operating system details configured.

so basically all needed to create a host via command line is this:

hammer host create --hostgroup-id ${GROUP} --build true --name ${HOST} --compute-resource-id 1

when trying to switch to hostgroup-title like this:

hammer host create --hostgroup-title ${GROUP} --build true --name ${HOST} --compute-resource-id 1

hammer now complains with this:

Could not create the host:
Error: At least one of options --architecture, --architecture-id is required

See: 'hammer host create --help'

it seems like when switch to houstgroup-title, hammer or foreman is not able to figure out the OS details configured with the hostgroup

No data to display

Actions

Also available in: Atom PDF