Closed reubenmiller closed 6 months ago
An existing system test was modified to include the check for this particular bug. See the PR for the test name. https://github.com/thin-edge/thin-edge.io/pull/2865/files
QA has thoroughly checked the bug and here are the results:
Describe the bug
An erroneous warning message is displayed when calling
tedge connect c8y
when connecting to a Cumulocity IoT domain which warns about removing the certificate from the format tenant, even though the domains are the same.It is likely that this error false positive was introduced in https://github.com/thin-edge/thin-edge.io/issues/2787 (but this is unconfirmed).
To Reproduce
Using an already configured thin-edge.io device connect with c8y, run
Inspect the console output.
Expected behavior
Connecting to the same Cumulocity IoT instance should not print a warning about switching Cumulocity IoT domains.
Screenshots
Environment (please complete the following information):
Debian GNU/Linux 12 (bookworm)
Raspberry Pi 5 Model B Rev 1.0
Linux rpi5-d83add9f145a 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
tedge 1.0.2~269+gc85c4ae
Additional context
Full logs