Skip to content

Commit

Permalink
Merge pull request #32273 from changchengx/doc_libvirt
Browse files Browse the repository at this point in the history
doc/rbd: refine rbd/libvirt usage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Dec 17, 2019
2 parents 068aafb + e16ac01 commit 72ff60d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions doc/install/install-vm-cloud.rst
Expand Up @@ -19,6 +19,8 @@ of Cloud Platforms include OpenStack, CloudStack, OpenNebula, etc.
| QEMU |
+---------------------------------------------------+
| librbd |
+---------------------------------------------------+
| librados |
+------------------------+-+------------------------+
| OSDs | | Monitors |
+------------------------+ +------------------------+
Expand Down
11 changes: 7 additions & 4 deletions doc/rbd/libvirt.rst
Expand Up @@ -31,6 +31,8 @@ illustrates how ``libvirt`` and QEMU use Ceph block devices via ``librbd``.
| QEMU |
+---------------------------------------------------+
| librbd |
+---------------------------------------------------+
| librados |
+------------------------+-+------------------------+
| OSDs | | Monitors |
+------------------------+ +------------------------+
Expand Down Expand Up @@ -107,10 +109,11 @@ To configure Ceph for use with ``libvirt``, perform the following steps:
admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok

The ``client.libvirt`` section name should match the cephx user you created
above. If SELinux or AppArmor is enabled, note that this could prevent the
client process (qemu via libvirt) from writing the logs or admin socket to
the destination locations (``/var/log/ceph`` or ``/var/run/ceph``).

above.
If SELinux or AppArmor is enabled, note that this could prevent the client
process (qemu via libvirt) from doing some operations, such as writing logs
or operate the images or admin socket to the destination locations (``/var/
log/ceph`` or ``/var/run/ceph``).


Preparing the VM Manager
Expand Down

0 comments on commit 72ff60d

Please sign in to comment.