Browse Source

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>
changes/34/719434/3
Dan Voiculeasa 1 year ago
parent
commit
f666e60281
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      ceph/ceph-manager/ceph-manager/ceph_manager/constants.py
  2. +1
    -1
      ceph/ceph-manager/ceph-manager/ceph_manager/server.py

+ 3
- 0
ceph/ceph-manager/ceph-manager/ceph_manager/constants.py 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

+ 1
- 1
ceph/ceph-manager/ceph-manager/ceph_manager/server.py 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


Loading…
Cancel
Save