Skip to content

Conversation

@ciaranRoche
Copy link
Member

What
This change looks to reconfigure, the playbooks so we can run maestro on a separate cluster to that of the cluster we are testing

Verify

  • Copy inventory cp inventories/inventory.template inventories/inventory
  • Update the master urls to the intgreatly cluster you wish to test and the cluster you wish to run maestro from
  • Configure address spaces on intly cluster ansible-playbook -i amq-online/ansible/inventories/inventory amq-online/ansible/playbooks/setup_integreatly.yml
  • Install and configure maestro ansible-playbook -i amq-online/ansible/inventories/inventory amq-online/ansible/playbooks/setup_maestro.yml
  • We now need to configure the sql database manually. This can be done from the maestro mariadb pod terminal. First create and grant access to mysql maestro users
sh-4.2$ mysql -u root
MariaDB [(none)]> GRANT ALL PRIVILEGES ON maestro.* TO 'maestro'@'localhost' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> CREATE USER 'maestro'@'%' IDENTIFIED BY 'maestro-dev';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON maestro.* TO 'maestro'@'%' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
  • Now we can apply the maestro schema
curl https://gist.githubusercontent.com/ciaranRoche/14265a7bb62c015a6503f46c7b17f936/raw/3df14277e9288f6495464a4592f203d3f38c0efe/schema.sql -o schema.sql
mysql -u root < schema.sql
  • Execute tests ansible-playbook -i amq-online/ansible/inventories/inventory amq-online/ansible/playbooks/execute_tests.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant