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:
parent
8c903d0914
commit
c254cb1e8e
|
@ -302,8 +302,7 @@ class CephPuppet(openstack.OpenstackBasePuppet):
|
||||||
}
|
}
|
||||||
|
|
||||||
def _format_ceph_mon_address(self, ip_address):
|
def _format_ceph_mon_address(self, ip_address):
|
||||||
return utils.format_ceph_mon_address(
|
return utils.format_url_address(ip_address)
|
||||||
ip_address, self.SERVICE_PORT_MON)
|
|
||||||
|
|
||||||
def _get_host_ceph_mon(self, host):
|
def _get_host_ceph_mon(self, host):
|
||||||
ceph_mons = self.dbapi.ceph_mon_get_by_ihost(host.uuid)
|
ceph_mons = self.dbapi.ceph_mon_get_by_ihost(host.uuid)
|
||||||
|
|
Loading…
Reference in New Issue