Project

General

Profile

Documentation #3432

move explanation for rbd on libvirt to new docs

Added by Dan Mick over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
11/02/2012
Due date:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

http://ceph.com/wiki/QEMU-RBD needs to be documented next to all the other
stuff for rbd in ceph.com/docs, probably in rbd/libvirt.rst; specifically, the
way one needs to manually edit the domain XML to add <disk> stanzas for RBD
devices is documented nowhere else that I can find.

Associated revisions

Revision 29222872 (diff)
Added by John Wilkins about 6 years ago

doc: Added procedures for using libvirt VMs with Ceph.

fixes: #3432

Signed-off-by: John Wilkins <>

History

#1 Updated by Ross Turk over 6 years ago

  • Assignee set to John Wilkins

#2 Updated by Dan Mick over 6 years ago

Also: it has come to light that with the new Ceph behavior of defaulting to
cephx enabled, one must either

1) use libvirt 10.0 or better, to get the commit shown below, or

2) add ":auth_supported=none:" to the parameter list in the name= parameter.

libvirt commit shown below:

commit ccb94785007d33365d49dd566e194eb0a022148d
Author: Wido den Hollander <wido@widodh.nl>
Date:   Mon Jun 25 17:44:01 2012 +0200

    qemu: Always set auth_supported for Ceph disks.

    Recently the Ceph project defaulted auth_supported from 'none' to 'cephx'.

    When no auth information was set for Ceph disks this would lead to librados defaulting to
    'cephx', but there would be no additional authorization information.

    We now explicitly set auth_supported to none when passing down arguments to Qemu.

    Signed-off-by: Wido den Hollander <wido@widodh.nl>

#3 Updated by Ross Turk over 6 years ago

  • Target version set to v0.55d
  • translation missing: en.field_position set to 4

#4 Updated by Ross Turk over 6 years ago

  • translation missing: en.field_position deleted (4)
  • translation missing: en.field_position set to 3

#5 Updated by Josh Durgin over 6 years ago

The issue Dan's talking about only matters if you're not using cephx for clients.

#6 Updated by Dan Mick about 6 years ago

The secondary issue is only without cephx, it's true, but the bigger issue of "we really
need this documentation in the official docs" is still horribly true. Please let's just extract what we had in the wiki into a page on ceph.com/docs, with just the barest review to make sure none of it
is a lie, as soon as we can; I can't remember where to find this information

#7 Updated by John Wilkins about 6 years ago

  • Status changed from New to In Progress

#8 Updated by John Wilkins about 6 years ago

  • Status changed from In Progress to Resolved

I've put together a full procedure including using virt-manager. There are notes to use "virsh edit" and to specifically specify the ID sans "client." Josh and I verified the procedure.

Also available in: Atom PDF