question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A module Identity does not exist for this module

See original GitHub issue

A 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.

imagen

imagen

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:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
myagleycommented, Sep 20, 2018

We are expecting a new release in the next few days.

0reactions
carloshmcommented, Sep 26, 2018

Version 1.0.2 of the runtime was just released. This release includes a fix for this issue. I’m going to close this issue for now, but please feel free to reopen. Thanks.

Which is the recommended way to update an existing gateway?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get started with IoT Hub module identity and module twin ...
Learn how to create module identities and update module twins using the Azure IoT Hub SDKs for .NET.
Read more >
Module deployed at Azure IoTEdge Device does not ...
Module deployed at Azure IoTEdge Device does not receive module twin changes using twin.on('properties.desired', function(delta){...}); . It ...
Read more >
Azure IoT Edge Error Unable to process module add or ...
Hi,. I'm facing a problem since 2 weeks. ... "Unable to process module devicemonitor add or update as the module identity could not...
Read more >
How to create Azure IoT Module Identities via DPS
Module Identities have their own credentials, something an Azure IoT Edge module does not have. This way, Module Identities can send their ...
Read more >
Azure IoT Edge · Community - Azure Feedback
If the development team is busy, some guidance on how does the module(who understand native protocols and gives device identity) receive the connection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found