pulumi / pulumi-azure-native

Azure Native Provider
Apache License 2.0
125 stars 33 forks source link

Error: rpc error code equals Cancelled desc equals grpc occurs without an details on what failed #1708

Open MarkGee-imdex opened 2 years ago

MarkGee-imdex commented 2 years ago

What happened?

I've setup a dotnet pulumi project using Azure Native to define resources. The Pulumi CLI has been working fine up until recently when I tried to create a WebAppSlot in Azure using Pulumi.AzureNative.Web.V20210301.WebAppSlot.

Sample Csharp code is here: CreateNewWebSlot_csharp_code.txt

The Pulumi review is successful but the pulumi up fails with "Code="Failed" Message="The async operation failed." The CLI output is here: Pulumi CLI capture

The Debug output can be found here: out.txt

I would love to know what I'm doing wrong as there is little to indicate the actual issue. Can you please help. Thanks. .

Steps to reproduce

  1. Build csharp project
  2. In a command prompt in the project's root directory: 2.1. Pulumi up

Expected Behavior

After the review (which comes back as 'create'), when choosing to Update and create this resource in Azure, it is done so successfully.

Actual Behavior

The Update in Pulumi CLI fails with the error: Code="Failed" Message="The async operation failed."

Versions used

out.txt

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

mikhailshilkov commented 2 years ago

Azure API endpoints in the Web provider are notoriously bad about error messages. Often, you can see a deeper error in the activity logs of your resources (e.g. open your resource group and navigate to activity logs after you faced the error).