Change ceph manager port

Free port 5001 to be used by keystone.

Story: 2007347
Task: 39393

Depends-On: Id789591bf22931494e970aaf3b12e9e5cbe223fa
Change-Id: I45ee810c9b4686d98c246c3a73f21f0de4ba76a1
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
This commit is contained in:
Dan Voiculeasa 2020-04-10 16:53:34 +03:00
parent b7a0f46685
commit f666e60281
2 changed files with 4 additions and 1 deletions

View File

@ -91,3 +91,6 @@ SB_TIER_CEPH_POOLS = sysinv_constants.SB_TIER_CEPH_POOLS
# System
SYSTEM_MODE_SIMPLEX = sysinv_constants.SYSTEM_MODE_SIMPLEX
# Port on which ceph manager and ceph-mgr listens
CEPH_MGR_PORT = sysinv_constants.CEPH_MGR_PORT

View File

@ -140,7 +140,7 @@ class Service(SysinvConductorUpgradeApi, service.Service):
topic=constants.SYSINV_CONDUCTOR_TOPIC))
self.ceph_api = wrapper.CephWrapper(
endpoint='https://localhost:5001')
endpoint='http://localhost:{}'.format(constants.CEPH_MGR_PORT))
# Get initial config from sysinv and send it to
# services that need it before starting them