Fatal error starting Agent (1.0.0 and 1.0.5)
See original GitHub issueExpected Behavior
edgeAgent shall start normally
Current Behavior
edgeAgent fail in loop
Steps to Reproduce
Context (Environment)
Device (Host) Operating System
Platform: Debian 8, ARM CPU
Architecture
Container Operating System
Linux
Runtime Versions
iotedged
1.0.0 1.0.5
Edge Agent
Edge Hub
Docker
Logs
[2019-01-09 04:49:04 +00:00]: Starting Edge Agent [01/09/2019 04:49:07.499 AM] Edge Agent Main() 2019-01-09 04:49:14.218 +00:00 [INF] - Starting module management agent. 2019-01-09 04:49:21.815 +00:00 [INF] - Version - 1.0.5.19141174 (d76e0316c6f324345d77c48a83ce836d09392699) 2019-01-09 04:49:21.821 +00:00 [INF] - ββββββ βββββββββββ ββββββββββ ββββββββ βββββββββββββββββββ βββββββββββββββββββ ββββββββ βββββ βββ βββββββββββββββββ ββββββββ βββββ βββ βββββββββββββββββ βββ βββββββββββββββββββββββ βββββββββββ βββ βββββββββββ βββββββ βββ βββββββββββ
βββ βββββββ βββββββββ βββββββββββββββ βββββββ ββββββββ βββββββββββββββββββββ ββββββββββββββββββββββββ ββββββββ ββββββ βββ βββ ββββββ βββ ββββββ ββββββββββ ββββββ βββ βββ ββββββ βββ ββββββ βββββββββ ββββββββββββ βββ βββββββββββββββββββββββββββββββββ βββ βββββββ βββ βββββββββββββββ βββββββ ββββββββ
2019-01-09 04:49:27.251 +00:00 [INF] - Edge agent attempting to connect to IoT Hub via Amqp_Tcp_Only⦠2019-01-09 04:50:03.883 +00:00 [INF] - Edge agent attempting to connect to IoT Hub via Amqp_WebSocket_Only⦠2019-01-09 04:50:06.940 +00:00 [INF] - Created persistent store at /tmp/edgeAgent 2019-01-09 04:50:16.774 +00:00 [FTL] - Fatal error starting Agent. Microsoft.Azure.Devices.Edge.Agent.Edgelet.EdgeletCommunicationException- Message:Error calling Getting System Info: 0
, StatusCode:404, at: at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.Execute[T](Func1 func, String operation) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 204 at Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient.GetSystemInfoAsync() in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/ModuleManagementHttpClient.cs:line 118 at Microsoft.Azure.Devices.Edge.Agent.Edgelet.RuntimeInfoProvider
1.GetSystemInfo() in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Edgelet/RuntimeInfoProvider.cs:line 33
at Microsoft.Azure.Devices.Edge.Agent.Docker.DockerEnvironmentProvider.CreateAsync(IRuntimeInfoProvider runtimeInfoProvider, IEntityStore`2 store, IRestartPolicyManager restartPolicyManager) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Docker/DockerEnvironmentProvider.cs:line 38
at Microsoft.Azure.Devices.Edge.Agent.Service.Modules.EdgeletModule.<>c.<<Load>b__9_6>d.MoveNext() in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Service/modules/EdgeletModule.cs:line 103
β End of stack trace from previous location where exception was thrown β
at Microsoft.Azure.Devices.Edge.Agent.Service.Modules.AgentModule.<>c.<<Load>b__13_14>d.MoveNext() in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Service/modules/AgentModule.cs:line 242
β End of stack trace from previous location where exception was thrown β
at Microsoft.Azure.Devices.Edge.Agent.Service.Program.MainAsync(IConfiguration configuration) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Service/Program.cs:line 159
2019-01-09 04:50:18.642 +00:00 [INF] - Termination requested, initiating shutdown.
2019-01-09 04:50:18.666 +00:00 [INF] - Waiting for cleanup to finish
2019-01-09 04:50:18.667 +00:00 [INF] - Done with cleanup. Shutting down.
Additional Information
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Hello, @Strandfelt ! As a workaround I installed 1.0.6-rc version:
This has been fixed in version
1.0.6
. Closing this issue for now.