Integrate manila into virtual-mcp-pike-ovs
This patch integrates manila into virtual-mcp-pike-ovs model.
The new role is introduced. It may be easely combined with
compute or any other role, but for optimized load it is recommended
to have a dedicated VM/Server for it.
Change-Id: I6063f876aa351acb281463c89b825c098af7a625
Related-Prod: PROD-18466
diff --git a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
index 653eb75..a3b7a52 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
@@ -6,6 +6,7 @@
- system.openssh.client.lab
- system.salt.master.api
- system.salt.master.pkg
+- system.salt.master.formula.pkg.manila
- system.reclass.storage.salt
- system.salt.minion.ca.salt_master
- system.sphinx.server.doc.reclass
@@ -15,6 +16,8 @@
- system.keystone.client.service.glare
- system.keystone.client.service.cinder3
- system.keystone.client.service.designate
+- system.keystone.client.service.manila
+- system.keystone.client.service.manila2
- system.reclass.storage.system.openstack_control_cluster
- system.reclass.storage.system.openstack_compute_multi
- system.reclass.storage.system.openstack_gateway_single
@@ -114,6 +117,14 @@
cluster_param:
openstack_proxy_node01_address:
value_template: <<node_control_ip>>
+ openstack_share:
+ expression: <<node_hostname>>__startswith__share
+ node_class:
+ value_template:
+ - cluster.<<node_cluster>>.openstack.share
+ node_param:
+ manila_share_address:
+ value_template: <<node_tenant_ip>>
node:
openstack_control_node01:
classes: