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 <delfinogomes.curadofilho@windriver.com>
Change-Id: I3b2e4bf937f6d2ed47c279935020232eaf0ee88d
This commit is contained in:
Delfino Curado 2021-09-15 11:41:13 -04:00
parent 8c903d0914
commit c254cb1e8e
1 changed files with 1 additions and 2 deletions

View File

@ -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)