ceph ha mising single_address fix
Change-Id: I66d3f5bdf5188a4ac30a5a6c1a023d919373e940
diff --git a/classes/cluster/ceph-ha/ceph/init.yml b/classes/cluster/ceph-ha/ceph/init.yml
index 6bfb3db..a2600a9 100644
--- a/classes/cluster/ceph-ha/ceph/init.yml
+++ b/classes/cluster/ceph-ha/ceph/init.yml
@@ -22,6 +22,8 @@
ceph_cfs_node01_hostname: cfs01
ceph_cfs_node01_address: 172.16.10.97
+ single_address: ''
+
ceph_cluster_fsid: a619c5fc-c4ed-4f22-9ed2-66cf2feca23d
ceph_mon_keyring: AQAnQIhZ6in5KxAAdf467upoRMWFcVg5pbh1yg==
ceph_admin_keyring: AQBHPYhZv5mYDBAAvisaSzCTQkC5gywGUp/voA==
diff --git a/classes/cluster/ceph-ha/infra/config.yml b/classes/cluster/ceph-ha/infra/config.yml
index cc97968..2de9d4c 100644
--- a/classes/cluster/ceph-ha/infra/config.yml
+++ b/classes/cluster/ceph-ha/infra/config.yml
@@ -76,33 +76,48 @@
cluster_param:
ceph_osd_node01_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_osd_02:
expression: <<node_hostname>>__equals__osd1
cluster_param:
ceph_osd_node02_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_osd_03:
expression: <<node_hostname>>__equals__osd2
cluster_param:
ceph_osd_node03_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_mon_01:
expression: <<node_hostname>>__equals__cmn01
cluster_param:
ceph_mon_node01_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_mon_02:
expression: <<node_hostname>>__equals__cmn02
cluster_param:
ceph_mon_node02_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_mon_03:
expression: <<node_hostname>>__equals__cmn03
cluster_param:
ceph_mon_node03_address:
value_template: <<node_control_ip>>
+ single_address:
+ value_template: <<node_control_ip>>
ceph_cfs:
expression: <<node_hostname>>__startswith__cfs
node_class:
value_template:
- cluster.<<node_cluster>>.ceph.cfs
+ cluster_param:
+ single_address:
+ value_template: <<node_control_ip>>