Hi,

Using rbd command line, we can set / get / list image-meta of an rbd image
as described in the man page <http://docs.ceph.com/docs/master/man/8/rbd/>.

# rbd image-meta list mypool/myimage


How can we do the same using python librbdpy ? i can't find it in the
documentation <http://docs.ceph.com/docs/master/rbd/librbdpy/>.

with rados.Rados(conffile='my_ceph.conf') as cluster:
    with cluster.open_ioctx('mypool') as ioctx:
        with rbd.Image(ioctx, 'myimage') as image:
            image._some_method_to_set_metadata() ???


Thank you
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to