-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Azure : cannot delete Azure Postgres server #30459
Comments
Hi @fdonnet, 2.66.0 is not the latest Azure CLI(2.67.0). If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli. |
Thank you for opening this issue, we will look into it. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @gbowerman, @jasomaning, @nachoalonsoportillo. |
same error with AZ-cli updated. Cannot delete the rg too. |
Do you need my RG and my postgres server name ? |
In fact, this issue is not related Azure CLI module for Postgres at all. You're not able to delete the server using the CLI module, neither though the portal or using the Server - Delete REST API, are you? Do you see the Flexible Server resource that you're trying to delete in the portal? What's the output returned by |
I can stop it, or start it via cli or via the portal. But cannot kill it. That's very strange. |
Please, create a support ticket from the Azure portal for our support staff to look into that particular server. |
@fdonnet I'll be closing this issue as this is not specific to CLI. |
Describe the bug
az postgres flexible-server delete --my-rg --name mypostgresserver --yes
Server 'mypostgresserver ' is busy with another operation. Please try again later.
Can start and stop the server.
Cannot see any databases in it.
Cannot delete the server....
Trying everthing.
Can someone help me ?
Not pending activity. Maybe a used a name for the server I used before for an already deleted resource. It's the only thing I can see.
Related command
az postgres flexible-server delete --my-rg --name mypostgresserver --yes
Errors
Server 'mypostgresserver ' is busy with another operation. Please try again later.
Issue script & Debug output
Server 'mypostgresserver ' is busy with another operation. Please try again later.
Expected behavior
Delete the postgres server.
Environment Summary
"azure-cli": "2.66.0",
"azure-cli-core": "2.66.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
Additional context
No response
The text was updated successfully, but these errors were encountered: