NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Join of worker node fails with same FQDN as leader #6962

Closed DavidePrincipi closed 3 days ago

DavidePrincipi commented 5 days ago

The join cluster procedure prompts to review the node FQDN as the first step. For "unknown reasons" (maybe in a hurry), I might mistakenly enter the leader FQDN.

image

Steps to reproduce

Expected behavior

A clear error message should be displayed, indicating that the node FQDN is the same as the leader node's FQDN, and suggesting that a different FQDN must be chosen.

Actual behavior

A generic "Invalid response" error message is displayed, but the error details are missing.

image

Components

Core 2.8.4


Thanks to @nrauso

DavidePrincipi commented 5 days ago

Test case

Install core 2.8.5-dev.3 and try to join the node as worker, as explained by the bug description.

nrauso commented 4 days ago

test case: VERIFIED

Now, the join procedure displays a clear error message if you attempt to join a worker using the same FQDN as the leader:

join01 join02

After encountering the error, you can return to the UI, correct the FQDN, and complete the join procedure without any issues.

DavidePrincipi commented 3 days ago

Released in https://github.com/NethServer/ns8-core/releases/tag/2.8.5