Project

General

Profile

Feature #1422

libvirt: rbd storage pool

Added by Sage Weil over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
librbd
Target version:
-
% Done:

90%

Spent time:
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The libvirt storage pools let you set up a location/source and then browse images. This would use librbd to browse/manipulate images.

It could either handle the librbd source config for qemu VMs, or set up a kernel rbd mapping.

Not sure how to map onto the fields you get from libvirt (in the virt-manager gui, at least):
- target path -> ?
- format (drop down) -> kernel rbd or librbd (qemu-only)
- host name -> ceph config string, e.g. "-c /etc/ceph/ceph.conf -n client.foo", or "-m monhost -k /path/to/keyring -n client.foo"
- source path -> pool name

History

#1 Updated by Sage Weil over 12 years ago

  • Target version changed from v0.35 to v0.36
  • translation missing: en.field_position set to 1

#2 Updated by Sage Weil about 12 years ago

  • translation missing: en.field_position deleted (5)
  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 845

#3 Updated by Sage Weil about 12 years ago

  • Target version deleted (v0.36)
  • translation missing: en.field_position deleted (849)
  • translation missing: en.field_position set to 2

#4 Updated by Sage Weil about 12 years ago

  • translation missing: en.field_position deleted (11)
  • translation missing: en.field_position set to 13

#5 Updated by Wido den Hollander almost 12 years ago

  • Assignee set to Wido den Hollander
  • % Done changed from 0 to 30

#6 Updated by Wido den Hollander over 11 years ago

  • % Done changed from 30 to 70

Made some more progress on this, code seems to be stable.

Working:
  • Single and multiple monitors
  • Authentication
  • Creating and removing volumes
  • Refreshing pools
Missing:
  • Valid dumpxml format of a volume
  • wiping, downloading, cloning and uploading volumes, this is a limitation of libvirt.

#7 Updated by Sage Weil over 11 years ago

  • translation missing: en.field_position deleted (284)
  • translation missing: en.field_position set to 14

#8 Updated by Wido den Hollander over 11 years ago

  • % Done changed from 70 to 90

I just submitted my patch to the libvirt mailinglist. This is a revised version of the patch and should hopefully make it through: https://www.redhat.com/archives/libvir-list/2012-May/msg00717.html

The commit itself: https://github.com/wido/libvirt/commit/4fa0ae40e40a061b35f33125ec9aa881d22a1a63

Setting this one to 90% completed since we are almost there.

#9 Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
  • translation missing: en.field_position deleted (79)
  • translation missing: en.field_position set to 79

Also available in: Atom PDF