azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Azure Dabatase for MySQL Flexible Server keeps busy (status "Starting") and does not accept any az-cli command

Open glauber-md opened this issue 5 years ago • 5 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az mysql flexible-server start

Errors:

AzureResponseError: Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Stopped server through Portal
  • Started server also through Portal
  • (server kept "Starting" for hours)
  • Tried to stop, start, restart using az-cli: az mysql flexible-server start --name {} --resource-group {}

Expected Behavior

Stop, start or restart the server was expected.

Environment Summary

Linux-4.15.0-1102-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.16.0

Extensions:
ai-examples 0.2.5

Additional Context

Additional error message when trying to stop the instance:

az mysql flexible-server stop --name {} --resource-group {}
Command group 'mysql flexible-server' is in preview. It may be changed/removed in a future release.
Deployment failed. Correlation ID: 470cb646-1ceb-4129-a044-20ca3375ddb2. Operation Stop failed, because server {} is busy with other operations.

glauber-md avatar Dec 15 '20 03:12 glauber-md

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ambhatna, @savjani.

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az mysql flexible-server start

Errors:

AzureResponseError: Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Stopped server through Portal
  • Started server also through Portal
  • (server kept "Starting" for hours)
  • Tried to stop, start, restart using az-cli: az mysql flexible-server start --name {} --resource-group {}

Expected Behavior

Stop, start or restart the server was expected.

Environment Summary

Linux-4.15.0-1102-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.16.0

Extensions:
ai-examples 0.2.5

Additional Context

Additional error message when trying to stop the instance:

az mysql flexible-server stop --name {} --resource-group {}
Command group 'mysql flexible-server' is in preview. It may be changed/removed in a future release.
Deployment failed. Correlation ID: 470cb646-1ceb-4129-a044-20ca3375ddb2. Operation Stop failed, because server {} is busy with other operations.
Author: glauber-md
Assignees: -
Labels:

MySQL, Service Attention

Milestone: -

ghost avatar Dec 15 '20 03:12 ghost

mysql

yonzhan avatar Dec 15 '20 03:12 yonzhan

We just hit the same issue for one of our production workloads. Tried to restart a MySQL flexible server and it is stuck in restarting. We can't even access the backups to be able to spin up a new one. Does anyone know of a way to access the latest backup? This does not look like it should be prevented when the server is down.

brunobertechini avatar Mar 07 '22 01:03 brunobertechini

I still have this problem till today (11/7/2023). Is this issue identified by MSFT team?

chou2008 avatar Nov 08 '23 04:11 chou2008

I cannot reproduce this issue. Please upgrade your CLI version to latest and retry again with "--debug". Please provide debug output if you get error again.

honghr avatar Sep 15 '25 17:09 honghr