On Jan 10, 2018 3:21 AM, "Russell Bryant" <[email protected]> wrote:

On Mon, Jan 8, 2018 at 2:35 AM,  <[email protected]> wrote:
> From: Numan Siddique <[email protected]>
>
> 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 <[email protected]>
> CC: Russell Bryant <[email protected]>
> ---
>  ovn/utilities/ovndb-servers.ocf | 51 ++++++++++++++++++++++--------
-----------
>  1 file changed, 27 insertions(+), 24 deletions(-)

Thanks, Numan.  I applied this to master, branch-2.8, and branch-2.7.


Thanks Russell for the review and applying it.

Regards
Numan


--
Russell Bryant
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to