ClusterLabs/pacemaker — pull request #339 by davidvossel (2013-08-09 21:34:10+00:00)
Title: RemoteSimple cts test for pacemaker_remote

This introduces a tool for bringing pacemaker_remote testing to cts (lxc-autogen.sh) along with a simple test that exercises this tool.

lxc-autogen exists in the /usr/share/pacemaker/tests/cts/ directory and generates linux container configurations in /var/lib/pacemaker/cts/lxc that can be used within the cluster as remote-node resources. The RemoteSimple cts test exercises this tool by generating 2 linux container resources on a cluster node and configuring those containers are remote-nodes. We then place a couple of resources within those remote-nodes to verify they can properly manager their own resources.

The pacemaker_remote CTS tests are not enabled by default. The new --remote-tests option must be used with CTSlab.py to enable them.