Browse Source

ceph-manager: update mgr-restful-plugin endpoint

ceph-rest-api was removed in Ceph Mimic. Update endpoint to remove
 "api/v0.1" path that's not needed by ceph-mgr restful plugin.

Story: 2003605
Task: 28860

Depends-On: I1952a12032bcd08d17786bd817d1e15ce36d5afd
Change-Id: I7c6bff4d8986c1fd75c3c9d353557c5eafcdcde0
Co-Authored-By: Daniel Badea <daniel.badea@windriver.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
changes/20/680920/1
Changcheng Liu 3 years ago
committed by Daniel Badea
parent
commit
a1144eceed
  1. 2
      ceph/ceph-manager/centos/build_srpm.data
  2. 2
      ceph/ceph-manager/ceph-manager/ceph_manager/server.py

2
ceph/ceph-manager/centos/build_srpm.data

@ -1,3 +1,3 @@
SRC_DIR="ceph-manager"
COPY_LIST_TO_TAR="files scripts"
TIS_PATCH_VER=4
TIS_PATCH_VER=5

2
ceph/ceph-manager/ceph-manager/ceph_manager/server.py

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

Loading…
Cancel
Save