From f6f8a56b40c5268d94cdb8e9aef6ea937f68a18e Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 18 Feb 2018 00:30:20 +0100 Subject: [HA] [cinder] Switch loop to free space on sda On cmp nodes, we assing 30G (fixed) to rootfs, use the rest for cinder. Note: AArch64 gets one extra partition (the EFI System Partition or ESP) on /dev/sda1 via MaaS. JIRA: FUEL-330 Change-Id: I2a36107d074532b627bd2349cafc0c8ee61f500f Signed-off-by: Alexandru Avadanii --- .../cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2') 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 ed9ddd6b4..a14796178 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 @@ -12,6 +12,13 @@ {%- set vlans = { nm.vlan_admin: nm.cmp001.nic_admin, nm.vlan_mgmt: nm.cmp001.nic_mgmt } %} --- parameters: + _param: + # Should later be determined via PDF/IDF, AArch64 has ESP on /dev/sda1 +{%- if conf.nodes[nm.cmp001.idx].node.arch == 'aarch64' %} + ~cinder_lvm_devices: [ '/dev/sda2' ] +{%- else %} + ~cinder_lvm_devices: [ '/dev/sda1' ] +{%- endif %} linux: network: bridge: openvswitch -- cgit 1.2.3-korg