From 4d31b72aae78a38e37446c0e6506405e2485d19a Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Wed, 16 Jan 2019 18:56:24 +0800 Subject: [PATCH] Remove api/v0.1 to access to ceph mgr RESTful plugin "restapi base url"(ceph.conf) is removed from ceph Mimic version. remove the base url now. Story: 2003605 Task: 28860 Depends-On: Ibfbecf0a8beb38009b9d7192ca9455a841402040 Change-Id: If4bfad6dfde1285ff68a139f7a95b91cc51b19bb Signed-off-by: Changcheng Liu Signed-off-by: Daniel Badea --- inventory/inventory/inventory/common/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/inventory/inventory/common/ceph.py b/inventory/inventory/inventory/common/ceph.py index 2f625629..5eba597e 100644 --- a/inventory/inventory/inventory/common/ceph.py +++ b/inventory/inventory/inventory/common/ceph.py @@ -28,7 +28,7 @@ class CephApiOperator(object): def __init__(self): self._ceph_api = ceph.CephWrapper( - endpoint='http://localhost:5001/api/v0.1/') + endpoint='https://localhost:5001/') def ceph_status_ok(self, timeout=10): """