Tags: gordonwang0/iotedge
Tags
[k8s public preview] Pull in 1.0.9.4 fixes, update images and Helm ch… …arts (Azure#3272) * Fix edge agent connection 1.0.9 (Azure#3172) * Recreate connection after every exception * Fix: Edgelet unable to pull using certain passwords - cherry-pick into 1.0.9. (Azure#3206) (Azure#3209) Some passwords (especially generated passwords) can be used by docker CLI, but not by Edgelet. There is a chance of this happening when passwords contain `?` or `~`. It's not explicitly stated in the [Docker API](https://docs.docker.com/engine/api/v1.40/#section/Authentication), but the [code](https://github.com/docker/cli/blob/master/cli/command/registry.go#L50) is written such that the `X-Registry-Auth` header is expected to be URL safe (RFC 4648) base64. * Agent reported state as "406" when modules are in backoff. (Azure#3244) To reproduce 1. create a deployment which has a module which fails to launch, like an incorrect image name, or some weird mount Docker doesn't like. 2. Look at the reported status of the edge runtime - If you are lucky, you will see the real error. 3. Let the runtime run for long enough that the "OrderedRetryPlanRunner" puts the module on backoff. 4. Look at the reported status of the edge runtime - You won't see the real error message from the failure - you will see a "406 -- The device is offline or not sending status reports" The root cause is that every reconcile starts with status=Unknown(406), and when a module is in backoff, the status doesn't update. So it goes: reconcile loop 1: module command fails, error is reported reconcile loop 2: module is in backoff now, Unknown is reported ... reconcile loop n: module command is attempted again, error is reported reconcile loop n+1: module is in backoff again, Unknown is reported. User is more likely to see "406 -- The device is offline or not sending status reports" which is not cool. This has been seen before, one example: Azure#2066 The fix here is to keep track of status in Agent and report current status until it changes (either via a new error * Update dockerfiles for arm32 & amd64, update Helm charts. * Fix teh edge agent tests. Co-authored-by: Anca Antochi <[email protected]>
Prepare release1.0.9.4 (Update edgelet version) (Azure#3245) # 1.0.9.4 (2020-07-17) ## Edge Agent ### Bug Fixes * Reestablish cloud connection after an exception is received ([212f1e0](Azure@212f1e0)) * Update [Linux ARM32 security vulnerable issue](https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-June/005457.html) to OS version 2.1.19-bionic-arm32v7 ([51e707c](Azure@51e707c)) ## Edge Hub ### Bug Fixes * Get cloud connection if adding device with subscriptions ([7a7b550](Azure@7a7b550)) * Update [Linux ARM32 security vulnerable issue](https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-June/005457.html) to OS version 2.1.19-bionic-arm32v7 ([51e707c](Azure@51e707c)) ## iotedged ### Bug Fixes * Edgelet unable to pull using certain passwords ([698bec5](Azure@698bec5)) ## Other Module Images ### Bug Fixes * Update [Linux ARM32 security vulnerable issue](https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-June/005457.html) to OS version 2.1.19-bionic-arm32v7 ([51e707c](Azure@51e707c))
Prepare release1.0.10-rc1 (Azure#3137) # 1.0.10-rc1 (2020-06-26) ## Edge Agent ### Features * Update codebase to dotnet 3.1. [f87a18a](Azure@f87a18a) * Install Trust Bundle. [4f85dcc](Azure@4f85dcc) * Add metrics upload to IoTHub feature [eff5c85](Azure@eff5c85) * Add "Cmd", "Entrypoint", and "WorkingDir" translations for Kubernetes. [7cbc607](Azure@7cbc607) * Add Experimental k8s create option feature for pod security context, resources, volumes, nodeSelector, and strategy. [cf2eba9](Azure@cf2eba9) [23b40e1](Azure@23b40e1) * Update SDK version {Microsoft.Azure.Devices.1.21.0, Microsoft.Azure.Devices.Client.1.26.0}. [5148ee7](Azure@5148ee7) * Preserve any extra properties in createOptions set by the user (NVidia support through moby) [5a6d506](Azure@5a6d506) [a747950](Azure@a747950) ### Bug Fixes * Reprovision device for all protocols when the connection status change reason is Bad_Credential. [3601a56](Azure@3601a56) * Fix vulnerability issues for docker images. [d88fa52](Azure@d88fa52) [7873079](Azure@7873079) ## Edge Hub ### Features * Update codebase to dotnet 3.1. [f87a18a](Azure@f87a18a) * Install Trust Bundle. [4f85dcc](Azure@4f85dcc) * Add metrics upload to IoTHub feature . [eff5c85](Azure@eff5c85) * Unify TLS protocol parsing. [f319228](Azure@f319228) * Add support for priorities on routes (limited to 0-9). [9cf0203](Azure@9cf0203) * Add support for Time-To-Live on routes. [2662d9c](Azure@2662d9c) * Add support module booting order in IoT Edge [6fce17b](Azure@6fce17b) * Update SDK version {Microsoft.Azure.Devices.1.21.0, Microsoft.Azure.Devices.Client.1.26.0}. [5148ee7](Azure@5148ee7) * Add array support in twin [8a69b77](Azure@8a69b77) ### Bug Fixes * Fix vulnerability issues for docker images. [d88fa52](Azure@d88fa52) [7873079](Azure@7873079) ## iotedged ### Features * Update Rust to stable 1.42.0 [cf01536](Azure@cf01536) * Support X.509 authentication type in external provisioning. [0a43fdb](Azure@0a43fdb) * Add support for manual X.509 provisioning. [b872869](Azure@b872869) * Better PVC story for iotedged Kubernetes. [debf498](Azure@debf498) * Update k8s-openapi to v0.7.1 [877c8e8](Azure@877c8e8) * Unify TLS protocol parsing. [f319228](Azure@f319228) * Add support to specify min TLS version in config.yaml [6b1e19b](Azure@6b1e19b)
Prepare for release 1.0.9.3 ## Edge Agent ### Bug Fixes * Remove device cloud connection upon device disconnection ([60b125e](Azure@60b125e)) * Upgrade Microsoft.Azure.Devices.Client from 1.23.1 to 1.23.2 ([0e58900](Azure@0e58900)) ## Edge Hub ### Bug Fixes * Remove device cloud connection upon device disconnection ([fb33e62](Azure@fb33e62)) * Upgrade Microsoft.Azure.Devices.Client from 1.23.1 to 1.23.2 ([0e58900](Azure@0e58900))
[k8s] [public preview] Fix Azure Stack issues. (Azure#3066) * [k8s] Azure stack issues. (Azure#3042) * Remove iothub label. This can grow over 63 characters, and we don't strictly need this label - edge on k8s objects can be identifed by device label. * Install certs in Agent * Optionally mount host OS in iotedged * Get Docker files correct for all platforms, add comment. * fix build errors. * Change to evade StyleCop exception. * Updates to ARM base * Update Helm chart version. * Update image version
Prepare for release 1.0.9 (Azure#2917) Prepare for release 1.0.9 * Update [Windows IoT Core ARM32 version compatibility issue](https://support.microsoft.com/en-us/help/4542617/you-might-encounter-issues-when-using-windows-server-containers-with-t) to OS version 10.0.17763.1158 ([3f42583](Azure@3f42583)) * Update [Windows Server 2019 AMD64 version compatibility issue](https://support.microsoft.com/en-us/help/4542617/you-might-encounter-issues-when-using-windows-server-containers-with-t) to tag version 2.1.17-nanoserver-1809 ([9552413](Azure@9552413)) * Hotfix [Linux AMD64 security vulnerability](https://people.canonical.com/~ubuntu-security/cve/2020/CVE-2020-1967.html) by updating the dotnet core runtime image to use 2.1.17-alpine3.11 ([9c3d240](Azure@9c3d240))
[k8s public preview] Cherry pick changes for beta7 (Azure#2723) * [k8s] add ability set fsGroup and nodeSelector for iotedged deployment (Azure#2696) * [k8s] Device and hubname can start with numerical values. (Azure#2701) Make device and hubname selector and labels all match * [k8s] Prepare charts for beta7 (Azure#2716) * Prepare charts for beta7 * Extend timeout for GetSystemInfo where we don't need it to fail fast.. Co-authored-by: David Robson <[email protected]> Co-authored-by: Venkat Yalla <[email protected]> Co-authored-by: David Robson <[email protected]>
PreviousNext