Project

General

Profile

Actions

Feature #4231

closed

librbd: Java bindings

Added by Wido den Hollander about 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
% Done:

100%

Source:
Community (dev)
Tags:
java,jna
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

As it seems right now the new CloudStack code will require more complex RBD operations which can not be accomplished by libvirt.

These functions could be added to libvirt, but the time it will take for those to hit upstream and reach the distro's repositories will be long.

Executing the 'rbd' CLI tool is unreliable and unsafe (authentication information in process list).

So we are looking at wrapping librbd in Java bindings.

This however means that librados also will need new bindings since librbd needs librados to give it IoCTX objects.

Actions #1

Updated by Wido den Hollander about 11 years ago

  • Tags set to java,jna
Actions #2

Updated by Sage Weil about 11 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)
Actions #3

Updated by Ian Colle almost 11 years ago

Possible good task for Joe and/or Noah?

Actions #4

Updated by Wido den Hollander almost 11 years ago

So I already started work on 'rados-java': https://github.com/wido/rados-java

I'm thinking about combining this to one with librbd, so that these bindings can both do RADOS and RBD since librbd needs a ioctx to work.

Also see #4232

Actions #5

Updated by Neil Levine almost 11 years ago

  • Status changed from New to 12
Actions #6

Updated by Neil Levine almost 11 years ago

  • Status changed from 12 to In Progress
Actions #7

Updated by Ian Colle almost 11 years ago

  • Assignee set to Wido den Hollander
Actions #8

Updated by Neil Levine over 10 years ago

Wido,

Can we close this ticket now?

Actions #9

Updated by Wido den Hollander over 10 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Yes!

I'll close this one.

Actions

Also available in: Atom PDF