Forum Discussion
edgehub container not deploying
"MessageBody">Hello,
We are currently trying to deploy Microsoft Connected cache for enterprise in public preview running on Windows. Installation is on Windows Server 2022 Standard and every time facing the same issue, edgeagent container is deployed correctly but edgehub or mcc containers are never deployed.
When I run sudo iotedge check --verbose everything is checked correctly only with one exclusion:
× production readiness: Edge Hub's storage directory is persisted on the host filesystem - Error
Could not check current state of edgeHub container
caused by: Could not check current state of edgeHub container
caused by: docker returned exit status: 1, stderr = Error: No such object: edgeHub
Which is caused by missing edgehub container. In edgeagent.log is occurring this warning:
[Microsoft.Azure.Devices.Edge.Agent.Core.ConfigSources.BackupConfigSource] - Empty edge agent config was received. Attempting to read config from backup (/tmp/edgeAgent/backup.json) instead
It seems to me that edgeagent connects to IOT Hub successfully but cannot find/download the deployment manifest and because of that will not even try to install edgehub and mcc container/module. I already tried deployment many times, even manually from the docker, verified firewall ACLs and no blocked communication is happening there. I also tried to switch from AMQP to HTTPS via proxy, but the state is still the same. Reprovision or restart also doesn't help.
1 Reply
- Andy_Rivas
Microsoft
Apologies for the delay. Can you look at the installation logs for any errors? It's just a Winserver 2022 error or do have you seen this on Win11 for example? Possibly a proxy error not being able to connect to the service?