question

AmitV-6127 avatar image
0 Votes"
AmitV-6127 asked AmitV-6127 commented

Iot edge module : Backoff state

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-hubazure-iot-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered AmitV-6127 commented

Hello @AmitV-6127 ,

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?




· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SandervandeVelde42,
When I run the docker run command of my specific module it ran and I am able to see it when I run docker ps -a command the module appears as created

0 Votes 0 ·

Hello @AmitV-6127,

so it seems the module is running stable using Docker run.

Now you have to shape the module reference in the Azure IoT Edge deployment manifest so it is on par with the run command.

Just to be sure, check out the Container Create options and check the ' docker ps -a' (and iotedge list) to see if everything looks the same.

Finally, check the logging for hints if this does not work.

1 Vote 1 ·

Hello @SandervandeVelde42,

I created a new module called cameramodule and when I debugged the cameramodule
i got Error: Image path or image-processing endpoint missing after i build and push iot edge solution using deployement.debug.template.json

https://github.com/timaddg/ImageCustomVision

Can you guide me on where I went wrong after seeing the cameramodule ?

0 Votes 0 ·
Show more comments