Project

General

Profile

Actions

Documentation #3432

closed

move explanation for rbd on libvirt to new docs

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

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% 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.

Actions #1

Updated by Ross Turk over 11 years ago

  • Assignee set to John Wilkins
Actions #2

Updated by Dan Mick over 11 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>

Actions #3

Updated by Ross Turk over 11 years ago

  • Target version set to v0.55d
  • Translation missing: en.field_position set to 4
Actions #4

Updated by Ross Turk over 11 years ago

  • Translation missing: en.field_position deleted (4)
  • Translation missing: en.field_position set to 3
Actions #5

Updated by Josh Durgin over 11 years ago

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

Actions #6

Updated by Dan Mick about 11 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

Actions #7

Updated by John Wilkins about 11 years ago

  • Status changed from New to In Progress
Actions #8

Updated by John Wilkins about 11 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.

Actions

Also available in: Atom PDF