azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Event Hub] Deploy test resources failed: DatabaseAccount is in a failed provisioning state.

Open zedy-wj opened this issue 3 years ago • 4 comments

We are running live Tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.

Error Description: Deploying test resources error occurred in all environments under China cloud. The error message was shown as below:

Retry : Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 7:54:28 AM - The deployment 't78cea9bbb7ee4bb3' failed with error(s). Showing 1 out of 1 error(s).
Status Message: DatabaseAccount storaget78cea9bbb7ee4bb3 is in a failed provisioning state because the previous attempt to create it was not successful. Please delete the previous instance before attempting to recreate this account.
ActivityId: 11ae189e-d9a0-4e78-85db-4880e6425870, Microsoft.Azure.Documents.Common/2.14.0 (Code:BadRequest)
CorrelationId: c1e7ab97-b123-4bf3-ab80-2dbab5210d28"
At D:\a\_work\1\s\eng\common\TestResources\New-TestResources.ps1:725 char:23
+         $deployment = Retry {
+                       ~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], MethodInvocationException
+ FullyQualifiedErrorId : ActionPreferenceStopException,Retry
##[error]PowerShell exited with code '1'.

For more details, please click here.

Expected Behavior: The resource can be deployed successfully on China cloud.

@benbp , @scottaddie , @jsquire , @ronniegeraghty , @annatisch for notification.

zedy-wj avatar Oct 25 '22 09:10 zedy-wj

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Event Hubs:0.13106398,EngSys:0.12765792,ARM:0.113638476' Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Mgmt:0.5242262,Client:0.4608038,Service:0.014240665'

azure-sdk avatar Oct 25 '22 09:10 azure-sdk

Hey @benbp - Do you know if this is expected behavior and how to resolve this?

swathipil avatar Oct 25 '22 17:10 swathipil

Is this a continuous error on re-run?

benbp avatar Oct 27 '22 21:10 benbp

@benbp Yes, there is the latest pipeline: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1950842&view=results

zedy-wj avatar Oct 28 '22 05:10 zedy-wj

@zedy-wj - This error seems to be the last error in a list. Does the very first error look like the following?

Status Message: Database account creation failed. Operation Id: 2143480c-8e04-4200-9a7e-818dc056cdf0, Error : Message: {"code":"ServiceUnavailable","message":"Sorry, we are currently experiencing high demand in Central US EUAP region, and cannot fulfill your request at this time Thu, 12 Jan 2023 22:52:05 GMT. To request region access for your subscription, please follow this link https://aka.ms/cosmosdbquota for more details on how to create a region access request.\r\nActivityId: 67515ec1-a68f-45b7-891f-43e220f6bff1, Microsoft.Azure.Documents.Common/2.14.0"}, Request URI: /serviceReservation, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0 (Code:ServiceUnavailable)

swathipil avatar Jan 12 '23 23:01 swathipil

@swathipil - Yes, here's the latest result we've just tested:

Status Message: Database account creation failed. Operation Id: ed334c24-a71a-432e-87d7-28f2829ca03f, Error : Message: {"code":"ServiceUnavailable","message":"Sorry, we are currently experiencing high demand in China North 2 region, and cannot fulfill your request at this time Fri, 13 Jan 2023 02:20:41 GMT. To request region access for your subscription, please follow this link https://aka.ms/cosmosdbquota for more details on how to create a region access request.\r\nActivityId: d9e8c3c8-93d0-49b4-a020-d4044ba9cdd3, Microsoft.Azure.Documents.Common/2.14.0"}, Request URI: /serviceReservation, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0 (Code:ServiceUnavailable)

For more details, you can click here.

We are currently testing in the China North 2 region, can you clear up the relevant resources in this region?

zedy-wj avatar Jan 13 '23 02:01 zedy-wj

@zedy-wj - Currently working on merging a PR that should fix this issue. Thanks for your patience!

swathipil avatar Jan 17 '23 20:01 swathipil