You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an issue when changing the address in a config file when using HA/Raft mode doesn't update the values in bolt database. Took quite a while to debug.
Could be replicated at current HEAD at 1932a6d
Steps to replicate:
Start a controller in a raft mode with binding's address with a port(eg 443)
Stop the controller
Change the port of the binding's address to another(eg 4433)
Start the controller
Query /edge/client/v1/controllers/ and see that it outputs the old port
(Optional) just use a search within ctrl.db file for the old port and see that its unchanged
(Optional) Use ziti ops db explore ctrl-ha.db and see that ziti.controllers.ctrl1.apiAddresses.edge-client.0 still lists old address values[1] vs new ones [2].
[1]
ziti...apiAddresses.edge-client.0> list
Key Type Value
apiAddresses.url string https://127.0.0.1:443/edge/client/v1
apiAddresses.version string https://127.0.0.1:443/edge/client/v1
skipped: 0, limit: 100
nenkoru
changed the title
Ziti Controller doesn't update binding address in a bolt database after config changed
Ziti Controller in HA mode doesn't update binding address in a bolt database after config changed
Dec 12, 2024
Continuation of #2585.
I have encountered an issue when changing the address in a config file when using HA/Raft mode doesn't update the values in bolt database. Took quite a while to debug.
Could be replicated at current HEAD at 1932a6d
Steps to replicate:
/edge/client/v1/controllers/
and see that it outputs the old portziti ops db explore ctrl-ha.db
and see thatziti.controllers.ctrl1.apiAddresses.edge-client.0
still lists old address values[1] vs new ones [2].[1]
ziti...apiAddresses.edge-client.0> list Key Type Value apiAddresses.url string https://127.0.0.1:443/edge/client/v1 apiAddresses.version string https://127.0.0.1:443/edge/client/v1 skipped: 0, limit: 100
[2]
The text was updated successfully, but these errors were encountered: