Set nova disk cachemodes to file directsync 31/52231/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 16 Feb 2018 09:20:41 +0000 (13:20 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 16 Feb 2018 12:13:05 +0000 (16:13 +0400)
commit4e54382989138155100a5cae90d70ca162dab703
tree3741caabb0fe25f748ccd6c214abdc4c13ec6390
parente4f0ae735120b62f2db476b749a81fab5bab9242
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 <mpolenchuk@mirantis.com>
mcp/config/scenario/defaults-x86_64.yaml
mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas.yml
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml