-
Notifications
You must be signed in to change notification settings - Fork 26
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
Modifying disks of an existing instance has no effect #140
Comments
@athak Could you provide a sample terraform configuration file that can be used to recreate, and the list of terraform commands you perform? |
Hi @renier. Here is a sample config:
Instance creation
And
The instance is created correctly with 2 volumes:
Adding a diskChanged
The state is modified since running a new plan yields:
But the instance's disks remain the same:
Removing disksChanged
The state is again modified since running a new plan yields the same:
The instance's disks remain still the same:
|
We have also experienced this issue when modifying disk size on existing instance (e.g. increasing from 10G=>20G).
but API upon curl call on
and actual disk was never changed although terraform thinks it was. |
When an instance is created with multiple disks, the operation completes successfully and all requested volumes are present without issues.
When adding or removing disks to an existing instance, the operation appears to complete successfully but returns too quickly and nothing happens. The instance's disks remain the same but the state is updated.
In order to maintain consistency, we modify the instance in terraform and then add or remove the corresponding volumes from the panel which is very cumbersome and error prone, especially for removing a volume which implies first detaching it from the instance and then cancelling the volume itself.
Thanks,
Atha
The text was updated successfully, but these errors were encountered: