Make sure share01 is generated for virtual-mcp-pike-ovs with reclass
This patch makes sure that share01 is generated when applying reclass
state as well when do dynamic node clasification (Models where changes
where made: virtual-mcp-pike-ovs, virtual-mcp-pike-dvr,
virtual-mcp-pike-dvr-ssl).
Added linux:network pillar for static share01 node inventory
Change-Id: I88e873cc53f9b92b29c6750180895d376a4d5fdc
diff --git a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
index 0cb7cf0..d1b2b88 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
@@ -29,6 +29,7 @@
- system.reclass.storage.system.openstack_compute_multi
- system.reclass.storage.system.openstack_gateway_single
- system.reclass.storage.system.openstack_dashboard_single
+- system.reclass.storage.system.openstack_share_single
- system.reclass.storage.system.openstack_telemetry_cluster
- cluster.virtual-mcp-pike-ovs.infra.backup.client_common
- cluster.virtual-mcp-pike-ovs
@@ -134,8 +135,10 @@
node_class:
value_template:
- cluster.<<node_cluster>>.openstack.share
- node_param:
- manila_share_address:
+ cluster_param:
+ openstack_share_node01_address:
+ value_template: <<node_control_ip>>
+ openstack_share_node01_share_address:
value_template: <<node_tenant_ip>>
openstack_telemetry01:
expression: <<node_hostname>>__equals__mdb01