Closed MPapst closed 4 years ago
Hello @MPapst,
This is telling me it was unable to connect to the TPM device. Does the iotedge user (default user for the daemon) have access to it?
@darobs, you are rights... it was missing the rights for the tpm. For the records: I introduced a new tpm group that owns the tpm as a group (instead of the root group) and added the iotedge user to that group.
Isn't that something the installation script can/should take care of?
Found it in the documentation - closing this issue
Expected Behavior
When creating a DPS Individual enrollment with tpm the device should be able to provision itself using the dps.
Current Behavior
IoTEdge failes to use the tpm.
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
IoT Edge failes to start with the following output in journalctl:
Context (Environment)
Output of
iotedge check
Click here
``` √ config.yaml is well-formed - OK ‼ config.yaml has well-formed connection string - Warning Device not configured with manual provisioning, in this configuration 'iotedge check' is not able to discover the device's backing IoT Hub. To run connectivity checks in this configuration please specify the backing IoT Hub name using --iothub-hostname switch if you have that information. If no hostname is provided, all hub connectivity tests will be skipped. √ container engine is installed and functional - OK √ config.yaml has correct hostname - OK × config.yaml has correct URIs for daemon mgmt endpoint - Error Error: could not execute list-modules request: an error occurred trying to connect: Connection refused (os error 111) ‼ latest security daemon - Warning Installed IoT Edge daemon has version 1.0.9.1 but 1.0.9 is the latest stable version available. Please see https://aka.ms/iotedge-update-runtime for update instructions. √ host time is close to real time - OK √ container time is close to host time - OK ‼ DNS server - Warning Container engine is not configured with DNS server setting, which may impact connectivity to IoT Hub. Please see https://aka.ms/iotedge-prod-checklist-dns for best practices. You can ignore this warning if you are setting DNS server per module in the Edge deployment. ‼ production readiness: certificates - Warning The Edge device is using self-signed automatically-generated development certificates. They will expire in 89 days (at 2020-08-11 09:51:11 UTC) causing module-to-module and downstream device communication to fail on an active deployment. After the certs have expired, restarting the IoT Edge daemon will trigger it to generate new development certs. Please consider using production certificates instead. See https://aka.ms/iotedge-prod-checklist-certs for best practices. √ production readiness: container engine - OK ‼ production readiness: logs policy - Warning Container engine is not configured to rotate module logs which may cause it run out of disk space. Please see https://aka.ms/iotedge-prod-checklist-logs for best practices. You can ignore this warning if you are setting log policy per module in the Edge deployment. × production readiness: Edge Agent's storage directory is persisted on the host filesystem - Error Could not check current state of edgeAgent container × production readiness: Edge Hub's storage directory is persisted on the host filesystem - Error Could not check current state of edgeHub container ```Device Information
Runtime Versions
iotedge version
]: 1.0.9.1docker version
]: 3.0.11+azureAdditional Notes
From iotedge check, there seem to be a bug with the version recognition :)
I am not sure where this comes from, its a fresh installation: