Closed mcollier closed 6 years ago
Hi @mcollier, I saw the same issue. I did try to remove the schemaVersion in the network resource definition, then redeployed. I got a failure from that as well.
Deployment failed. Correlation ID: 709c4874-b958-4ddc-8d13-e2adb1821136. { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'." } }
The first error was a bug in the template that I think was fixed today. The second error was in the RP, which we will be rolling fix out over the weekend.
I'm getting the same problem now (07/01). { "error": { "code": "AdditionalPropertyValidationErrors", "message": "Multiple additional properties detected for current request.", "details": [ { "code": "UnsupportedProperty", "message": "Property: .properties.schemaversion is not supported." } ],
The network resource definition : { "apiVersion" : "2018-03-01-privatepreview", "name" : "casenetwork", "type" : "Microsoft.ServiceFabric/networks", "location" : "[parameters('location')]", "dependsOn" : [], "properties" : { "addressPrefix" : "10.0.0.4/22", "ingressConfig" : { "layer4" : [ { "publicPort" : "80", "applicationName" : "case", "serviceName" : "wps", "endpointName" : "wps" } ] }, "schemaVersion" : "0.0.1" } },
Removing the SchemaVersion properties like mentioned here allows the deployment to start, but it fails after 2 hours. { "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." } }
Hi @mattrowmsft,
Do you think this will be addressed or fixed. This prevents any new deployment.
Thanks Samir
@SamirFarhat we are working through the samples now to correct the extra fields. I would expect us to be finished with that by EOD 7/2 (Redmond time).
@mattrowmsft I think this may also be impacting deployments from Visual Studio 2017. When I try, I get an error in Visual Studio directing me to view the deployment error in the Azure Portal. In the Azure portal, I see an error indicating ".properties.schemaversion is not supported".
@mcollier, @amanbha mentioned this might be issue with older tooling versions.
@mattrowmsft @amanbha Which version would be the latest version? I installed the tools listed at https://github.com/Azure/service-fabric-mesh-preview-pr/blob/master/docs/conceptual-docs/setup-developer-environment-sdk.md#sdk-and-tools. The Service Fabric Mesh SDK appears to be 3.2.116 (according to the file name), and the Service Fabric Tools (Preview) version appears to be 0.7.20180523.2.
We plant o release a new build for tooling in couple of days.
@mattrowmsft
After removing the schemaVersion property in the network resource in the deployment.json, it looks like the validation check gets passed. However, the deployment itself is failing.
Yes, like @plooploops is stating, this generic errors means (behind the scenes by getting the status of the App like az mesh app list) the "FailedInsufficientCapacity". It's very wired that even for 1 application with 1 core i'm getting this error. @ChackDan has mentioned last may (May 3 ?) that this is because the SFM program has been allocated limited capacity. I think that with the expansion of pp3 and the Build announcement, the program should be allocated additional capacity. No new deployment because of this.
I just tried the hello world sample and getting below error:
Deployment failed. Correlation ID: e7658697-2b49-49d4-8fd4-d7eb62ed463c. {
"error": {
"code": "AdditionalPropertyValidationErrors",
"message": "Multiple additional properties detected for current request.",
"details": [
{
"code": "UnsupportedProperty",
"message": "Property: .properties.schemaversion is not supported."
}
],
"innerError": "Code: AdditionalPropertyValidationErrors - System.Fabric.Wrp.Common.AggregatedWrpException: Multiple additional properties detected for current request.\r\n{\r\n \"Details\": [\r\n {\r\n \"Code\": \"UnsupportedProperty\",\r\n \"Message\": \"Property: .properties.schemaversion is not supported.\",\r\n \"Target\": null\r\n }\r\n ],\r\n \"InnerError\": null,\r\n \"Code\": \"AdditionalPropertyValidationErrors\",\r\n \"Message\": \"Multiple additional properties detected for current request.\",\r\n \"Target\": null\r\n}\r\n at Microsoft.ServiceFabric.Rp.Model.Public.ExternalApiEntityValidator.Validate(String schema, IEnumerable1 additionalPropertiesPaths, IEnumerable
1 apiVersions) in D:\agent_work\3\s\src\Common\Model\Public\ExternalApiEntityValidator.cs:line 92\r\n at System.Fabric.Wrp.Common.WrpJsonFormatter.<>cDisplayClass8_0.1.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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()\r\n at System.Net.Http.HttpContentExtensions.1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()\r\n at System.Web.Http.Controllers.ExceptionFilterResult.
Remove the SchemaVersion Properties
Yeah, just did it. It worked.
Looks like it's working again with the SchemaVersion removed from the network resource.
This has been fixed across the templates in this repo.
Confirmed - I could deploy the quickstart samples using the updated CLI (mesh, 0.7.0).
Attempting to deploy the quickstart sample at https://github.com/Azure/service-fabric-mesh-preview-pr/blob/master/docs/conceptual-docs/application-deployment-quickstart.md failed with the error message shown below. Attempted to use the (very similar) template at https://github.com/Azure/service-fabric-mesh-preview-pr/blob/master/samples/src/votingapp/linux/Deployment/quickstart-linux.json. Same error message.
_Deployment failed. Correlation ID: ba4e22b6-bd7d-4121-adcd-a727902ef23e. { "error": { "code": "AdditionalPropertyValidationErrors", "message": "Multiple additional properties detected for current request.", "details": [ { "code": "UnsupportedProperty", "message": "Property: .properties.schemaversion is not supported." }, { "code": "UnsupportedProperty", "message": "Property: .properties.ingressconfig.layer4[].name is not supported." } ], "innerError": "Code: AdditionalPropertyValidationErrors - System.Fabric.Wrp.Common.AggregatedWrpException: Multiple additional properties detected for current request.\r\n{\r\n \"Details\": [\r\n {\r\n \"Code\": \"UnsupportedProperty\",\r\n \"Message\": \"Property: .properties.schemaversion is not supported.\",\r\n \"Target\": null\r\n },\r\n {\r\n \"Code\": \"UnsupportedProperty\",\r\n \"Message\": \"Property: .properties.ingressconfig.layer4[].name is not supported.\",\r\n \"Target\": null\r\n }\r\n ],\r\n \"InnerError\": null,\r\n \"Code\": \"AdditionalPropertyValidationErrors\",\r\n \"Message\": \"Multiple additional properties detected for current request.\",\r\n \"Target\": null\r\n}\r\n at Microsoft.ServiceFabric.Rp.Model.Public.ExternalApiEntityValidator.Validate(String schema, IEnumerableb__0() in D:\agent_work\1\s\src\Common\Common\JsonFormatterSelector.cs:line 102\r\n at System.Threading.Tasks.Taskd 0d_0.MoveNext()"
}
}
1 additionalPropertiesPaths, IEnumerable
1 apiVersions) in D:\agent_work\1\s\src\Common\Model\Public\ExternalApiEntityValidator.cs:line 92\r\n at System.Fabric.Wrp.Common.WrpJsonFormatter.<>cDisplayClass8_0.1.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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()\r\n at System.Net.Http.HttpContentExtensions.1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()\r\n at System.Web.Http.Controllers.ExceptionFilterResult.