bridge status is not published as a service to the cloud in 1.1.0
Closed this issue · 1 comments
Describe the bug
thin-edge.io 1.1.0 no longer publishes the mosquitto-c8y-bridge
service status to the cloud.
This is a breaking change, as the service was previously published and was useful when using multiple cloud connections, as you could monitor the status of the other clouds from a cloud with an active connection (e.g. monitor az from c8y, or vice versa).
To Reproduce
- Install thin-edge.io v1.1.0
- Configure to connect to Cumulocity IoT
- Open the Services page in the Device Management UI App
- Observe that a service named "mosquitto-c8y-bridge" is not present
Expected behavior
It is expected that the status of each bridge connection is sent to the configured clouds (if the bridge is up of course)
Screenshots
Below shows a screenshot from the v1.1.0 showing the missing service:
![image](https://private-user-images.githubusercontent.com/3029781/333509736-fe798260-dba1-4693-b277-a8db100285ed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NTc5NjgsIm5iZiI6MTcyNTc1NzY2OCwicGF0aCI6Ii8zMDI5NzgxLzMzMzUwOTczNi1mZTc5ODI2MC1kYmExLTQ2OTMtYjI3Ny1hOGRiMTAwMjg1ZWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDEwNzQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjUzZjI3NjAzMGY2MTdhZTc0MWE2NjkyNTcwMTA3MDk4NTM3YjYzYzJlZmVlNTRmODM3N2M1N2JlYWQwODYyOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.bzVYC2DRGqXbAM62qtWm-p-G8LxMgcY9nfq8-Nt78hY)
Downgrading to thin-edge.io 1.0.1 shows the service again:
![image](https://private-user-images.githubusercontent.com/3029781/333510298-08bdeafa-5a4f-47fa-8e0f-f792fc3b228c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NTc5NjgsIm5iZiI6MTcyNTc1NzY2OCwicGF0aCI6Ii8zMDI5NzgxLzMzMzUxMDI5OC0wOGJkZWFmYS01YTRmLTQ3ZmEtOGUwZi1mNzkyZmMzYjIyOGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDEwNzQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjljNGJlZGQ1ODlmMmVlMjk1NWE2MjgwMjIxMTQ2MDkzNTVkNjU1M2Y4ZmVmYmI5OWU5OTU4NWQzMzMzNDY1MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.CTIqMjUYM7hxeEg8cAbLA_a7421kRf3LavLV6CW5M7A)
Environment (please complete the following information):
Property | Value |
---|---|
OS [incl. version] | Debian GNU/Linux 12 (bookworm) |
Hardware [incl. revision] | unknown |
System-Architecture | Linux 1c0d30ecf9f7 6.5.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 27 00:18:38 UTC 2024 aarch64 GNU/Linux |
thin-edge.io version | tedge 1.1.0 |
Additional context
QA has thoroughly checked the bug and here are the results:
-
Test for ticket exists in the test suite.
-
tests/RobotFramework/tests/cumulocity/service_monitoring/service_monitoring.robot
The test script is well-structured to verify the existence of an external identity and the status of the bridge service. -
QA has tested the bug and it's not reproducable anymore