Ich hatte mit dem Terraform-Beispiel aus der Doku einen Loadbalancer erstellt. Anschließend habe ich die VM vm-lb-da in der Web-UI gelöscht. Als ich danach tofu apply aufgerufen habe, kam folgender Fehler:
Code
OpenTofu will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
eoscloud_vm.da: Creating...
eoscloud_vm.da: Still creating... [10s elapsed]
eoscloud_vm.da: Creation complete after 16s [id=01a1b5e1-1497-7163-b44d-3fe0bc28b6cb]
eoscloud_vm_group.www: Modifying... [id=01a1b57e-b1ab-72fd-a231-8c768b0d648c]
eoscloud_vm_group.www: Still modifying... [id=01a1b57e-b1ab-72fd-a231-8c768b0d648c, 10s elapsed]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to eoscloud_vm_group.www, provider "provider[\"dl.eoscloud.io/eos/eoscloud\"]" produced an
│ unexpected new value: .vm_ids[0]: was cty.StringVal("01a1b5e1-1497-7163-b44d-3fe0bc28b6cb"), but now
│ cty.StringVal("01a1b57e-762d-741f-901f-043ca0767844").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to eoscloud_vm_group.www, provider "provider[\"dl.eoscloud.io/eos/eoscloud\"]" produced an
│ unexpected new value: .vm_ids[1]: was cty.StringVal("01a1b57e-762d-741f-901f-043ca0767844"), but now
│ cty.StringVal("01a1b5e1-1497-7163-b44d-3fe0bc28b6cb").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Alles anzeigen
Die VM wurde aber erfolgreich angelegt und der VM-Gruppe zugeordnet und der LB funktionierte wie erwartet.
Allerdings wurde die Gruppe nicht angezeigt (erst nachdem ich auf eine andere Seite gegangen bin und dann auf die VM-Seite zurückgewechselt bin).
vm-group-not-updated.png