[noha] cinder: Align VG name with HA scenarios 29/60629/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 5 Aug 2018 17:20:04 +0000 (19:20 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 6 Aug 2018 14:14:08 +0000 (16:14 +0200)
Prepare for MaaS integration in NOHA scenarios by aligning cinder
VG naming across all scenarios.

JIRA: FUEL-382

Change-Id: I0cd7accf573ae0904efddd7aa67d880f2a6deb71
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml

index a027113..5c9c16d 100644 (file)
@@ -49,6 +49,10 @@ parameters:
         host: ${_param:openstack_control_address}
   cinder:
     volume:
+      backend:
+        lvm-driver:
+          # Align system.cinder.volume.backend.lvm and MaaS data
+          volume_group: ${linux:storage:lvm:cinder-vg:name}
       my_ip: ${_param:single_address}
       database:
         host: ${_param:cluster_local_address}
@@ -68,6 +72,11 @@ parameters:
           fstype: nfs
           device: ${_param:openstack_control_address}:/srv/nova/instances
   linux:
+    storage:
+      lvm:
+        # Align with both system.cinder.volume.backend.lvm and MaaS data
+        cinder-vg:
+          name: vgroot
     system:
       kernel:
         sysctl: