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
Apps failing to deploy : Property: .properties.schemaversion is not supported #186
Basic hello world app fails with error : Property: .properties.schemaversion is not supported
Tried with bot Linux and Windows.
asnegi@asnegi-vm ~/work/WindowsFabric/out/build.prod (develop) $ az mesh deployment create --resource-group $rg --template-uri https://raw.githubusercontent.com/Azure-Samples/service-fabric-configuration/master/container-configuration.json
If the deployment takes more than 10 minutes, then open up a new CLI window and run the following to get the status of your application deployment.
az mesh app show --resource-group <resource group name> --name <application name>
The output should point to the potential issue. If the “app show” cmd response does not have any errors listed, then it could just be that your image is taking long to download, rerun the az mesh app show command again after 5 minutes.
Deployment failed. Correlation ID: ddd9aeb6-a7c5-4b53-99bb-d83411083d26. {
"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, IEnumerable`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.<>c__DisplayClass8_0.<ReadFromStreamAsync>b__0() in D:\\agent_work\\1\\s\\src\\Common\\Common\\JsonFormatterSelector.cs:line 102\r\n at System.Threading.Tasks.Task`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.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Net.Http.HttpContentExtensions.<ReadAsAsyncCore>d__0`1.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.<ExecuteBindingAsyncCore>d__0.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.<ExecuteBindingAsyncCore>d__0.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.<ExecuteAsync>d__2.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.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()"
}
}
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/telemetry_upload.py", line 24, in <module>
import azure.cli.core.decorators as decorators
ModuleNotFoundError: No module named 'azure.cli'
a
Basic hello world app fails with error :
Property: .properties.schemaversion is not supported
Tried with bot Linux and Windows.