aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-06 12:27:56 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-06 13:00:20 +0400
commit911afead7d1f3ff1cf1b3c44f282e80140d45785 (patch)
treee0e7178626e9a37e7921a37acbb4a70f481d7272 /mcp/reclass/classes/cluster/virtual-mcp-ocata-odl
parentde6a685915bc8bd5444217bca511da35c94b4d59 (diff)
Enable cinder volume service
Change-Id: I29ad8fc0e504779184fdf3795dc82ce1b031dbf8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-odl')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/compute.yml4
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/control.yml1
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/init.yml2
3 files changed, 6 insertions, 1 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/compute.yml
index fdbff06b5..79a243d04 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/compute.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/compute.yml
@@ -2,8 +2,11 @@ classes:
- system.linux.system.repo.mcp.openstack
- system.linux.system.repo.mcp.extra
- system.linux.system.repo.saltstack.xenial
+- system.linux.storage.loopback
- system.nova.compute.single
- service.neutron.compute.single
+- service.cinder.volume.single
+- system.cinder.volume.backend.lvm
- cluster.virtual-mcp-ocata-odl
parameters:
_param:
@@ -12,6 +15,7 @@ parameters:
external_interface: ens6
interface_mtu: 9000
linux_system_codename: xenial
+ loopback_device_size: 10
nova:
compute:
vncproxy_url: http://${_param:cluster_vip_address}:6080
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/control.yml
index 1918b87be..d8ab80d9e 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/control.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/control.yml
@@ -17,6 +17,7 @@ classes:
- system.nova.control.single
- system.neutron.control.opendaylight.single
- system.cinder.control.single
+- system.cinder.control.backend.lvm
- system.heat.server.single
- service.mysql.server.single
- system.galera.server.database.cinder
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/init.yml
index 9857b9a76..87d474ceb 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/openstack/init.yml
@@ -22,7 +22,7 @@ parameters:
galera_server_maintenance_password: opnfv_secret
galera_server_admin_password: opnfv_secret
cluster_vip_address: ${_param:cluster_public_host}
- cluster_local_address: ${_param:single_address}
+ cluster_local_address: ${_param:openstack_control_address}
cluster_node01_hostname: ctl01
cluster_node01_address: 172.16.10.101
cluster_node02_hostname: ctl02