{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/17351","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/17351/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/17351/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/17351/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/17351","id":372645319,"node_id":"MDU6SXNzdWUzNzI2NDUzMTk=","number":17351,"title":"Blob Module deployment fails; 3 possible improvements","user":{"login":"sandervandevelde","id":694737,"node_id":"MDQ6VXNlcjY5NDczNw==","avatar_url":"https://avatars1.githubusercontent.com/u/694737?v=4","gravatar_id":"","url":"https://api.github.com/users/sandervandevelde","html_url":"https://github.com/sandervandevelde","followers_url":"https://api.github.com/users/sandervandevelde/followers","following_url":"https://api.github.com/users/sandervandevelde/following{/other_user}","gists_url":"https://api.github.com/users/sandervandevelde/gists{/gist_id}","starred_url":"https://api.github.com/users/sandervandevelde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandervandevelde/subscriptions","organizations_url":"https://api.github.com/users/sandervandevelde/orgs","repos_url":"https://api.github.com/users/sandervandevelde/repos","events_url":"https://api.github.com/users/sandervandevelde/events{/privacy}","received_events_url":"https://api.github.com/users/sandervandevelde/received_events","type":"User","site_admin":false},"labels":[{"id":836703193,"node_id":"MDU6TGFiZWw4MzY3MDMxOTM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":752062500,"node_id":"MDU6TGFiZWw3NTIwNjI1MDA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/iot-edge/svc","name":"iot-edge/svc","color":"ededed","default":false},{"id":853283851,"node_id":"MDU6TGFiZWw4NTMyODM4NTE=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"mbialecka","id":2598290,"node_id":"MDQ6VXNlcjI1OTgyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/2598290?v=4","gravatar_id":"","url":"https://api.github.com/users/mbialecka","html_url":"https://github.com/mbialecka","followers_url":"https://api.github.com/users/mbialecka/followers","following_url":"https://api.github.com/users/mbialecka/following{/other_user}","gists_url":"https://api.github.com/users/mbialecka/gists{/gist_id}","starred_url":"https://api.github.com/users/mbialecka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbialecka/subscriptions","organizations_url":"https://api.github.com/users/mbialecka/orgs","repos_url":"https://api.github.com/users/mbialecka/repos","events_url":"https://api.github.com/users/mbialecka/events{/privacy}","received_events_url":"https://api.github.com/users/mbialecka/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbialecka","id":2598290,"node_id":"MDQ6VXNlcjI1OTgyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/2598290?v=4","gravatar_id":"","url":"https://api.github.com/users/mbialecka","html_url":"https://github.com/mbialecka","followers_url":"https://api.github.com/users/mbialecka/followers","following_url":"https://api.github.com/users/mbialecka/following{/other_user}","gists_url":"https://api.github.com/users/mbialecka/gists{/gist_id}","starred_url":"https://api.github.com/users/mbialecka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbialecka/subscriptions","organizations_url":"https://api.github.com/users/mbialecka/orgs","repos_url":"https://api.github.com/users/mbialecka/repos","events_url":"https://api.github.com/users/mbialecka/events{/privacy}","received_events_url":"https://api.github.com/users/mbialecka/received_events","type":"User","site_admin":false},{"login":"sergaz-msft","id":22173500,"node_id":"MDQ6VXNlcjIyMTczNTAw","avatar_url":"https://avatars1.githubusercontent.com/u/22173500?v=4","gravatar_id":"","url":"https://api.github.com/users/sergaz-msft","html_url":"https://github.com/sergaz-msft","followers_url":"https://api.github.com/users/sergaz-msft/followers","following_url":"https://api.github.com/users/sergaz-msft/following{/other_user}","gists_url":"https://api.github.com/users/sergaz-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/sergaz-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergaz-msft/subscriptions","organizations_url":"https://api.github.com/users/sergaz-msft/orgs","repos_url":"https://api.github.com/users/sergaz-msft/repos","events_url":"https://api.github.com/users/sergaz-msft/events{/privacy}","received_events_url":"https://api.github.com/users/sergaz-msft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-10-22T18:39:18Z","updated_at":"2018-10-26T05:52:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Today I tried to add the new blob storage support to my already running IoT edge on Ubuntu 18.04.\r\n \r\nI did not get it running.\r\n \r\nI would like to share my findings. I tried to contact Greg Manyak, I talked with him last week in Barcelona but I do not have his email address. Is he the right contact person?\r\n \r\nSo I used the procedure at https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob \r\n \r\nThis is one of the hardest documents to read compared to the other documents regarding IoT Edge. My colleague encountered similar issues with this tutorial.\r\n \r\nFirst, it describes I have to use mcr.microsoft.com/azure-blob-storage:latest This naming convention is strange. For as far as I know, the edgeAgent is not capable to automatically update the module if “latest” changes in the repository. It seems I can only update to a newer version by removing the current one in the local repository. For as far as I know, it was not recommended to use “latest” when IoT Edge was available as public preview.\r\n \r\nIsn’t it better to give it a version real number as with all other modules?\r\n \r\nSecondly, the explanation about the Container Create options are not very clear. The examples given are hard to understand. What I came up with was:\r\n\r\n    {\r\n        \"Env\":[\r\n            \"LOCAL_STORAGE_ACCOUNT_NAME=localblobstorageaccountname\", \r\n            \"LOCAL_STORAGE_ACCOUNT_KEY=pY[64 long]hozVm5QJtL8Jg==\"\r\n        ],\r\n        \"HostConfig\":{\r\n            \"Mounts\": [\r\n              {\"Target\": \"/var/opt/msblob\", \"Source\": \"msBlob\", \"Type\": \"volume\"}\r\n            ],\r\n            \"Binds\":[\r\n                \"msBlob\"\r\n            ],\r\n            \"PortBindings\":{\r\n                \"11002/tcp\":[{\"HostPort\":\"11002\"}]\r\n            }\r\n        }\r\n    }\r\n\r\nE.g. I hope I have added the right values for the environment variables.\r\n \r\nRegarding the volume, I added the extra “Mounts”. This should create the right volume automatically. I took it from: https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-store-data-sql-server \r\n \r\nThis way, I can have a volume without creating it on the device itself. I think this could actually work 😊\r\n \r\nThese options are accepted in the Azure Portal. But after deployment, I get the following exceptions in the edgeAgent:\r\n\r\n> 2018-10-21 10:18:05.058 +00:00 [INF] - Executing command: \"Create module blob\"\r\n2018-10-21 10:19:51.012 +00:00 [ERR] - Executing command for operation [\"create\"] failed.\r\nSystem.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n2018-10-21 10:19:51.151 +00:00 [ERR] - Executing command for operation [\"Command Group: (\r\n  [Create module blob]\r\n  [Start module blob]\r\n)\"] failed.\r\nSystem.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Commands.GroupCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/commands/GroupCommand.cs:line 36\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n2018-10-21 10:19:51.181 +00:00 [ERR] - Step failed in deployment 74, continuing execution. Failure when running command Command Group: (\r\n  [Create module blob]\r\n  [Start module blob]\r\n). Will retry in 00s.\r\n2018-10-21 10:19:51.185 +00:00 [INF] - Plan execution ended for deployment 74\r\n2018-10-21 10:19:51.208 +00:00 [ERR] - Edge agent plan execution failed.\r\nSystem.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Commands.GroupCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/commands/GroupCommand.cs:line 36\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 86\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.<>c.<ExecuteAsync>b__7_0(List`1 f) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 114\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 115\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Agent.ReconcileAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/Agent.cs:line 176\r\n---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Commands.GroupCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/commands/GroupCommand.cs:line 36\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 86<---\r\n2018-10-21 10:19:51.392 +00:00 [WRN] - Reconcile failed because of the an exception\r\nSystem.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Commands.GroupCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/commands/GroupCommand.cs:line 36\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 86\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.<>c.<ExecuteAsync>b__7_0(List`1 f) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 114\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 115\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Agent.ReconcileAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/Agent.cs:line 176\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Agent.ReconcileAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/Agent.cs:line 187\r\n---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpBufferedStream.ReadLineAsync(CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpBufferedStream.cs:line 50\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.SetResponseStatusLine(HttpResponseMessage httpResponse, HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 120\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpRequestResponseSerializer.DeserializeResponse(HttpBufferedStream bufferedStream, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpRequestResponseSerializer.cs:line 67\r\n   at Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/uds/HttpUdsMessageHandler.cs:line 37\r\n   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.GeneratedCode.EdgeletHttpClient.CreateModuleAsync(String api_version, ModuleSpec module, CancellationToken cancellationToken) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/generatedCode/EdgeletHttpClient.cs:line 269\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func`1 func, String operation)\r\n   at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.CreateModuleAsync(ModuleSpec moduleSpec) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 89\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.Commands.GroupCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/commands/GroupCommand.cs:line 36\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.LoggingCommandFactory.LoggingCommand.ExecuteAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/LoggingCommandFactory.cs:line 61\r\n   at Microsoft.Azure.Devices.Edge.Agent.Core.PlanRunners.OrderedRetryPlanRunner.ExecuteAsync(Int64 deploymentId, Plan plan, CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/planrunners/OrdererdRetryPlanRunner.cs:line 86<---\r\n2018-10-21 10:19:52.284 +00:00 [INF] - Updated reported properties\r\n2018-10-21 10:19:57.963 +00:00 [INF] - Plan execution started for deployment 74\r\n2018-10-21 10:19:57.984 +00:00 [INF] - Plan execution ended for deployment 74\r\n^C\r\n\r\nI have no clue what the reason for this exception is.\r\n \r\nSo I have these questions:\r\n•\tCan you confirm the container create options configuration of my blob module is correct?\r\n•\tDo you agree adding the creation of a new volume in the create options is a good idea?\r\n•\tDo you agree the use of “latest” as version indication in the name of the module is less optimal?\r\n \r\nIf there are any questions or if I am doing everything wrong 😊 or if there is better documentation to test, please send me a message.\r\n\r\nRegards,\r\n\r\nSander\r\n\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0\r\n* Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015\r\n* Content: [Azure Blob Storage on Azure IoT Edge devices](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob)\r\n* Content Source: [articles/iot-edge/how-to-store-data-blob.md](https://github.com/Microsoft/azure-docs/blob/master/articles/iot-edge/how-to-store-data-blob.md)\r\n* Service: **iot-edge**\r\n* GitHub Login: @kgremban\r\n* Microsoft Alias: **kgremban**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/433294614","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/17351#issuecomment-433294614","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/17351","id":433294614,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzI5NDYxNA==","user":{"login":"qibozhu","id":38144993,"node_id":"MDQ6VXNlcjM4MTQ0OTkz","avatar_url":"https://avatars2.githubusercontent.com/u/38144993?v=4","gravatar_id":"","url":"https://api.github.com/users/qibozhu","html_url":"https://github.com/qibozhu","followers_url":"https://api.github.com/users/qibozhu/followers","following_url":"https://api.github.com/users/qibozhu/following{/other_user}","gists_url":"https://api.github.com/users/qibozhu/gists{/gist_id}","starred_url":"https://api.github.com/users/qibozhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qibozhu/subscriptions","organizations_url":"https://api.github.com/users/qibozhu/orgs","repos_url":"https://api.github.com/users/qibozhu/repos","events_url":"https://api.github.com/users/qibozhu/events{/privacy}","received_events_url":"https://api.github.com/users/qibozhu/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T05:52:58Z","updated_at":"2018-10-26T05:52:58Z","author_association":"NONE","body":"@sandervandevelde Hi, Sander, could you please do the following inside container\r\n1. run \"ulimit -c unlimited\"\r\n2. run \"dotnet PlatformBlob.dll /blobroot\"\r\n\r\nSee if a dump can be generated in the current directory. I found this info at this link:\r\nhttps://stackoverflow.com/questions/47606532/illegal-instructions-core-dumped-error-on-launch-of-my-application-in-ubuntu-1\r\n\r\nAlso, could you check if the log file exists /blobroot/logs/platformblob.log? Thanks!"}}
{"actor":{"display_login":"qibozhu"}}