From: Alexandru Avadanii Date: Fri, 23 Nov 2018 14:55:54 +0000 (+0100) Subject: [ha] odl: Set _param:cluster_vip_address X-Git-Tag: opnfv-8.0.0~98^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F65367%2F2;p=fuel.git [ha] odl: Set _param:cluster_vip_address 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 --- diff --git a/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml b/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml index a310fa3e8..3b57ea332 100644 --- a/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml +++ b/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml @@ -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