dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

Qemu Agent Enhancement #1053

Open tiaden opened 6 months ago

tiaden commented 6 months ago

The idea of this PR is to make sure that the guest qemu agent is running by explicitly query it. This will make ip retrieval for example more reliable. let me know what you think

Please make sure you read the contributor documentation before opening a Pull Request.

mleone87 commented 4 months ago

Checked this PR locally and it works! Upstream code with bridged network and qemu_agent = truedoes not work since it fails at t=0 without retries. You have to run terraform refresh some time to make it discover the IP ad have a corret tfstate

@dmacvicar this should be merged I guess

tiaden commented 2 months ago

@dmacvicar, any chance of getting this merged ?