On Tue, 5 Nov 2019 20:35:55 +0100 Valentin Vidić <[email protected]> wrote:
> On Mon, Nov 04, 2019 at 08:07:51PM -0600, Ken Gaillot wrote: > > A reminder: We are still interested in ideas for talks, and rough > > estimates of potential attendees. "Maybe" is perfectly fine at this > > stage. It will let us negotiate hotel rates and firm up the location > > details. > > Not sure if I would be able to attend but I would be interested to > know if there is some framework for release testing resource agents? > Something along the lines: > > - bring up 3 VMs > - configure a cluster using ansible for service X > - destroy node2 > - wait some time > - check if the service is still available There's the Cluster Test Suite (CTS) provided with Pacemaker source code. It can exercice any Pacemaker cluster you are able to build, with predefined scenarios. Sadly, there's no way (yet) to extend it with new scenario without patching it and there's still some rough edges to deal with. If you want to experience it, look at the tests of PAF project: https://github.com/ClusterLabs/PAF/tree/master/test It relies on Vagrant to build a full 3 nodes pgsql/Pacemaker cluster + 1 syslog node collecting logs from all other nodes. All in one command (make) and 3 minutes. Then, there's some documentation about how to use CTS to exercice it. Look at the README for more instructions. _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
