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 11 forks source link

Service Fabric Reliable Disk demo project execution fails #301

Closed Pothulapati closed 5 years ago

Pothulapati commented 5 years ago

I tried running the service fabric reliable disk demo as per the doc , The command took a lot of time to execute and still the provisioning state is shown as running. I tried running it again, in a different resource group. The deployment failed with the following error.

Deployment failed. Correlation ID: fe30ad3e-8fe7-4ab6-9fda-6f4c07f04847. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "ClusterAllocationFailed",
        "message": "Cluster allocation failed.",
        "details": []
      }
    ]
  }
}
fauxcoding commented 5 years ago

Going off Chacko's tweet earlier, they are still rolling out the changes across resource locations.

https://blogs.msdn.microsoft.com/azureservicefabric/2018/12/04/service-fabric-mesh-preview-refresh-release/

If you run this command it will show which locations have the update.

Get-AzureRmResourceProvider -ProviderNamespace "Microsoft.ServiceFabricMesh" | ? {$_.ResourceTypes.ResourceTypeName -eq "gateways" } | % { $_.ResourceTypes.Locations}

I've just executed that command and East Asia is the only resource location that's been updated.

Try running the demo against a resource group in that location and see if you get the same issue.

Pothulapati commented 5 years ago

@heymega I did run it in the eastasia region. The command actually returns that it can't create the resource if the service is not available in the specified location. Did you try running the demo?

raunakpandya commented 5 years ago

I would suggest just wait for it to roll out in regions.. It should work post that.

raunakpandya commented 5 years ago

@Pothulapati - Are you still facing issue here?

Pothulapati commented 5 years ago

@raunakpandya - I tried it again. The command shows running for like half an hour and still shows the same. When I try to see the status of the deployment it is shown as running, but when I browse the ipAddress given, the site isn't responding.

Willing to share any other details if needed, Thanks

Pothulapati commented 5 years ago

After a lot of time, It failed with the following error

Deployment failed. Correlation ID: 43b3192b-9645-4f04-becc-20bb4b142726. {
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource provision operation did not complete within the allowed timeout period. Please see https://aka.ms/arm-deploy for usage details."
  }
}
raunakpandya commented 5 years ago

@mattrowmsft - Any ideas?

mattrowmsft commented 5 years ago

@Pothulapati we are taking a look.

mattrowmsft commented 5 years ago

There was an error in our configuration for these clusters which caused a bunch of "bad" clusters to enter our pool. These have been purged out, and the configuration error and the detection miss fixed. Please try again now and it should work.

Pothulapati commented 5 years ago

@mattrowmsft Awesome, It works!

Thanks. :+1: