Add support for additional nova.conf options
The following options have been added to improve support for rbd (Ceph) in nova. libvirt/hw_disk_discard = unmap www.sebastien-han.fr/blog/2015/02/02/openstack-and-ceph-rbd-discard libvirt/disk_cachemodes = "network=writeback" www.sebastien-han.fr/blog/2013/08/22/configure-rbd-caching-on-nova http://ceph.com/docs/master/rbd/rbd-openstack/ DocImpact Implements: blueprint ceph-block-devices Change-Id: Ibf717fa88326805254ca31421d9a77c47b326b67
This commit is contained in:
parent
dd9261de8c
commit
c8b133e025
@ -250,6 +250,8 @@ nova_recreate_keys: False
|
||||
#nova_libvirt_images_rbd_pool: vms
|
||||
nova_ceph_client: '{{ cinder_ceph_client }}'
|
||||
nova_ceph_client_uuid: 517a4663-3927-44bc-9ea7-4a90e1cd4c66
|
||||
nova_libvirt_disk_cachemodes: '{{ nova_libvirt_images_rbd_pool is defined | ternary("network=writeback", "") }}'
|
||||
nova_libvirt_hw_disk_discard: '{{ nova_libvirt_images_rbd_pool is defined | ternary("unmap", "ignore") }}'
|
||||
|
||||
## General Neutron configuration
|
||||
# If ``nova_osapi_compute_workers`` is unset the system will use half the number of available VCPUS to
|
||||
|
@ -254,4 +254,5 @@ images_rbd_pool = {{ nova_libvirt_images_rbd_pool }}
|
||||
images_rbd_ceph_conf = /etc/ceph/ceph.conf
|
||||
live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST"
|
||||
{% endif %}
|
||||
|
||||
hw_disk_discard = {{ nova_libvirt_hw_disk_discard }}
|
||||
disk_cachemodes = {{ nova_libvirt_disk_cachemodes }}
|
||||
|
Loading…
Reference in New Issue
Block a user