ODF: "ceph-external-cluster-details-exporter.py" unable to adopt an external Ceph cluster with non-default RGW zone/pools.
Issue
The Python script ceph-external-cluster-details-exporter.pyis unable to adopt an external Ceph cluster with non-default RGW zone/pools.
Currently, the script to adopt/incorporate an external Ceph Cluster has no option to specify an alternate zone. This means that only Ceph Cluster with the default RGW zone/pool layout will work:
--- POOLS ---
POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL
.rgw.root 1 32 1.3 KiB 4 48 KiB 0 21 GiB
device_health_metrics 2 1 0 B 0 0 B 0 21 GiB
default.rgw.log 3 32 4.0 MiB 209 13 MiB 0.02 21 GiB
default.rgw.control 4 32 0 B 8 0 B 0 21 GiB
default.rgw.meta 5 32 1.7 KiB 10 108 KiB 0 21 GiB
default.rgw.buckets.index 6 32 0 B 11 0 B 0 21 GiB
default.rgw.buckets.data 7 512 119 GiB 30.58k 358 GiB 84.78 21 GiB
A system with an alternate zone/pool names configured (say: RogueOne) will not work:
--- POOLS ---
POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL
.rgw.root 1 32 1.3 KiB 4 48 KiB 0 21 GiB
device_health_metrics 2 1 0 B 0 0 B 0 21 GiB
RogueOne.rgw.log 3 32 4.0 MiB 209 13 MiB 0.02 21 GiB
RogueOne.rgw.control 4 32 0 B 8 0 B 0 21 GiB
RogueOne.rgw.meta 5 32 1.7 KiB 10 108 KiB 0 21 GiB
RogueOne.rgw.buckets.index 6 32 0 B 11 0 B 0 21 GiB
RogueOne.rgw.buckets.data 7 512 119 GiB 30.58k 358 GiB 84.78 21 GiB
Environment
Red Hat OpenShift Data Foundation (ODF) 4.x
Red Hat Ceph Storage (RHCS) 5.x
Red Hat Ceph Storage (RHCS) 6.x
Ceph Rados Gateway (RGW)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.