Project

General

Profile

Documentation #2388

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

Added by Dan Mick about 8 years ago. Updated about 8 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.

History

#1 Updated by Sage Weil about 8 years ago

  • translation missing: en.field_position set to 4

#2 Updated by Sage Weil about 8 years ago

  • Target version set to v0.48
  • translation missing: en.field_position deleted (12)
  • translation missing: en.field_position set to 26

#3 Updated by Sage Weil about 8 years ago

  • Assignee changed from John Wilkins to Greg Farnum

#4 Updated by Greg Farnum about 8 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF