On Mon, May 16, 2022 at 5:46 PM Tiago Pires <tiag...@gmail.com> wrote:
> Hi all, > > I'm following this documentation > https://docs.ovn.org/en/latest/topics/integration.html and this thread > https://www.mail-archive.com/ovs-discuss@openvswitch.org/msg05579.html in > order to setup a Active-backup OVN cluster. (instead of Raft) > The pacemaker cluster is ready and I'm having a trouble with the following: > > ## Add cluster resources [node01 --ONLY-- ] > # pcs resource create ovn-virtual-ip ocf:heartbeat:IPaddr2 nic=lan1 > ip=192.168.0.10 cidr_netmask=32 op monitor interval=30s > > # pcs resource create ovndb_servers ocf:ovn:ovndb-servers \ > master_ip=192.168.0.10 \ > manage_northd="yes" \ > inactive_probe_interval=180000 \ > ovn_ctl=/usr/share/ovn/scripts/ovn-ctl \ > op monitor interval="180s" \ > op monitor role=Master interval="200s" > > # pcs resource master ovndb_servers-master ovndb_servers meta notify="true" > Error: This command has been replaced with 'pcs resource promotable'. See > 'man pcs' -> Changes in pcs-0.10. > > I tried to use the: > > # pcs resource promotable ovndb_servers-master ovndb_servers meta > notify="true" > Error: unable to find group or resource: ovndb_servers-master > > Okay, it seems that something changed on the pacemaker side (the version > I'm using is 2.0.3-3ubuntu4.3). But I did not figure out yet how to create > the ovndb_servers-master as OVN's documentation says to follow the same. > Has anyone had the same issue? > Adding Michele Baldessari (pacemaker expert) if he has any comments. It's been a while since I've used pacemaker. So I'm not sure what changed. If you're comfortable with puppet, probably you can refer to this - https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/pacemaker/ovn_dbs_bundle.pp Although the above creates a container bundle resource. Numan > Tiago Pires > _______________________________________________ > 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