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

ZipDeploy Sample fails with "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'" #14075

Open
siegfried01 opened this issue Jun 21, 2024 · 0 comments

Comments

@siegfried01
Copy link

siegfried01 commented Jun 21, 2024

There is something weird going on -- maybe with this edge browser. I'm having a terrible time with pasting in links. I see that most of these are bad.

Since I have not seen a response in 5 days, I have cross posted here (where I am hoping that the links are fixed): https://learn.microsoft.com/en-us/answers/questions/1762862/zipdeploy-sample-fails-with-the-resource-write-ope

(OK, that last link seems to work. Good. These links below seem to be corrupted. I don't know why.
 
Azure Function App Hosted on Windows Consumption Plan https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.web/function-app-windows-consumption/README.md#azure-function-app-hosted-on-windows-consumption-plan

Issue Details

Template looks out of date. I'm having troubles making this work with C#/.NET 8/Isolated.
Error message: "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."

Repro steps (if necessary, delete otherwise)

  1. Download https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.web/function-app-windows-consumption/azuredeploy.json
  2. "az functionapp list-runtimes --os windows" add missing runtime. See https://github.com/siegfried01/zipdeployhttpfunc/blob/reached_term_prov_state_failed/infrastructure/deploy-zipdeployDemo.bicep#L236 were I added "dotnet-isolated"
  3. Where are the instructions for creating the storage accounts? I borrowed these steps: https://github.com/Azure-Samples/function-app-arm-templates/blob/main/zip-deploy-arm-az-cli/README.md#steps. See my actual commands: https://github.com/siegfried01/zipdeployhttpfunc/blob/reached_term_prov_state_failed/infrastructure/deploy-zipdeployDemo.bicep#L136 lines 136-167.
  4. I do the deploy https://github.com/siegfried01/zipdeployhttpfunc/blob/reached_term_prov_state_failed/infrastructure/deploy-zipdeployDemo.bicep#L207 and get the error "he resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'"(https://github.com/siegfried01/zipdeployhttpfunc/blob/reached_term_prov_state_failed/infrastructure/deploy-zipdeployDemo.bicep#L350)
  5. When I go to the resource group in the portal to get the details under the activities, I don't find any thing helpful, just the same error message.

Thanks

Siegfried

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant