From: Josh Durgin Date: Sat, 16 May 2015 00:37:33 +0000 (-0700) Subject: doc: add rbd cache settings to nova.conf X-Git-Tag: v9.0.2~72^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db7ab8ba36b4c675aa60f1c112b18c6a815eb803;p=ceph.git doc: add rbd cache settings to nova.conf To actually get the benefit of writeback caching, qemu must be aware of it so it pases flushes to rbd. Since hammer rbd caching is enabled by default, so add the nova option to make qemu aware of it. Signed-off-by: Josh Durgin --- diff --git a/doc/rbd/rbd-openstack.rst b/doc/rbd/rbd-openstack.rst index 179992648655..ca53856435e0 100644 --- a/doc/rbd/rbd-openstack.rst +++ b/doc/rbd/rbd-openstack.rst @@ -333,6 +333,7 @@ On every Compute node, edit ``/etc/nova/nova.conf`` and add:: libvirt_images_type = rbd libvirt_images_rbd_pool = vms libvirt_images_rbd_ceph_conf = /etc/ceph/ceph.conf + libvirt_disk_cachemodes="network=writeback" rbd_user = cinder rbd_secret_uuid = 457eb676-33da-42ec-9a8c-9293d545c337 @@ -366,6 +367,7 @@ section and add:: images_rbd_ceph_conf = /etc/ceph/ceph.conf rbd_user = cinder rbd_secret_uuid = 457eb676-33da-42ec-9a8c-9293d545c337 + disk_cachemodes="network=writeback" It is also a good practice to disable file injection. While booting an