Add cinder volume in os-ha-ovs
This commit sets up cinder volume service and lvm backend for it.
Change-Id: I39a3cd49a17e7c52921e17f82560f8da8a587d19
Related-Prod: https://mirantis.jira.com/browse/PROD-16613
diff --git a/classes/cluster/os-ha-ovs/openstack/control.yml b/classes/cluster/os-ha-ovs/openstack/control.yml
index a01afb8..03c2070 100644
--- a/classes/cluster/os-ha-ovs/openstack/control.yml
+++ b/classes/cluster/os-ha-ovs/openstack/control.yml
@@ -4,6 +4,7 @@
- system.linux.system.repo.mcp.openstack
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
+- system.linux.storage.loopback
- system.memcached.server.single
- system.rabbitmq.server.cluster
- system.rabbitmq.server.vhost.openstack
@@ -19,6 +20,9 @@
- system.nova.control.cluster
- system.neutron.control.openvswitch.cluster
- system.cinder.control.cluster
+- system.cinder.control.backend.lvm
+- system.cinder.volume.single
+- system.cinder.volume.backend.lvm
- system.heat.server.cluster
- system.designate.server.cluster
- system.designate.server.backend.bind
diff --git a/classes/cluster/os-ha-ovs/openstack/init.yml b/classes/cluster/os-ha-ovs/openstack/init.yml
index da3da94..6fc3d30 100644
--- a/classes/cluster/os-ha-ovs/openstack/init.yml
+++ b/classes/cluster/os-ha-ovs/openstack/init.yml
@@ -124,6 +124,7 @@
horizon_identity_encryption: none
horizon_identity_version: 2
nginx_proxy_openstack_api_proxy_host: ${_param:cluster_vip_address}
+ loopback_device_size: 20
linux:
network:
host: