aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j24
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml3
2 files changed, 3 insertions, 4 deletions
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:
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 ea2275a3e..61ba1ac79 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
@@ -7,7 +7,6 @@
##############################################################################
---
classes:
- - system.linux.storage.loopback
- service.nfs.client
- system.nova.compute.single
- service.cinder.volume.single
@@ -20,7 +19,7 @@ parameters:
_param:
interface_mtu: 9000
linux_system_codename: xenial
- loopback_device_size: 20
+ ~cinder_lvm_devices: ['/dev/vdb']
nova:
compute:
libvirt_service: libvirtd