Project

General

Profile

Bug #14343

When using image-based provisioning via hammer, the subnet is not inherited from the hostgroup

Added by Dominic Cleal over 2 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Copy of #13984 for inclusion in 1.10.3.


1. configure image-based provisioning with dhcp integration
2. try co provision a host via hammer

bundle exec bin/hammer host create --hostgroup=base --compute-resource=libvirt --name test-9 --compute-attributes="start=1" --provision-method image

3. An error is produced:

Could not create the host:
  Ip can't be blank

Expected behaviour: the subnet from the hostgroup is used by default

Workaround: specify the subnet explicitly


Related issues

Copied from Foreman - Bug #13984: When using image-based provisioning via hammer, the subnet is not inherited from the hostgroupClosed2016-03-01

Associated revisions

Revision 2620a2c1 (diff)
Added by Ivan Necas about 2 years ago

Fixes #14343 - inherit subnet from hostgroup even for image-based provisioning

(cherry picked from commit 17f4ee612bf1308cb51d4644bdd76ba7dc73eea7)

History

#1 Updated by Dominic Cleal over 2 years ago

  • Copied from Bug #13984: When using image-based provisioning via hammer, the subnet is not inherited from the hostgroup added

#2 Updated by Dominic Cleal over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal

#3 Updated by Dominic Cleal over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 145 to 152

Also available in: Atom PDF