Azure / service-fabric-mesh-preview

Service Fabric Mesh is the Service Fabric's serverless offering to enable developers to deploy containerized applications without managing infrastructure. Service Fabric Mesh , aka project “SeaBreeze” is currently available in private preview. This repository will be used for tracking bugs/feature requests as GitHub issues and for maintaining the latest documentation.
MIT License
82 stars 13 forks source link

Visual Studio deployment failure error is not helpful #201

Closed mcollier closed 6 years ago

mcollier commented 6 years ago

I'm trying to deploy the VotingApp sample from Visual Studio 2017. After building the images and uploading the images to Azure Container Registry, the deployment eventually fails, after about 20 minutes.

The output from Visual Studio is as follows:

========== Publishing ==========
Packaging Application...
Building Images...
Uploading the images to Azure Container Registry...
Deploying application to remote endpoint...
Deployment 20180706182602 failed. Go to https://portal.azure.com/#resource/subscriptions/xxxxxxxxxxxxxxxxx/resourceGroups/VotingApp-rg-20180706/deployments to view the deployment error in Azure Portal.
Correlation Id: 5f9e44c1-35f4-4cd1-9b10-f6930aca8340

When I view the deployment error in the Azure Portal, the message is not helpful.

image

Copying the error from the Azure Portal yields slightly more information, revealing a 'Conflict'. A conflict with what?

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n
 \"status\": \"Failed\",\r\n
 \"error\": {\r\n
 \"code\": \"ResourceDeploymentFailure\",\r\n
 \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\"\r\n
 }\r\n
}"}]}
srrengar commented 6 years ago

@mattrowmsft what details does the RP provide upon deployment failures?

mattrowmsft commented 6 years ago

This should be better now. We recently rolled out support for ARM async operations which allows ARM deployments to track success/failure of individual operations and provide detailed information on them. Please reopen if you are still seeing generic messages.