This is a known issue with v1.4.1, and will be fixed soon.
For a workaround, please use: https://github.com/Azure/iotedge/issues/6676#issuecomment-1248699565
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have followed the Microsoft documentation : https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-symmetric?WT.mc_id=IoT-MVP-5004034&view=iotedge-1.4&tabs=azure-portal%2Crpios#install-iot-edge
× configuration has correct URIs for daemon mgmt endpoint - Error Unable to find image 'mcr.microsoft.com/azureiotedge-diagnostics:1.4.1' locally 1.4.1: Pulling from azureiotedge-diagnostics 213ec9aee27d: Pulling fs layer a273679c143b: Pulling fs layer 74806c801e16: Pulling fs layer 3d1f74f29f71: Pulling fs layer d43c7c0f2b47: Pulling fs layer 3d1f74f29f71: Waiting d43c7c0f2b47: Waiting a273679c143b: Verifying Checksum a273679c143b: Download complete 213ec9aee27d: Verifying Checksum 213ec9aee27d: Download complete 213ec9aee27d: Pull complete a273679c143b: Pull complete 3d1f74f29f71: Verifying Checksum 3d1f74f29f71: Download complete d43c7c0f2b47: Verifying Checksum d43c7c0f2b47: Download complete 74806c801e16: Verifying Checksum 74806c801e16: Download complete 74806c801e16: Pull complete 3d1f74f29f71: Pull complete d43c7c0f2b47: Pull complete Digest: sha256:3507b43ad7514463538dee9dcbfb18459116a5caaf9fb10871e83e9a11b34982 Status: Downloaded newer image for mcr.microsoft.com/azureiotedge-diagnostics:1.4.1 WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested exec /usr/bin/dotnet: exec format error
Getting following error as an output of : sudo iotedge check --verbose
{
"additional_info": {
"aziot_edged_version": "1.4.1",
"docker_version": "20.10.17+azure-3",
"now": "2022-09-15T14:52:07.319279575Z",
"os": {
"arch": "arm",
"bitness": 32,
"id": "raspbian",
"version_id": "11"
},
"system_info": {
"disks": [],
"total_ram": "7.90 GiB",
"total_swap": "102.40 MiB",
"used_ram": "874.27 MiB",
"used_swap": "2.56 MiB"
}
},
"checks": {
"aziot-edge-version": {
"result": {
"result": "ok"
},
"additional_info": {
"actual_version": "1.4.1",
"expected_version": "1.4.1"
}
},
"aziot-edged-config-well-formed": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"aziot-version": {
"result": {
"result": "ok"
},
"additional_info": {
"actual_version": "1.4.1",
"expected_version": "1.4.1"
}
},
"certd-config-well-formed": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"certd-running": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"certs-match-private-keys": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"certs-preloaded": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"certs-read": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"check-agent-image": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"config-up-to-date": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"configs-up-to-date": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"connect-management-uri": {
"result": {
"result": "error",
"details": [
"WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"connect_management_uri": "unix:///var/run/iotedge/mgmt.sock",
"listen_management_uri": "fd://aziot-edged.mgmt.socket"
}
},
"container-connect-upstream-amqp": {
"result": {
"result": "error",
"details": [
"Container on the azure-iot-edge network could not connect to az-iot-hub.azure-devices.net:5671",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Amqp"
}
},
"container-connect-upstream-https": {
"result": {
"result": "error",
"details": [
"Container on the azure-iot-edge network could not connect to az-iot-hub.azure-devices.net:443",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Https"
}
},
"container-connect-upstream-mqtt": {
"result": {
"result": "skipped"
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Mqtt"
}
},
"container-default-connect-upstream-amqp": {
"result": {
"result": "error",
"details": [
"Container on the default network could not connect to az-iot-hub.azure-devices.net:5671",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Amqp"
}
},
"container-default-connect-upstream-https": {
"result": {
"result": "error",
"details": [
"Container on the default network could not connect to az-iot-hub.azure-devices.net:443",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Https"
}
},
"container-default-connect-upstream-mqtt": {
"result": {
"result": "skipped"
},
"additional_info": {
"diagnostics_image_name": "/azureiotedge-diagnostics:1.4.1",
"network_name": "azure-iot-edge",
"proxy": null,
"upstream_hostname": "az-iot-hub.azure-devices.net",
"upstream_port": "Mqtt"
}
},
"container-engine-dns": {
"result": {
"result": "warning",
"details": [
"Container engine is not configured with DNS server setting, which may impact connectivity to IoT Hub.\nPlease see https://aka.ms/iotedge-prod-checklist-dns for best practices.\nYou can ignore this warning if you are setting DNS server per module in the Edge deployment."
]
},
"additional_info": {
"container_engine_config_path": "/etc/docker/daemon.json",
"dns": null
}
},
"container-engine-ipv6": {
"result": {
"result": "ignored"
},
"additional_info": {
"actual_use_ipv6": null,
"expected_use_ipv6": false
}
},
"container-engine-logrotate": {
"result": {
"result": "ok"
},
"additional_info": {
"daemon_config": {
"log-driver": "local",
"log-opts": {
"max-file": "3",
"max-size": "10m"
}
}
}
},
"container-engine-uri": {
"result": {
"result": "ok"
},
"additional_info": {
"docker_host_arg": "unix:///var/run/docker.sock",
"docker_server_version": "20.10.17+azure-3"
}
},
"container-local-time": {
"result": {
"result": "error",
"details": [
"Could not query local time inside container",
"docker returned exit status: 1, stderr = WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested\nexec /usr/bin/dotnet: exec format error\n"
]
},
"additional_info": {
"actual_duration": null,
"diff": null,
"expected_duration": null
}
},
"container-resolve-parent-hostname": {
"result": {
"result": "ignored"
},
"additional_info": {}
},
"edge-agent-storage-mounted-from-host": {
"result": {
"result": "warning",
"details": [
"The edgeAgent module is not configured to persist its /tmp/edgeAgent directory on the host filesystem.\nData might be lost if the module is deleted or updated.\nPlease see https://aka.ms/iotedge-storage-host for best practices."
]
},
"additional_info": {
"container_directories": [
"/var/run/iotedge/mgmt.sock",
"/var/run/iotedge/workload.sock"
],
"storage_directory": "/tmp/edgeAgent"
}
},
"edge-hub-storage-mounted-from-host": {
"result": {
"result": "error",
"details": [
"Could not check current state of edgeHub container",
"docker returned exit status: 1, stderr = Error: No such object: edgeHub\n"
]
},
"additional_info": {
"container_directories": null,
"storage_directory": null
}
},
"est-identity-and-bootstrap-certificate-expiry": {
"result": {
"result": "ignored"
},
"additional_info": {
"bootstrap_certificate_info": null,
"identity_certificate_info": null
}
},
"est-server-https": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"host-connect-dps-endpoint": {
"result": {
"result": "ignored"
},
"additional_info": {
"dps_endpoint": null,
"dps_hostname": null,
"proxy": null
}
},
"host-connect-iothub-amqp": {
"result": {
"result": "ok"
},
"additional_info": {
"iothub_hostname": "az-iot-hub.azure-devices.net",
"port_number": 5671,
"proxy": null
}
},
"host-connect-iothub-https": {
"result": {
"result": "ok"
},
"additional_info": {
"iothub_hostname": "az-iot-hub.azure-devices.net",
"port_number": 443,
"proxy": null
}
},
"host-connect-iothub-mqtt": {
"result": {
"result": "ok"
},
"additional_info": {
"iothub_hostname": "az-iot-hub.azure-devices.net",
"port_number": 8883,
"proxy": null
}
},
"host-local-time": {
"result": {
"result": "ok"
},
"additional_info": {
"offset": 0
}
},
"hostname": {
"result": {
"result": "ok"
},
"additional_info": {
"config_hostname": "raspberrypi",
"machine_hostname": "raspberrypi"
}
},
"identity-certificate-expiry": {
"result": {
"result": "ignored"
},
"additional_info": {
"certificate_info": null,
"provisioning_mode": "manual-other"
}
},
"identityd-config-well-formed": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"identityd-running": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"key-pairs-read": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"keyd-config-well-formed": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"keyd-running": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"local-ca-certificate-expiry": {
"result": {
"result": "ignored"
},
"additional_info": {
"certificate_info": null
}
},
"parent_hostname": {
"result": {
"result": "ignored"
},
"additional_info": {
"config_parent_hostname": null
}
},
"proxy-settings": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"tpmd-config-well-formed": {
"result": {
"result": "ok"
},
"additional_info": {}
},
"tpmd-running": {
"result": {
"result": "ignored"
},
"additional_info": {}
}
}
}
This is a known issue with v1.4.1, and will be fixed soon.
For a workaround, please use: https://github.com/Azure/iotedge/issues/6676#issuecomment-1248699565
Did you follow the steps to install Azure IoT Edge for Raspberry Pi OS? From the logging, it seems that you're trying to pull amd64 images instead of the ARM images needed on a Raspberry.