Actions
Documentation #2388
closedlibrbd python doc lacks ioctx parameter to rbd.Image() constructor
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
The librbd Python binding doc (http://ceph.com/docs/master/api/librbdpy/) has the following in its example:
image = rbd.Image('myimage')
That should be
image = rbd.Image(ioctx, 'myimage'). The ioctx argument is required.
Actions