NethServer / dev

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

Set FQDN action runs on wrong node #6943

Closed nrauso closed 2 weeks ago

nrauso commented 3 weeks ago

In a NS8 cluster with 2 nodes (leader + worker) wrongly having the same FQDN, if you try to change the worker FQDN the activity is actually performed on the leader node

Steps to reproduce

Expected behavior

The worker node should have its FQDN changed

Actual behavior

The set-fqdn action actually runs on leader node, changing its FQDN

The workaround is to run directly the action from a terminal:

api-cli run node/2/set-fqdn --data '{"hostname":"newname","domain":"domain.org"}'

Components

DavidePrincipi commented 2 weeks ago

Test case

Fixed in core 2.8.3-dev.1. Test the bug isn't reproducible.

DavidePrincipi commented 2 weeks ago

VERIFIED

DavidePrincipi commented 2 weeks ago

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