Jump to: navigation, search


Operator Tests

Ubuntu OS Packages

The following required packages are to be installed in ubuntu

  • sudo apt-get update
  • sudo apt-get install ansible

SSH Keys

The Operator Tests run an ansible playbook on the Target nodes and get the required information for the operator Tests.

To enable cloudpulse 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 "controllernode"

Configuration File Changes

The following configurations are needed in /etc/cloudpulse/cloudpulse.conf for testing operator tests.

[operator_test] operator_setup_file = /etc/cloudpulse/openstack_config.yaml containerized = True rabbit_container = rabbitmq_v1 galera_container = mariadb_v1

The operator setup file contains the information in the following format


   user: root
   role: controller
   galerauser: wsrepuser
   galerapassword: 12345677

The "containerized" keyword tells us if the operator tests have to be done inside a container or on the controller itself.If the services are running inside a container then the name of the containers should be given in rabbit_container and galera_container.