]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Fix mgmt-gateway default port in get_port_start() 66450/head
authorRedouane Kachach <rkachach@ibm.com>
Fri, 28 Nov 2025 08:38:45 +0000 (09:38 +0100)
committerRedouane Kachach <rkachach@ibm.com>
Mon, 16 Mar 2026 10:05:16 +0000 (11:05 +0100)
commit0b8a27aa978d71b28c065d2ae30a1ad6b45cf825
tree6b55a43b95ef896edf225f0970ea401f55fc8f34
parentc5d947fe768e79505ab3ee4e094ef93df600f177
mgr/cephadm: Fix mgmt-gateway default port in get_port_start()

The mgmt-gateway port was already defaulted to 443 in most places, but
get_port_start() did not apply this default. Since the output of
get_port_start() is used both to configure the daemon ports which are
later used to to open them in firewalld, this inconsistency meant the
HTTPS port was not opened when firewalld service was active.

This change makes get_port_start() also default to port 443, ensuring
the daemon is configured correctly and the corresponding firewalld port
is opened as expected.

Fixes: https://tracker.ceph.com/issues/74015
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/tests/services/test_mgmt_gateway.py
src/python-common/ceph/deployment/service_spec.py