]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: mon public network updating
authorTimothy Q Nguyen <timqn22@gmail.com>
Fri, 7 Nov 2025 02:11:30 +0000 (18:11 -0800)
committerTimothy Q Nguyen <timqn22@gmail.com>
Wed, 4 Mar 2026 18:33:20 +0000 (10:33 -0800)
commit20990a0eb86ded1de655e4dc1089d86ca086b195
tree2453108c9729bfdef535ae73c42a81a1e0b4c907
parente947b0f97f930a052ef84b8dcb382fca69649b7b
mgr/cephadm: mon public network updating

Currently when a new public network is set for mon daemons and
the mon daemons are restarted, the new public network is still
not applied. This is because the public network config doesn't
update dynamically and it requires the mon daemon to be
redeployed for the change to take effect. People assume that
restarting the mon daemon should apply the change so my code
adds a function to check if the mon daemon public network
config has been changed and has not been applied yet. This
function is then called in _daemon_action to reroute a restart
request to the redeploy request process, essentially turning the
restart into a redeploy to update the public network.

Signed-off-by: Timothy Q Nguyen <timqn22@gmail.com>
src/pybind/mgr/cephadm/module.py