Project

General

Profile

Actions

Feature #1422

closed

libvirt: rbd storage pool

Added by Sage Weil over 12 years ago. Updated almost 12 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

Actions #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
Actions #2

Updated by Sage Weil over 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
Actions #3

Updated by Sage Weil over 12 years ago

  • Target version deleted (v0.36)
  • Translation missing: en.field_position deleted (849)
  • Translation missing: en.field_position set to 2
Actions #4

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (11)
  • Translation missing: en.field_position set to 13
Actions #5

Updated by Wido den Hollander over 12 years ago

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

Updated by Wido den Hollander about 12 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.
Actions #7

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (284)
  • Translation missing: en.field_position set to 14
Actions #8

Updated by Wido den Hollander almost 12 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.

Actions #9

Updated by Sage Weil almost 12 years ago

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

Also available in: Atom PDF