]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: adding HA support for mgmt-gateway and ouath2-proxy
authorRedouane Kachach <rkachach@ibm.com>
Thu, 17 Oct 2024 08:42:27 +0000 (10:42 +0200)
committerRedouane Kachach <rkachach@ibm.com>
Thu, 17 Oct 2024 08:42:27 +0000 (10:42 +0200)
commit0392505386e8f379d0ae7a2bc9f81cbd5e4e07eb
tree66e757c531a8264a1b040cfa79606cc41f1fc24b
parentd0db937cbb378cc2fb95c9080ee5b8e8281a603d
mgr/cephadm: adding HA support for mgmt-gateway and ouath2-proxy

adding HA support for mgmt-gateway and ouath2-proxy. In addition, logic
is add to prevent unnecessary daemons restart during mgr failover.
Previously, without the management gateway, some daemons, such as
Prometheus, had an explicit dependency on the manager because we
needed to point to the active manager. With the management gateway,
this explicit dependency is no longer necessary, as it automatically
handles routing requests to the active manager.

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/services/mgmt_gateway.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/templates/services/grafana/grafana.ini.j2
src/pybind/mgr/cephadm/templates/services/mgmt-gateway/external_server.conf.j2
src/pybind/mgr/cephadm/templates/services/mgmt-gateway/internal_server.conf.j2
src/pybind/mgr/cephadm/templates/services/mgmt-gateway/nginx.conf.j2
src/python-common/ceph/deployment/service_spec.py