Azure IoT Edge does not start containers

Caiazzo, Ciro Donato 1 Reputation point
2021-08-30T12:31:54.68+00:00

After rebooting a VM with Azure IoT Edge 1.2.1, it seems that the containers cannot start.
Seeing the iotedge system logs there are the following messages

aziot-edged[1127]: 2021-08-25T05:15:01Z [WARN] - The daemon could not start up successfully: Could not retrieve device information
aziot-edged[1127]: 2021-08-25T05:15:01Z [WARN] -         caused by: HTTP response error: [400 Bad Request] {"message":"device identity not found"}
aziot-identityd[1165]: 2021-08-25T05:15:01Z [INFO] - <-- POST /identities/device?api-version=2020-09-01 {"content-type": "application/json", "host": "2f72756e2f617a696f742f6964656e74697479642e736f636b:0", "content-length": "16"}
aziot-identityd[1165]: 2021-08-25T05:15:01Z [INFO] - !!! device identity not found
aziot-identityd[1165]: 2021-08-25T05:15:01Z [INFO] - --> 400 {"content-type": "application/json"}
aziot-edged[1127]: 2021-08-25T05:15:06Z [WARN] - Retrying getting edge device provisioning information.
aziot-edged[1127]: 2021-08-25T05:15:06Z [INFO] - Obtaining edge device provisioning data...

Everything returns to working fine if the command iotedge config apply run manually.

Any idea to solve this issue?

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
378 questions
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.
534 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
{count} votes

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,661 Reputation points Microsoft Employee
    2021-09-21T10:06:38.647+00:00

    Hello @Caiazzo, Ciro Donato from the related issue on github this was the solution confirmed by you:

    "on a fresh installation of IoT Edge 1.2.3. It seems that work."

    Thank you!

    Remember:

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.
    0 comments No comments