From c254cb1e8e85381e029370851e36900e24c8d63b Mon Sep 17 00:00:00 2001 From: Delfino Curado Date: Wed, 15 Sep 2021 11:41:13 -0400 Subject: [PATCH] Remove ceph-mon port from URL Changed _format_ceph_mon_address to just use the ip_address for Ceph monitors. This is necessary to enable msgr2. Story: 2009074 Task: 43466 Signed-off-by: Delfino Curado Change-Id: I3b2e4bf937f6d2ed47c279935020232eaf0ee88d --- sysinv/sysinv/sysinv/sysinv/puppet/ceph.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sysinv/sysinv/sysinv/sysinv/puppet/ceph.py b/sysinv/sysinv/sysinv/sysinv/puppet/ceph.py index 8a3d7ae7d0..8581c7466c 100644 --- a/sysinv/sysinv/sysinv/sysinv/puppet/ceph.py +++ b/sysinv/sysinv/sysinv/sysinv/puppet/ceph.py @@ -302,8 +302,7 @@ class CephPuppet(openstack.OpenstackBasePuppet): } def _format_ceph_mon_address(self, ip_address): - return utils.format_ceph_mon_address( - ip_address, self.SERVICE_PORT_MON) + return utils.format_url_address(ip_address) def _get_host_ceph_mon(self, host): ceph_mons = self.dbapi.ceph_mon_get_by_ihost(host.uuid)