You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have an existing, running server & want to add a new Rocket Storage (storage_variant = "local"), we have to turn the server off manually before the changes can be applied. If the server is still running, a 409 error is returned by the API ('Hot-Plug of local storages is not supported.').
The server should be turned off, the storage should be added & the server should be turned on again, as is done for other similar types of changes.
Actual Behavior
The API returns the following error & the changes aren't applied:
gridscale_server.test_mein_dc-primary: Modifying... [id=d98293fe-583e-4c82-9061-b140cfac7cbb]
╷
│ Error: update server (d98293fe-583e-4c82-9061-b140cfac7cbb) resource - error: Error waiting for storage (a5c5c81f-e5c7-411a-a708-4d98905670a4) to be attached to server (d98293fe-583e-4c82-9061-b140cfac7cbb): Status code: 409. Error: {'type': 'HTTPError', 'status_code': 409, 'message': "(409, 'Hot-Plug of local storages is not supported.')"}. Request UUID: 1e035db3-f76c-42b7-9ed1-430ce9de0469.
│
│ with gridscale_server.test_mein_dc-primary,
│ on 33_env_test_mein.tf line 74, in resource "gridscale_server" "test_mein_dc-primary":
│ 74: resource "gridscale_server" "test_mein_dc-primary" {
Steps to Reproduce
terraform apply the config above first with the commented-out sections as they are to create a running server
Comment-in the two storage sections & try terraform apply again. You'll run into the error now.
The text was updated successfully, but these errors were encountered:
Summary
If we have an existing, running server & want to add a new Rocket Storage (
storage_variant = "local"
), we have to turn the server off manually before the changes can be applied. If the server is still running, a 409 error is returned by the API ('Hot-Plug of local storages is not supported.').Terraform Version
Affected Resource(s)
gridscale_server
&gridscale_storage
Terraform Configuration Files
Debug Output
Debug output
Expected Behavior
The server should be turned off, the storage should be added & the server should be turned on again, as is done for other similar types of changes.
Actual Behavior
The API returns the following error & the changes aren't applied:
Steps to Reproduce
terraform apply
the config above first with the commented-out sections as they are to create a running serverterraform apply
again. You'll run into the error now.The text was updated successfully, but these errors were encountered: