From 4e54382989138155100a5cae90d70ca162dab703 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 16 Feb 2018 13:20:41 +0400 Subject: Set nova disk cachemodes to file directsync Set nova/libvirt disk cache modes to file directsync to bypass the host page cache & prevent instance's kernel panic due to absent /dev partition. Caching mode directsync effectively turns all guest I/O operations into direct I/O operations on the host, which is the NFS client (virtuals) or GlusterFS (baremetals). Also return back to hwe kernel as a golden mean between GA & Edge ones. Change-Id: I51ab7d0ee71c214ff16b756cfee16e918738b6fd Signed-off-by: Michael Polenchuk --- mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-noha') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml index 710dee8e7..ea2275a3e 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml +++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml @@ -25,6 +25,7 @@ parameters: compute: libvirt_service: libvirtd libvirt_bin: /etc/default/libvirtd + disk_cachemodes: file=directsync,block=none vncproxy_url: http://${_param:cluster_vip_address}:6080 network: region: ${_param:openstack_region} -- cgit 1.2.3-korg