Project

General

Custom queries

Profile

Actions

Bug #13984

closed

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

Added by Ivan Necas over 9 years ago. Updated almost 7 years ago.

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

Description

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 2 (0 open2 closed)

Related to Foreman - Bug #13507: Creating VMs with hammer requires too many parametersResolved02/01/2016Actions
Copied to Foreman - Bug #14343: When using image-based provisioning via hammer, the subnet is not inherited from the hostgroupClosedDominic Cleal03/01/2016Actions
#1

Updated by Ivan Necas over 9 years ago

  • Related to Bug #13507: Creating VMs with hammer requires too many parameters added
#2

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3262 added
#3

Updated by Dominic Cleal over 9 years ago

  • Category set to Host creation
#4

Updated by Ivan Necas over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 141
#8

Updated by Dominic Cleal about 9 years ago

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

Also available in: Atom PDF