Azure / reliable-web-app-pattern-dotnet

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
361 stars 117 forks source link

Azure Storage container operation failure #154

Closed KSchlobohm closed 1 year ago

KSchlobohm commented 1 year ago

Document what happened and what to expect with the failed deployment.

https://github.com/Azure/reliable-web-app-pattern-dotnet/actions/runs/3453072602

KSchlobohm commented 1 year ago

Identified that this issue happens when the Azure Storage Account fails to deploy. In this description the term "container" refers to the Azure Storage Container which is used to store ticket images.

The error message is:

{
    "status": "Failed",
    "error": {
        "code": "ContainerOperationFailure",
        "message": "The specified resource does not exist.\nRequestId:aaaaaaaa-4444-0000-6666-ffffffffffff\nTime:2022-11-15T16:41:16.8992424Z"
    }
}
KSchlobohm commented 1 year ago

Updated the code (commit 309f317) to change the API we're using to align with the way azd performs this deployment as shown in sample AZD core infra for storage account

KSchlobohm commented 1 year ago

Will monitor the issue and keep this open until we hit 10 consecutive successful builds. If we cannot reach this outcome, then we'll add troubleshooting support to the Known issues section.

https://github.com/Azure/reliable-web-app-pattern-dotnet/actions/workflows/daily-azure-dev.yml

KSchlobohm commented 1 year ago

This issue has recurred once in the last 25 builds. Added the workaround to the known issue section.