Closed DeBuXer closed 1 year ago
Doesn't seems to be a provider error, it's a network error: GOCA client error [REQUEST_HTTP]: http make request: Post "https://api.example.tld/RPC2": EOF
This error come from the goca HTTP client: https://github.com/OpenNebula/one/blob/master/src/oca/go/src/goca/client.go#L145
Require more investigations: may be due to your ONE setup, or goca code... If you have additional relevant informations feel free to drop a comment, else I may close this issue in the next days
@treywelsh , this issue can be closed. It is something in our environment or maybe there is some delay when running Opennebula in a HA setup. Not sure yet.. but today I tried the same scripts in a envoirment created with "minione" and this is working fine. So it has nothing to do with the Opennebula Terraform provider :)
Sorry for wasting your time!
Not a problem, thanks for your feedback
Description
When I change the context part of an existing instance, the message "Failed to wait virtual machine to be in RUNNING state" almost always appears.
However, the context is changed in Opennebula and the state of the instance is also short "HOTPLUG". And it will always changes back to "RUNNING" within a few seconds.
Terraform and Provider version
Terraform v1.5.2 on linux_amd64
Affected resources and data sources
opennebula_virtual_machine
Terraform configuration
Expected behavior
Terraform waits until the state is "RUNNING" again and exits successfully.
Actual behavior
Steps to Reproduce
Create a new instance with the configuration above. Then remove the "SSH_PUBLIC_KEY" part from the context and apply the configuration. I got the same behavior when I remove the "SET_HOSTNAME". It does not matter whether you make 1 change to the context or several at the same time.
Debug output
No response
Panic output
No response
Important factoids
No response
References
No response