ceph: added rgw poolPrefix on ceph external script output

RGW poolPrefix is required for the UI and alerting, to provide right information about the respective pool in external mode.

Signed-off-by: Anmol Sachan <anmol13694@gmail.com>
This commit is contained in:
Anmol Sachan committed 2020-08-05 19:35:33 +05:30
1 parent dfc701805a
commit 9dfd684ab5
1 file changed
+2 -1
@@ -510,7 +510,8 @@ class RadosJSON:
"name": "ceph-rgw",
"kind": "StorageClass",
"data": {
"endpoint": self.out_map['RGW_ENDPOINT']
"endpoint": self.out_map['RGW_ENDPOINT'],
"poolPrefix": self.out_map['RGW_POOL_PREFIX']
}
})
return json.dumps(json_out)+LINESEP