Change ownership of objects

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

 



Hello everyone,

I am running Ceph (firefly) Radosgw integrated with Openstack
Keystone. Recently we built a whole new Openstack cloud and created
users in that cluster. The names were the same, but the UUID's are
not. Both clouds are using the same Ceph cluster with their own RGW.

I have managed to change the ownership of the buckets using
radosgw-admin bucket link, and I've managed to update the key for them
by dumping the bucket metadata, changing the key, and reimporting it.
Users can now list all objects, and create / delete new objects.
However, they cannot access any of the old objects.

I can see the owner in radosgw-admin bucket list. I traced its
location down to the keystore for the bucket index. However, I can't
seem to find a good way to update the owner. There doesn't seem to be
any way to export that metadata other than doing a getomapval on the
object. I attempted to use a hex editor to modify the ID and then do a
setomapval piping the file back in, but it doesn't seem to want to
take it.

Thanks in advance for any help you can provide.

Cheers,
Erik
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[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