iotedge: Edge running on AKS is not updating module images with new tag and version in IotHub
Hey all,
We have an edge device running on AKS and our release pipeline on every deployment updates the image tag as well as module version. We are using automatic deployments. I see that the deployments are being applied on the devices, but the module image is actually not updating iot hub.
I have been using Helm chart from below https://edgek8s.blob.core.windows.net/staging
Screenshot for reference:
Edge agent version: Version - 1.0.10-dev.35780923 (0d09dc260e49baed02df9021a0046610d081bc0a) Edge agent image: azureiotedge/azureiotedge-agent:0.1.0-beta11 Iotedged image: azureiotedge/azureiotedge-iotedged:0.1.0-beta11
Also, Iotedged pod seems to be generating every log as error.
Expected Behavior
Tell us what should happen Module images should be correctly updated whenever a new deployment is made with different image tag.
Current Behavior
Module images are still showing old values while the deployment is already applied to edge device.
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
- Setup an edge device in AKS cluster
- Create a deployment and apply it to the device.
- Create another deployment with same priority and update the module tag to a higher version.
- Validate image tag in Iot Hub.
Context (Environment) - PreProd
Output of iotedge check
Click here
<Paste here between the triple backticks>
Device Information
- Host OS [e.g. Ubuntu 16.04, Ubuntu 18.04, Windows IoT Core]: Ubuntu 18.04
- Architecture [e.g. amd64, arm32, arm64]: amd64
- Container OS [e.g. Linux containers, Windows containers]: Linux
Runtime Versions
- iotedged [run
iotedge version
]: azureiotedge/azureiotedge-iotedged:0.1.0-beta11 - Edge Agent [image tag (e.g. 1.0.0)]: azureiotedge/azureiotedge-agent:0.1.0-beta11
- Edge Hub [image tag (e.g. 1.0.0)]: 1.0.0
- Docker/Moby [run
docker version
]: Docker
Note: when using Windows containers on Windows, run docker -H npipe:////./pipe/iotedge_moby_engine version
instead
Logs
iotedged logs
<Paste here between the triple backticks>
edge-agent logs
<Paste here between the triple backticks>
edge-hub logs
<Paste here between the triple backticks>
Additional Information
Please provide any additional information that may be helpful in understanding the issue.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (9 by maintainers)
Here is the newest private image to use:
darobs/azureiotedge-agent:20210317.7
We were able to repro and prepping a fix in the next beta release.