Hi Hui Xiang,
Can you please try with this patch [1] and see if it works for you ?
Please let me know how it goes. But I am not sure, if the patch would fix
the issue.
To brief, the OVN OCF script doesn't add monitor action for "Master" role.
So pacemaker Resource agent would not check for the status of ovn db
servers periodically. In case ovn db servers are killed, pacemaker wont
know about it.
You can also take a look at this [1] to know how it is used in openstack
with tripleo installation.
[1] - https://patchwork.ozlabs.org/patch/839022/
[2] -
https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/pacemaker/ovn_northd.pp
Thanks
Numan
On Fri, Nov 24, 2017 at 3:00 PM, Hui Xiang wrote:
> Hi folks,
>
> I am following what suggested on doc[1] to configure the ovndb_servers
> HA, however, it's so unluck with upgrading pacemaker packages from 1.12 to
> 1.16, do almost every kind of changes, there still not a ovndb_servers
> master promoted, is there any special recipe for it to run? so frustrated
> on it, sigh.
>
> It always showed:
> Master/Slave Set: ovndb_servers-master [ovndb_servers]
> Stopped: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
>
> Even if I tried below steps:
> 1. pcs resource debug-stop ovndb_server on every nodes. ovn-ctl
> status_ovnxb: running/backup
> 2. pcs resource debug-start ovndb_server on every nodes. ovn-ctl
> status_ovnxb: running/backup
> 3. pcs resource debug-promote ovndb_server on one nodes. ovn-ctl
> status_ovnxb: running/active
>
> With above status, the pcs status still showed as:
> Master/Slave Set: ovndb_servers-master [ovndb_servers]
> Stopped: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
>
>
> [1]. https://github.com/openvswitch/ovs/blob/master/Documentation/topics/
> integration.rst
>
> Appreciated any hint.
>
>
>
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss