[ha] odl: Set _param:cluster_vip_address 67/65367/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 23 Nov 2018 14:55:54 +0000 (15:55 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 26 Nov 2018 11:36:56 +0000 (11:36 +0000)
Fix an undefined parameter reference:

root@cfg01:~# reclass-salt -p odl01.mcp-odl-ha.local
-> odl01.mcp-odl-ha.local
   Cannot resolve ${_param:cluster_vip_address}, at
_param:keepalived_vip_address, in
yaml_fs:///srv/salt/reclass/classes/service/keepalived/cluster/single.yml

Change-Id: Ie653b80f2ba0f2c9664b36e23f8e95793ba0e198
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml

index a310fa3..3b57ea3 100644 (file)
@@ -14,8 +14,8 @@ classes:
 parameters:
   _param:
     opendaylight_version: fluorine
+    cluster_vip_address: ${_param:opendaylight_service_host}
     keepalived_vip_virtual_router_id: 199
-    keepalived_vip_address: ${_param:opendaylight_service_host}
     keepalived_vip_password: ${_param:opnfv_main_password}
     keepalived_vip_interface: ${_param:single_nic}
     haproxy_odl_api_check_params: check inter 20s fastinter 2s