Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/kvm: Use ARP for retrieving interface ip addresses
On platforms where dhcp lease status is not updated immediately after domain creation it fails to list ip addresses until next refresh happens resulting in the following error: 8<----------8<----------8<----------8<----------8<----------8<---------- Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ... Failed to start kvm2 VM. Running "minikube delete" may fix it: creating host: create: Error creating machine: Error in driver during machine creation: IP not available after waiting: machine minikube didn't return IP after 1 minute Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: Error creating machine: Error in driver during machine creation: IP not available after waiting: machine minikube didn't return IP after 1 minute 8<----------8<----------8<----------8<----------8<----------8<---------- Using ARP instead of LEASE for ip address query is justifiable as listing is done following the domain creation. Fixes: #11459 Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
- Loading branch information