Closed nikohaap closed 4 years ago
Hey, Can this somehow be related on the Upcloud API response. Since sometimes the control panel (web ui) shows that those instances would be in the maintenance state but refreshing the page shows that those are up and running. The use case is same kind of with the Terraform apply. At first apply run the Terraform gave me that error but with the second round it was successfull.
Can you describe the steps for reproducing this error? You have a running server that you try to destroy and it returns "The operation is not allowed while the server x is in state 'maintenance'. (SERVER_STATE_ILLE GAL)" ?
It seems that the problem here was that the server in question was in a state where it could not be deleted. E.g. Maintenance, Syncing or other. Unfortunately since the steps to reproduce this error have not been described I do not know for sure. Latest version of the provider will wait for storages and servers until their states are in a mode that can be deleted.
Will wait a while, if we get more information about this.
Will now close this issue, since I can't reproduce with the latest version nor new information hasn't come to light.
The operation is not allowed while the server 00ee80de-d95d-4ed5-89e7-875d7a317c7d is in state 'maintenance'. (SERVER_STATE_ILLEGAL) The server was already up and running but it gave me that error. It occurs every now and than.
I tried to ran the plan again and it was a successfully
I just changed the count from 1 to 0