From 19a10e0217a17d220d5e9333ff4f1d324b6bf68c Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 22 Feb 2018 03:02:05 +0100 Subject: [noHA] Add dedicated cinder volume for virtual cmp Replace loop device LVM-backed cinder volume with a dedicated /dev/vdb drive. This is another small step towards bringing noHA to baremetal. Change-Id: I80f9c2bee42e933a36ab7a8f9b4c5247d1652b42 Signed-off-by: Alexandru Avadanii --- .../classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 index ca9bcb1a9..d0457bafc 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 @@ -16,9 +16,9 @@ parameters: # Should later be determined via PDF/IDF, AArch64 has ESP on /dev/sda1 {%- if conf.nodes[nm.cmp001.idx].node.arch == 'aarch64' or conf.nodes[nm.cmp001.idx].disks.0.disk_capacity | storage_size_num | float > 2000000000000 %} - ~cinder_lvm_devices: [ '/dev/sda2' ] + ~cinder_lvm_devices: ['/dev/sda2'] {%- else %} - ~cinder_lvm_devices: [ '/dev/sda1' ] + ~cinder_lvm_devices: ['/dev/sda1'] {%- endif %} linux: network: -- cgit 1.2.3-korg