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>
This commit is contained in:
Changcheng Liu 2019-02-02 22:02:14 +08:00 committed by Daniel Badea
parent ea0a829ab2
commit a1144eceed
2 changed files with 2 additions and 2 deletions

View File

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

View File

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