Iot edge module : Backoff state

Amit V 21 Reputation points
2021-07-05T10:26:42.077+00:00

111872-screen-shot-2021-07-05-at-34836-pm.png

I have a simulatedcamera module which is an image classifier that is showing as a backoff state, rest of the modules are in running state

Target Device: Jetson Nano
Architecture : aarch64 (arm64v8)

The code can be found at https://github.com/timaddg/Jetsonnano_custom

The dockerfile.arm64v8 and dockerfile.arm64v8.debug is the one which is used here and the same changes can be seen in module.json of testclassifier and simulatedcamera , you can ignore the simulatedCamera1 module

The deployement.template.json is also according to the arm64v8 architecture

Let me know where I have gone wrong

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
541 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,124 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,711 Reputation points MVP
    2021-07-05T12:01:12.123+00:00

    Hello @Amit V ,

    it seems your module is not behaving well on the edge.

    First, check if the edge agent is capable to load and run the module

    iotedge logs -f edgeAgent

    If there are issues loading the module, you have to dig into the logging text of the EdgeAgent to find the reason.

    If the edge agent is able to load the module, can you check the module log on the device?

    iotedge logs -f simulatedcamera

    Last but not least, does this module require some docker settings? Do you have to apply Container Create options?

    docker run -p 127.0.0.1:80:80 -d <your image name>

    Do you have to open port 80?