Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Error deploying base linux template #79

Open
EthanMelamed opened this issue Apr 2, 2020 · 0 comments
Open

Error deploying base linux template #79

EthanMelamed opened this issue Apr 2, 2020 · 0 comments

Comments

@EthanMelamed
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Try to deploy the base linux template:

az mesh deployment create --resource-group vmeshrg --template-uri https://raw.githubusercontent.com/Azure-Samples/service-fabric-mesh/2018-09-01-preview/templates/visualobjects/visualobjects.base.linux.json --parameters {'location': {'value': 'eastus'}}

Any log messages given by the failure

{
"id": "/subscriptions/hidden****/resourceGroups/vmeshrg/providers/Microsoft.Resources/deployments/visualobjects.base.linux",
"location": null,
"name": "visualobjects.base.linux",
"properties": {
"correlationId": "hidden***",
"debugSetting": null,
"dependencies": [
{
"dependsOn": [
{
"id": "/subscriptions/hidden***/resourceGroups/vmeshrg/providers/Microsoft.ServiceFabricMesh/networks/visualObjectsNetwork",
"resourceGroup": "vmeshrg",
"resourceName": "visualObjectsNetwork",
"resourceType": "Microsoft.ServiceFabricMesh/networks"
}
],
"id": "/subscriptions/hidden***/resourceGroups/vmeshrg/providers/Microsoft.ServiceFabricMesh/gateways/visualObjectsGateway",
"resourceGroup": "vmeshrg",
"resourceName": "visualObjectsGateway",
"resourceType": "Microsoft.ServiceFabricMesh/gateways"
},
{
"dependsOn": [
{
"id": "/subscriptions/hidden***/resourceGroups/vmeshrg/providers/Microsoft.ServiceFabricMesh/networks/visualObjectsNetwork",
"resourceGroup": "vmeshrg",
"resourceName": "visualObjectsNetwork",
"resourceType": "Microsoft.ServiceFabricMesh/networks"
}
],
"id": "/subscriptions/hidden***/resourceGroups/vmeshrg/providers/Microsoft.ServiceFabricMesh/applications/visualObjectsApp",
"resourceGroup": "vmeshrg",
"resourceName": "visualObjectsApp",
"resourceType": "Microsoft.ServiceFabricMesh/applications"
}
],
"duration": "PT2H1M8.5072598S",
"error": {
"code": "DeploymentFailed",
"details": [
{
"code": "BadRequest",
"message": "{\r\n "error": {\r\n "code": "UnsupportedProperty",\r\n "message": "Property: .properties.services[].location is not supported.",\r\n "details": [\r\n {\r\n "code": "Exception",\r\n "message": "Microsoft.ServiceFabric.Rp.Errors.WrpException: Property: .properties.services[].location is not supported.\r\n at Microsoft.ServiceFabric.Rp.Model.Public.ExternalApiEntityValidator.Validate(String schema, IEnumerable1 additionalPropertiesPaths, IEnumerable1 apiVersions)\r\n at Microsoft.ServiceFabric.Rp.Common.WrpJsonFormatter.<>c__DisplayClass8_0.b__0() in F:\\aw\\1\\s\\src\\Common.Web\\WrpJsonFormatter.cs:line 104\r\n at System.Threading.Tasks.Task1.InnerInvoke()\\r\\n at System.Threading.Tasks.Task.Execute()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at System.Net.Http.HttpContentExtensions.<ReadAsAsyncCore>d__171.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.ModelBinding.FormatterParameterBinding.d__18.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.HttpActionBinding.d__12.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()"\r\n }\r\n ]\r\n }\r\n}"
},
{
"code": "RequestTimeout",
"message": "{\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource provision operation did not complete within the allowed timeout period."\r\n }\r\n}"
}
],
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details."
},
"mode": "Incremental",
"onErrorDeployment": null,
"outputs": null,
"parameters": {
"location": {
"type": "String",
"value": "eastus"
}
},
"parametersLink": null,
"providers": [
{
"id": null,
"namespace": "Microsoft.ServiceFabricMesh",
"registrationPolicy": null,
"registrationState": null,
"resourceTypes": [
{
"aliases": null,
"apiVersions": null,
"capabilities": null,
"locations": [
"eastus"
],
"properties": null,
"resourceType": "networks"
},
{
"aliases": null,
"apiVersions": null,
"capabilities": null,
"locations": [
"eastus"
],
"properties": null,
"resourceType": "gateways"
},
{
"aliases": null,
"apiVersions": null,
"capabilities": null,
"locations": [
"eastus"
],
"properties": null,
"resourceType": "applications"
}
]
}
],
"provisioningState": "Failed",
"template": null,
"templateHash": "17174931897256797389",
"templateLink": {
"contentVersion": "1.0.0.0",
"uri": "https://raw.githubusercontent.com/Azure-Samples/service-fabric-mesh/2018-09-01-preview/templates/visualobjects/visualobjects.base.linux.json"
},
"timestamp": "2020-04-02T05:44:41.723517+00:00"
},
"resourceGroup": "vmeshrg",
"type": "Microsoft.Resources/deployments"
}

Expected/desired behavior

sucessful mesh deployment

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
running from mac os. However getting same result from ci/cd azure hosted pipeline agent.

Versions

latest branch & latest azure cli

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@EthanMelamed EthanMelamed changed the title "error": { "code": "DeploymentFailed", "details": [ { "code": "BadRequest", "message": "{\r\n \"error\": {\r\n \"code\": \"UnsupportedProperty\",\r\n \"message\": \"Property: .properties.services[].location is not supported. Error deploying base linux template Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant