Problem:
Using hammer to create host VM ignores defined hostgroup settings like --location
Expected outcome:
Create new host without explicitly declaring root password, location, operating system, etc…
Foreman and Proxy versions:
1.22.0-1
Foreman and Proxy plugin versions:
foreman-tasks - 0.15.7
foreman_chefs - 0.8.1
foreman_discoverys - 15.0.0
foreman_dockers - 5.0.0
foreman_remote_executions - 1.8.2
katellos - 3.12.1
Other relevant data:
hammer host create --name hostname --hostgroup-id 61 --owner-type Usergroup --owner-id 1 --medium-id 10 --organization orgname
Could not create the host:
Error: Could not find location, please set one of options --location, --location-title, --location-id.
When I add a location (even though it is already defined by the hostgroup. I get:
Could not create the host:
Operatingsystem can’t be blank
Architecture can’t be blank
Root password should be 8 characters or more
Root password should not be blank - consider setting a global or host group default
Ptable can’t be blank unless a custom partition has been defined
logs