hpc / hpc-collab

This project provides provisioned HPC cluster models using underlying virtualization mechanisms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libvirt provisioning provider is prone to indefinite hang ("Waiting for domain IP address"); replace with fully static IP addr assignment on all interfaces

ssenator opened this issue · comments

an example claimed to address this: https://gist.github.com/skamithi/a06f58abb07e7b8e15bb
libvirt parameters: https://github.com/vagrant-libvirt/vagrant-libvirt
note that simply setting :libvirt__dhcp_enabled => false fails with underlying provisioning errors re- network creation
another possibly working example: https://app.vagrantup.com/deargle/boxes/security-onion
use-case/example: https://codingpackets.com/blog/using-the-libvirt-provider-with-vagrant/

This is partially addressed by implementing timeout wrappers within the Makefile, addressing the 'infinite hang' portion of the symptom. The infinite has been reduced to the TIMEOUT value specifiable in a configuration flag or the cluster/common/Makefile.