Re: [ovs-discuss] ovndb_servers can't be promoted

2017-12-04 Thread Hui Xiang
Thanks Numan, so sorry for occupying your much time on it. I have fixed the problem, but not with very clear reason, after the cloud completed deployment with puppet(not TrippleO), no matter what I am using, either 'pcs' or 'crm', the resource just could not start as it is expected. but if I use

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-12-03 Thread Numan Siddique
On Fri, Dec 1, 2017 at 4:32 AM, Hui Xiang wrote: > Thanks Numan, in my environment, it's worse, it's even not getting started > and the monitor is only called once other than repeatedly for both > master/slave or none, do you know if any problem could cause pacemaker have >

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-30 Thread Hui Xiang
Thanks Numan, in my environment, it's worse, it's even not getting started and the monitor is only called once other than repeatedly for both master/slave or none, do you know if any problem could cause pacemaker have this decision? other resource are good. On Fri, Dec 1, 2017 at 2:08 AM, Numan

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-30 Thread Numan Siddique
Hi HuiXiang, Even I am seeing the issue where no node is promoted as master. I will test more, fix and and submit patch set v3. Thanks Numan On Thu, Nov 30, 2017 at 4:10 PM, Numan Siddique wrote: > > > On Thu, Nov 30, 2017 at 1:15 PM, Hui Xiang

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-30 Thread Numan Siddique
On Thu, Nov 30, 2017 at 1:15 PM, Hui Xiang wrote: > Hi Numan, > > Thanks for helping, I am following your pcs example, but still with no > lucky, > > 1. Before running any configuration, I stopped all of the ovsdb-server for > OVN, and ovn-northd. Deleted

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-29 Thread Hui Xiang
Hi Numan, Thanks for helping, I am following your pcs example, but still with no lucky, 1. Before running any configuration, I stopped all of the ovsdb-server for OVN, and ovn-northd. Deleted ovnnb_active.conf/ovnsb_active.conf. 2. Since I have already had an vip in the cluster, so I chose to

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-29 Thread Numan Siddique
On Wed, Nov 29, 2017 at 4:16 PM, Hui Xiang wrote: > FYI, If I have configured a good ovndb-server cluster with one active two > slaves, then start pacemaker ovn-servers resource agents, they are all > becoming slaves... > You don't need to start ovndb-servers. When you

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-29 Thread Hui Xiang
FYI, If I have configured a good ovndb-server cluster with one active two slaves, then start pacemaker ovn-servers resource agents, they are all becoming slaves... On Tue, Nov 28, 2017 at 10:48 PM, Numan Siddique wrote: > > > On Tue, Nov 28, 2017 at 2:29 PM, Hui Xiang

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-28 Thread Numan Siddique
On Tue, Nov 28, 2017 at 2:29 PM, Hui Xiang wrote: > Hi Numan, > > > Finally figure it out what's wrong when running ovndb-servers ocf in my > environment. > > 1. There is no default ovnnb and ovnsb running in my environment, I > thought it should be started by pacemaker as

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-28 Thread Hui Xiang
Hi Numan, Finally figure it out what's wrong when running ovndb-servers ocf in my environment. 1. There is no default ovnnb and ovnsb running in my environment, I thought it should be started by pacemaker as the usual way other typical resource agent do it. when I create the ovndb_servers

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-27 Thread Hui Xiang
Thanks Numan for the userful info and good patches. Yes the patch seems help a bit, but my environment looks also have other miss configurations, I am working on it first and then test your patches again, will keep you posted for any news. On Fri, Nov 24, 2017 at 10:54 PM, Numan Siddique

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-24 Thread Numan Siddique
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

[ovs-discuss] ovndb_servers can't be promoted

2017-11-24 Thread Hui Xiang
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