Open jrunestone opened 1 year ago
Hi @jrunestone,
2.51.0 is not the latest Azure CLI(2.53.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 @azureSQLGitHub.
As an update, I updated to the latest CLI and there was no change in my experience. The github scripts are also running the latest version of the CLI.
Describe the bug
Our CLI scripts for copying a database suddenly started to run indefinitely without succeeding or failing. After cancelling, the same CLI command and also performing the action in the portal fails with an error saying that the specified databases are in "replication error". Copying to a database with a new name works through the portal, not the CLI (still doesn't finish in the CLI).
I made one change today removing explicit
capacity
andservice-objective
args from the CLI command and then it completes without errors. ChangingStandard
toS0
also seems to work, at least preliminary. We've been specifyingStandard
for a long time though. Either that parameter changed or the arguments should be left out since they need to be identical anyway?No database is created.
Related command
az sql db copy --resource-group rg-xxx --server sql-xxx --name sqldb-xxx --dest-name sqldb2-lxxx --compute-model Provisioned --service-objective Standard --capacity 10
Errors
This is from the portal since the CLI command never completes/fails.
Issue script & Debug output
Expected behavior
The command should complete successfully and create a new database copy, or give an error.
Environment Summary
azure-cli 2.51.0 *
core 2.51.0 * telemetry 1.1.0
Dependencies: msal 1.24.0b1 azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3' Extensions directory '/home/runsten/.azure/cliextensions'
Additional context
The debug output seems to just be polling status forever.