Open stacab opened 3 years ago
Actually there is already an pull request #873 that solves this issue a bit more smoothly than directly using qemu agent commands.
I am unable to use newer versions (> 0.6.3) of this provider until this is resolved so this issue affects my environment.
Hi @mmolnar I've seen that PR and I think it might solve the issue.
Unfortunately the PR is stale as requested changes were not provided. I will see if I can fix it myself.
I think this is already implemented - I'm using it daily
Can you provide more details @scabala, then I can close this one?
The issue was about getting IP address from domain when network is using DHCP. I have been using such setup with dynamic address retrieved by Terraform when using QEMU agent for quite some time and it works - each time I get proper IP address. So I think this can be closed.
/kind enhancement
Hi, currently, this provider does not support querying network data via qemu-agent. It is explicitly stated here. Underlying library, go-libvirt should support it via this command. It is necessary feature in case of IP address assigned via DHCP server.
I am willing to work on this if there's interest to merge it upstream.