Closed reubenmiller closed 3 weeks ago
The device in question had an invalid nameserver entry in the /etc/resolv.conf
due to misconfiguration of the router which the device was using for connectivity. 2/3 of the nameserver addresses were valid, so this meant that occasionally the dns resolution would fail.
Fixing the erroneous nameserver entry removed the error, however there is the question whether the dns resolver being used by thin-edge.io should be changed in order to be more reliable in the face of misconfiguration as other products such as curl
were found to handle this situation reliably.
Closing as the device should be configured with correct DNS settings.
Describe the bug
The Cumulocity IoT install software operation Operation was stuck in EXECUTING status due to a dns lookup error.
It seems that this unexpected error was not properly captured and the operation was not transitioned to the
FAILED
status.To Reproduce
The bug has not been able to be easily reproduced but the steps
Expected behavior
The operation should be set to
FAILED
if any errors occur. In this case there was a dns lookup issue which was resolved by restarting thetedge-mapper-c8y
.Screenshots
Environment (please complete the following information):
Debian GNU/Linux 11 (bullseye)
Raspberry Pi Zero 2 W Rev 1.0
Linux pippin 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
tedge 0.12.1~365+g5a52630
Additional context
Logs