When it complains about a missing bucket instance id, that's what it's expecting to get from the --bucket-id argument. That's the "id" field shown in bucket stats. Try this? $ radosgw-admin bucket link --bucket=XXX --bucket-id=YYY --uid=ZZZ Casey On 02/21/2017 08:30 AM, Valery Tschopp wrote: > 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 >> > > > > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20170221/e4124b11/attachment.htm>