]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-handler: use haproxy maintenance for rgw restarts
authorSeena Fallah <seenafallah@gmail.com>
Mon, 10 Jun 2024 10:11:55 +0000 (12:11 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 27 Jun 2024 07:42:39 +0000 (09:42 +0200)
commit4fa9057a3ebb4c8929df23c1a2b12554eb3957e4
treec07a2a575f5e49519aa5e1bdae6d69b062ce2c37
parent59198f5bcdf2eca5cc99c25951d93513c508c01e
ceph-handler: use haproxy maintenance for rgw restarts

RGW currently restarts without waiting for existing connections to
close. By adjusting the HAProxy weight before the restart, we can
ensure that no active connections are disrupted during the restart
process.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
group_vars/all.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-handler/templates/restart_rgw_daemon.sh.j2