A module Identity does not exist for this module
See original GitHub issueA working module deployed and configured gets removed its identity as a separate module. This affects the behavior of the solution as it expects data in the twin to properly work. Modules are named as NamedModule (Uppercase first letter) and after the unexpected change, a new namedModule module identity is created. A workaround to recover the module is to create a new identity module manually with NamedModule name, although twin properties are removed and it impacts any dependant state. This workaround is not acceptable in a production environment.
Expected Behavior
a functional module should not be changed, and module identity should remain as initially created.
Current Behavior
A module lost while connected to IoTHub its identity and it is created as a separate module
Steps to Reproduce
No specific steps defined this state. A working module moves into this behavior after some time. It may happen when new modules are deployed. We have experienced this behavior many times, before and after GA.
Context (Environment)
Device (Host) Operating System
Raspberry Pi Stretch
Architecture
arm32
Container Operating System
Linux
Runtime Versions
iotedged
iotedge 1.0.1 (6e5e86dcf0c9a3732fc72a64d9ec9b0fcb2d6fad)
Edge Agent
mcr.microsoft.com/azureiotedge-agent:1.0
Edge Hub
mcr.microsoft.com/azureiotedge-hub:1.0
Docker
Client: Version: 18.06.0-dev API version: 1.37 Go version: go1.10.2 Git commit: daf021fe Built: Wed Jun 27 00:53:52 2018 OS/Arch: linux/arm Experimental: false Orchestrator: swarm
Server: Engine: Version: dev API version: 1.37 (minimum version 1.12) Go version: go1.10.2 Git commit: 9aac187 Built: Tue Jun 26 23:27:27 2018 OS/Arch: linux/arm Experimental: false
Logs
Additional Information
SDK 1.18 https://github.com/Azure/azure-iot-sdk-csharp/releases/tag/2018-8-17
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top GitHub Comments
We are expecting a new release in the next few days.
Which is the recommended way to update an existing gateway?