-
Notifications
You must be signed in to change notification settings - Fork 258
[V2] IoTEdge Runtime - edgeAgent container - remains in restarting state forever #566
Comments
Hello @alkreddy From how I understand it, that is dotnet returning with a Segmentation Violation (SIGSEGV), or an invalid memory reference. This is not expected, but we did have a problem with the initial preview22 release of ARM images, please confirm that you've pulled the latest from 1.0-preview. This is the result from my Pi's
Also, you may want to see if you have any errors from docker, the logs for the docker daemon can be found by running |
Hello @darobs , Appreciate your help. I didn't find any helpful info from the docker daemon logs. Attaching it for your inputs. |
I have rebuild the PI from scratch. However, I continue to see the same issue. |
Hmm - Typically, if you can get the "hello_world" image to run, the edgeAgent will run as well. Would you provide me with the version of Raspbian, iotedgectl, Python and Docker? |
Hello, Sorry for the delayed response, here's the information you asked for Kernel version OS Version IotEdgeCtl Version Python Version Docker Version Server: |
Looking forward for any helpful advice to diagnose/resolve this issue |
Thank you for the information. You basically have the same Pi setup as me. Would you please just run the edgeAgent on the command line:
Maybe I'll get something in the output that will get me a good clue. Thanks, |
Thanks David. I don't have access to my PI. I will get back to you in couple of days. |
Hi David, |
Hello @alkreddy - now it's my turn to apologize for being distracted and not responding. I have not yet discovered any software cause for your troubles. One additional possibility is an insufficient power supply - The recommendation for a Pi 3 is a 2.5A power supply. . We have seen very odd behavior if the power supply is providing less than 1 Amp. |
Hi David, Appreciate your response. The power supply I used has rated o/p of 1.6A at 5V. I will try with 2.5A module next week (after I get back home) and let you know the outcome. thanks, |
That's probably not the problem 1.6A is probably sufficient for most operations. The problem is we've been targetting our builds for ARMv7, and the Pi you're running on is ARMv6. The binaries are incompatible with your board. I missed that detail from the information you gave me before. |
Thanks David. Appreciate your help. thanks, |
I have setup a new Raspberry Pi as per the guidance in the following blogs
https://blog.jongallant.com/2017/11/azure-iot-edge-raspberrypi/
https://blog.jongallant.com/2017/09/raspberrypi-docker/
I attempted to start the runtime sudo iotedgectl start , I see a new container edgeAgent created. However, the status of this container remains as restarting
pi@LKPi:~ $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ad9b7a67bb5f microsoft/azureiotedge-agent:1.0-preview "/usr/bin/dotnet Mic…" 4 hours ago Restarting (139) 32 seconds ago edgeAgent
There are no logs created for the edgeAgent container.
I tried restarting the device, removing and recreating the container, restarting the runtime but the container remains in restarting state.
The text was updated successfully, but these errors were encountered: