Skip ipv6 and ipv4 if os-type="cloud-init" and no IP configured. - #1415
Skip ipv6 and ipv4 if os-type="cloud-init" and no IP configured.#1415TobiPeterG wants to merge 1 commit into
Conversation
|
Tested it, this seems to fix the issue. Now the provider won't wait for the VM to come up with cloud-init. However, I noticed that a destroy action might not work and also cause a 500 error when the guest agent is not running in the VM yet. Maybe the error message during creation or destruction with agent = 1 should be extended to not only show the 500 error, but also show that the guest agent is enabled but might not be running yet on the VM. |
|
Hmm I installed the guest agent on the VM and tried to delete it but I got a 500 error and the VM is not destroyed. Will investigate |
|
Curious, on the server itself I don't see a 500 error. |
|
The 500 error also occurs with your current master version, so I don't think I caused it. Can this be confirmed? My main.tf that I used for my provider version and your master version: With this setup I also confirmed that VM creation works without problems with my provider and fails with yours. |
This fixes #1413
I will test the changes now and see if it works as expected.