radosgw-admin bucket link: empty bucket instance id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've the same problem about 'radosgw-admin bucket link --bucket XXX 
--uid YYY', but with a Jewel radosgw

The admin rest API [1] do not work either :(

Any idea?

[1]: http://docs.ceph.com/docs/master/radosgw/adminops/#link-bucket


On 28/01/16 17:03 , Wido den Hollander wrote:
> Hi,
>
> I'm trying to link a bucket to a new user and this is failing for me.
>
> The Ceph version is 0.94.5 (Hammer).
>
> The bucket is called 'packer' and I can verify that it exists:
>
> $ radosgw-admin bucket stats --bucket packer
>
> {
>     "bucket": "packer",
>     "pool": ".rgw.buckets",
>     "index_pool": ".rgw.buckets",
>     "id": "ams02.5862567.3564",
>     "marker": "ams02.5862567.3564",
>     "owner": "XXXXX_beta",
>     "ver": "0#21975",
>     "master_ver": "0#0",
>     "mtime": "2015-08-04 12:31:06.000000",
>     "max_marker": "0#",
>     "usage": {
>         "rgw.main": {
>             "size_kb": 10737764,
>             "size_kb_actual": 10737836,
>             "num_objects": 27
>         },
>         "rgw.multimeta": {
>             "size_kb": 0,
>             "size_kb_actual": 0,
>             "num_objects": 0
>         }
>     },
>     "bucket_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     }
> }
>
> Now when I try to link this bucket it fails:
>
> $ radosgw-admin bucket link --bucket packer --uid YYYY
>
> "failure: (22) Invalid argument: empty bucket instance id"
>
> It seems like this is a bug in the radosgw-admin tool where it doesn't
> parse the --bucket argument properly.
>
> Any ideas?
>
> Wido
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

-- 
SWITCH
--------------------------
Valery Tschopp, Software Engineer, Peta Solutions
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
email: valery.tschopp at switch.ch phone: +41 44 268 1544


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3663 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20170221/d6f20d25/attachment.bin>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux