Cloudpulse/OperatorTests

Operator Tests
Perform the following steps to use cloudpulse to run operator tests. For Operator tests, only containerized environments are supported.

Install RPM Packages
The following RPM packages need to be installed.

yum install -y ansible

Setup SSH Keys
Operator test runs an ansible playbook on the target nodes and gets the required information. To enable cloudpulse to do operator tests the ssh keys have to be created and added to the authorized keys in all the target systems from the host running cloudpulse.

ssh-keygen ssh-copy-id -i ~/.ssh/id_rsa.pub ""

Create node configuration file
Location of node configuration file needs to be provided to cloudpulse.conf to do operator tests:

[operator_test] operator_setup_file = 

The node configuration file contains the information in the following format:

#E.g: gg31-1-compute-1: ip:  user: root role: compute gg31-1-controller-1: ip:  user: root role: control compute galerauser:  galerapassword:  gg31-1-controller-2: ip:  user: root role: control galerauser:  galerapassword:  gg31-1-controller-3: ip:  user: root role: control galerauser:  galerapassword: 
 * 1) nodes_config.yaml
 * 2) Modify and place this file in any location .
 * 1) Format
 * 2) :
 * 3)    ip: 
 * 4)    user: root
 * 5)    role: 

Run Operator Tests
cloudpulse-server --config-file <path_cloudpulse.conf>