-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opennebula_virtual_machine_group fails to store state after creation #497
Comments
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
frousselet
added
status: needs investigation
and removed
status: stale
status: triage
labels
Dec 20, 2023
treywelsh
added a commit
that referenced
this issue
Jul 1, 2024
7 tasks
Sorry for the late reply, it seems it was a small error in the code, feel free to test the fix in the PR I just created |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Creation of a VM group is successful, subsequent runs do not try to modify the resource.
In practice, Terraform tries to update VM group with all but the first host in the
host_anti_affined
attribute.Terraform and Provider version
Terraform: 1.3.9, 1.4.6, 1.5.7
Provider: 1.2.2, 1.3.1
Affected resources and data sources
opennebula_virtual_machine_group
Terraform configuration
Expected behavior
The VM group gets created with a role called
random
which lists the 11 hosts in the anti_affined list.Actual behavior
The VM Group gets created with a role called
random
which lists the 11 hosts in the anti_affined list, however, on subsequent runs, Terraform tries to add all but the last host to the anti_affined list.Steps to Reproduce
Create a VM group:
Run the plan again; Terraform wants to add all but the first host in the list:
Trying to apply the change fails (but that's on Nebula's API side), stating the group has some VMs attached:
We can see Nebula itself already has the hosts in the VM group:
Debug output
No response
Panic output
No response
Important factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: