Project

General

Profile

Actions

Documentation #2388

closed

librbd python doc lacks ioctx parameter to rbd.Image() constructor

Added by Dan Mick almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
% 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

Also available in: Atom PDF