Skip to content
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

Closed
fdonnet opened this issue Dec 3, 2024 · 9 comments
Closed

Azure : cannot delete Azure Postgres server #30459

fdonnet opened this issue Dec 3, 2024 · 9 comments
Assignees
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. PostgreSQL Service Attention This issue is responsible by Azure service team.

Comments

@fdonnet
Copy link

fdonnet commented Dec 3, 2024

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

@fdonnet fdonnet added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 3, 2024
Copy link

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.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Dec 3, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. PostgreSQL labels Dec 3, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 3, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @gbowerman, @jasomaning, @nachoalonsoportillo.

@nachoalonsoportillo nachoalonsoportillo self-assigned this Dec 3, 2024
@fdonnet
Copy link
Author

fdonnet commented Dec 3, 2024

same error with AZ-cli updated. Cannot delete the rg too.

@fdonnet
Copy link
Author

fdonnet commented Dec 3, 2024

Do you need my RG and my postgres server name ?

@nachoalonsoportillo
Copy link
Contributor

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 az postgres flexible-server show command on that server?

@fdonnet
Copy link
Author

fdonnet commented Dec 3, 2024

I can stop it, or start it via cli or via the portal. But cannot kill it. That's very strange.

@nachoalonsoportillo
Copy link
Contributor

nachoalonsoportillo commented Dec 3, 2024

Please, create a support ticket from the Azure portal for our support staff to look into that particular server.

@nachoalonsoportillo
Copy link
Contributor

@fdonnet I'll be closing this issue as this is not specific to CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. PostgreSQL Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants