Is question is: how can i move a bucket in my radosgw to an swift/keystone based user. example: I'm creating a bucket via s3cmd on my ceph-radosgw and upload a file: # s3cmd mb s3://mys3bucket Bucket 's3://mys3bucket/' created # s3cmd put datei1 s3://mys3bucket/datei1 upload: 'datei1' -> 's3://mys3bucket/datei1' [1 of 1] 5 of 5 100% in 0s 278.83 B/s done Then i create a bucket via openstack horizon named "swiftcontainer". radosgw could see both: # radosgw-admin bucket list [ "testbucket1", "42cf9ce9a1c1468eb409bf8854a1b360\/swiftcontainer", "mys3bucket" ] I could see the owner of "mys3bucket" is "foo" in the tenant "": # radosgw-admin metadata get bucket:mys3bucket { "key": "bucket:mys3bucket", "ver": { "tag": "_eLwAmRziDAxQNC4_25qkDJ_", "ver": 1 }, "mtime": "2017-11-23 10:00:06.961482Z", "data": { "bucket": { "name": "mys3bucket", "pool": "default.rgw.buckets.data", "data_extra_pool": "default.rgw.buckets.non-ec", "index_pool": "default.rgw.buckets.index", "marker": "b4a3b294-0ffd-4644-bbcc-b408897c6e0b.324837.1", "bucket_id": "b4a3b294-0ffd-4644-bbcc- b408897c6e0b.324837.1", "tenant": "" }, "owner": "foo", "creation_time": "2017-11-23 10:00:06.921214Z", "linked": "true", "has_bucket_info": "false" } } The other container is owned by "42cf9ce9a1c1468eb409bf8854a1b360$42cf9ce9a1c1468eb409bf8854a1b360" in tenant "42cf9ce9a1c1468eb409bf8854a1b360" # radosgw-admin metadata get bucket:42cf9ce9a1c1468eb409bf8854a1b360\/swiftcontainer { "key": "bucket:42cf9ce9a1c1468eb409bf8854a1b360\/swiftcontainer", "ver": { "tag": "_fYEycF5T3MBhuMg8M948FHN", "ver": 1 }, "mtime": "2017-11-23 10:06:26.772897Z", "data": { "bucket": { "name": "swiftcontainer", "pool": "default.rgw.buckets.data", "data_extra_pool": "default.rgw.buckets.non-ec", "index_pool": "default.rgw.buckets.index", "marker": "b4a3b294-0ffd-4644-bbcc-b408897c6e0b.324837.2", "bucket_id": "b4a3b294-0ffd-4644-bbcc- b408897c6e0b.324837.2", "tenant": "42cf9ce9a1c1468eb409bf8854a1b360" }, "owner": "42cf9ce9a1c1468eb409bf8854a1b360$42cf9ce9a1c1468eb409bf8854a1b360", "creation_time": "2017-11-23 10:06:26.767357Z", "linked": "true", "has_bucket_info": "false" } } Now i've tried to link the "s3bucket" to the owner "42cf9ce9a1c1468eb409bf8854a1b360$42cf9ce9a1c1468eb409bf8854a1b360", but it doesnt work: # radosgw-admin bucket link --bucket=mys3bucket --bucket-id="b4a3b294- 0ffd-4644-bbcc-b408897c6e0b.324837.1" -- uid=42cf9ce9a1c1468eb409bf8854a1b360\$42cf9ce9a1c1468eb409bf8854a1b360 failure: (2) No such file or directory: # radosgw-admin bucket link --bucket=mys3bucket --bucket-id="b4a3b294- 0ffd-4644-bbcc-b408897c6e0b.324837.1" -- uid='42cf9ce9a1c1468eb409bf8854a1b360$42cf9ce9a1c1468eb409bf8854a1b360' failure: (2) No such file or directory: # radosgw-admin bucket link --bucket=mys3bucket --bucket-id="b4a3b294- 0ffd-4644-bbcc-b408897c6e0b.324837.1" -- uid="42cf9ce9a1c1468eb409bf8854a1b360$42cf9ce9a1c1468eb409bf8854a1b360" failure: (2) No such file or directory: Am Dienstag, den 21.11.2017, 17:17 +0000 schrieb David Turner: > User and bucket operations have more to do with what is providing the > S3 API. In this case you're using swift for that. The Ceph tools to > do this would be if you're using RGW to provide the S3 API. > > The answers you're looking for would be in how to do this with SWIFT, > if I'm not mistaken. Ceph in this case is only providing the > storage, but all of the data and user management would be done > through non-Ceph tools. > > That said, there are probably several people on this list that use > SWIFT with a Ceph storage backend. They may be able to help you with > this, but hopefully you can find the answers your looking for in > their documentation. > > On Tue, Nov 21, 2017 at 11:43 AM Kim-Norman Sahm <kisahm@xxxxxxxxxxx> > wrote: > > Or is there a way to mova the bucket contect into another bucket? > > > > Am Montag, den 20.11.2017, 17:36 +0100 schrieb Kim-Norman Sahm: > > > is it possible to rename a radosgw bucket and change the owner? > > > i'm using ceph as swift backend in openstack and want to move an > > old > > > bucket to a keystone based user. > > > > > > br Kim > > > _______________________________________________ > > > ceph-users mailing list > > > ceph-users@xxxxxxxxxxxxxx > > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com