[ovs-git] [openvswitch/ovs] 4c29ed: OVN pacemaker: Fix issues when started as pacemake...
GitHub
noreply at github.com
Tue Jan 9 21:50:29 UTC 2018
Branch: refs/heads/branch-2.7
Home: https://github.com/openvswitch/ovs
Commit: 4c29edee3d5ab4a5728b86ef060a2b6150e2cbd1
https://github.com/openvswitch/ovs/commit/4c29edee3d5ab4a5728b86ef060a2b6150e2cbd1
Author: Numan Siddique <nusiddiq at redhat.com>
Date: 2018-01-09 (Tue, 09 Jan 2018)
Changed paths:
M ovn/utilities/ovndb-servers.ocf
Log Message:
-----------
OVN pacemaker: Fix issues when started as pacemaker container bundles
When OVN dbs are created as a pacemaker container bundle resource with
meta attribute "container-attribute-target=host" defined, the OVN OCF script
is not working properly. It should use the function provided by the OCF lib
'ocf_attribute_target' [1] to get the physical hostname and use that to set the
master/slave scores. This patch makes use of this function when setting the
scores. Also fixes other issues seen and deletes the local unused function
'ovsdb_server_find_active_peers'.
[1] - Please see this commit in ResourceAgents for more information on
'ocf_attribute_target'
https://github.com/ClusterLabs/resource-agents/commit/9bd94137d77f770967d35db5de716590cfaf0435
Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
CC: Russell Bryant <russell at ovn.org>
Signed-off-by: Russell Bryant <russell at ovn.org>
More information about the git
mailing list