Foreman in some cases waiting (forever) for host to come online after using image based provisioning.
Succesfull connection to new machine.
Foreman and Proxy versions: 1.17
Foreman and Proxy plugin versions:
Other relevant data:
So im using Image Based Provisioning (kvm, libvirt, basic ubuntu server image) to create new machines. I have installed foreman-dhcp and foreman-dns. I’ve configured subnet with Static boot mode and and IPAM set to randomDB (tried DHCP aswell) which i assign to new host. After i assign that subnet foreman picks some IP, however when it creates new machine that IP SOMETIMES differs and it seems foreman then cant connect back (and sometimes its the same and then machine is provisied correctly). Any ideas why does it happen and what can i do to fix it?
Thanks for the help. I think i figured it out… I forgot that kvm libvirt uses its own DHCP server so basically i had two DHCP services in the same network, which doesnt do anything good : P So i turned off that dhcp from hypervisor and it’s all good so far.