I have inherited a ceph cluster & being new to ceph I am trying to understand 
whats being stored in the cluster. I can see we have the below pools

# ceph df
GLOBAL:
    SIZE     AVAIL      RAW USED     %RAW USED
    170T     24553G         146T         85.90
POOLS:
    NAME                                ID     USED       %USED     MAX AVAIL   
  OBJECTS
    rook-ceph-pool                      1        234G     16.76         1165G   
     60233
    .rgw.root                           8        9075         0         1165G   
        38
    objectstore2.rgw.control            11          0         0         1165G   
         8
    objectstore2.rgw.meta               12      12433         0         1165G   
        45
    objectstore2.rgw.log                13        186         0         1165G   
       227
    objectstore2.rgw.buckets.index      14          0         0         1165G   
        41
    objectstore2.rgw.buckets.data       15     11480G     86.77         1748G   
   3166026
    default.rgw.meta                    16       2794         0         3497G   
        12
    default.rgw.log                     17          0         0         3497G   
       128
    default.rgw.control                 18          0         0         3497G   
         8
    objectstore2.rgw.buckets.non-ec     19          0         0         3497G   
         0
    objectstore.rgw.control             25          0         0         1165G   
         8
    objectstore.rgw.meta                26      40894         0         1165G   
       165
    objectstore.rgw.log                 27          0         0         1165G   
       208
    objectstore.rgw.buckets.index       28          0         0         1165G   
        55
    objectstore.rgw.buckets.data        29     51563G     96.72         1748G   
  14210801
    objectstore.rgw.buckets.non-ec      30          0         0         3497G   
       394

but when it came to listing the buckets in the pools I got nothing back.
# radosgw-admin bucket list
[]

Eventually I discovered we have a realm & zonalgroup setup
# radosgw-admin realm list
{
    "default_info": "eb9f511a-3d96-4c0f-b0b1-212e5d185846",
    "realms": [
        "objectstore"
    ]
}

# radosgw-admin zonegroup list
{
    "default_info": "",
    "zonegroups": [
        "objectstore",
        "default"
    ]
}

# radosgw-admin zone list
{
    "default_info": "844a9975-a467-4ff1-bda2-6715d559ef53",
    "zones": [
        "objectstore",
        "default"
    ]
}

so was able to list the buckets in the objectstore pool 
[root@rook-ceph-tools-deployment-6848dddfbf-k7z5b /]# radosgw-admin bucket list 
--rgw-zonegroup=objectstore
[
    "load-test-media-resources-common",
    "load-test-media-resources-latimer",
    "backup-ops-01.recordsure.com-snipeit-mysql",
    "elastic-backup-2018-12-14",
    "elastic-backup-2018-10-15",
    "elastic-backup-2019-01-02",
    ...
]

however I can't list the buckets from the objectstore2 pool. I have tried 

# radosgw-admin bucket list --rgw-zonegroup=default
2019-08-05 08:32:00.686739 7f334a731c80  1 Cannot find zone 
id=844a9975-a467-4ff1-bda2-6715d559ef53 (name=objectstore), switching to local 
zonegroup configuration
2019-08-05 08:32:00.702751 7f334a731c80 -1 Cannot find zone 
id=844a9975-a467-4ff1-bda2-6715d559ef53 (name=objectstore)
couldn't init storage provider

So my question is how can I go about listing the buckets in the 
objectstore2.rgw.buckets.data pool?

Regards
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to