Edin Sarajlic
4792a527c9
PROTOCOL_TLS is not available until Py3.6, use alternative
2019-10-14 10:45:59 +11:00
Edin Sarajlic
0e16359330
Check client+unit OS versions before running Rmq tests with SSL enabled
2019-10-14 10:45:59 +11:00
Edin Sarajlic
1835d957a1
Test: msgs can be sent/retrieved to/from Rmq cluster with SSL+alt port
...
Same message as my previous commit: As per the code: is there a
function to determine unit's release? Otherwise, I'll just implement
a generic function that run_on_unit lsb_release -cs
2019-10-14 10:45:59 +11:00
Edin Sarajlic
ce45a47dab
Test: messages can be sent/retrieved to/from Rmq cluster with SSL on
...
As per the code: is there a function to determine unit's release?
Otherwise, I'll just implement a generic function that run_on_unit
lsb_release -cs
2019-10-14 10:45:59 +11:00
Edin Sarajlic
19c9e86b19
Test: Rmq pause/resume.
...
Note: This test may have exposed a bug, where the
`block_until_unit_wl_status` returns once it reaches the "maintenance"
state, but subsequent queries to `unit.workload_status ==
"maintenance"` fail. Recreating the unit object (via
`zaza.model.get_unit_from_name`) returns the correct workload_status
when queried.
2019-10-14 10:45:59 +11:00
Edin Sarajlic
a738efd7f2
Test: Rmq unit action 'list-unconsumed-queues' returns a Juju action
2019-10-14 10:45:59 +11:00
Edin Sarajlic
2a0b7bf8e2
Test: Rmq unit action 'check-queues' returns a Juju action
2019-10-14 10:45:59 +11:00
Edin Sarajlic
9e7d76df2f
Test: Rmq unit action 'cluster-status' returns a Juju action
2019-10-14 10:45:59 +11:00
Edin Sarajlic
c5aba589ce
Test: existence NRPE configs/data on Rmq units
2019-10-14 10:45:59 +11:00
Edin Sarajlic
405cdf6388
Test: RMQ management plugin enabling/disabling exposes/hides ports
2019-10-14 10:45:59 +11:00
Edin Sarajlic
79c816ed0f
Test: messages can be sent/retrieved to/from Rmq cluster without SSL
2019-10-14 10:45:59 +11:00
Edin Sarajlic
1baff7281c
Helper function for testing if messages move across cluster successfully
2019-10-14 10:45:59 +11:00
Edin Sarajlic
1acbfd8741
Add a function for retrieving a message to an Rmq unit
2019-10-14 10:45:59 +11:00
Edin Sarajlic
20aad97033
Add a function for publishing a message to an Rmq unit
2019-10-14 10:45:59 +11:00
Edin Sarajlic
e09660f7c1
Add a function for disabling SSL on Rmq units
2019-10-14 10:45:59 +11:00
Edin Sarajlic
79d70e4f8d
Add a function for enabling SSL on Rmq units
2019-10-14 10:45:59 +11:00
Edin Sarajlic
97cc2b8e60
Add function validating is SSL is disabled on Rmq units
2019-10-14 10:45:59 +11:00
Edin Sarajlic
c917c5b370
Add function validating if SSL is enabled on Rmq units
2019-10-14 10:45:59 +11:00
Edin Sarajlic
79a9f179df
Add function for determing if SSL is enabled in unit's Rmq config
2019-10-14 10:45:59 +11:00
Edin Sarajlic
6d3714aa06
Add a function for deleting a user from a Rmq cluster
2019-10-14 10:45:59 +11:00
Edin Sarajlic
3a64bec97a
Add function for adding a user to an Rmq cluster
2019-10-14 10:45:59 +11:00
Edin Sarajlic
313f07bd0c
Add test confirming that all Rmq units are part of cluster
2019-10-14 10:45:59 +11:00
Edin Sarajlic
e0707fac04
Add an RmqTests class (tests to follow...)
2019-10-14 10:45:59 +11:00
Edin Sarajlic
efb781b048
Create rabbitmq_server.tests file (add a license as a starter)
2019-10-14 10:45:59 +11:00
Edin Sarajlic
6749ff763e
Add a function for creating connection to Rmq instance on unit
2019-10-14 10:45:59 +11:00
Edin Sarajlic
fa68f09e72
Add a function providing all units/nodes Rmq cluster_status in JSON
2019-10-14 10:45:59 +11:00
Edin Sarajlic
47657d6113
Add a function for getting Rmq cluster_status info from a unit
2019-10-14 10:45:59 +11:00
Edin Sarajlic
2fb7dcbdfc
Add function that waits until Rmq units are clustered and ready
2019-10-14 10:45:59 +11:00
Edin Sarajlic
cf91a9dab9
Create rabbitmq_server.utils file (add a license as a starter)
2019-10-14 10:45:59 +11:00
Edin Sarajlic
31c71f4061
Add function that runs/checks a command on all units, expecting exit 0
2019-10-14 10:45:59 +11:00
Edin Sarajlic
2888cb5e92
Add a function that checks port access given a list of units
2019-10-14 10:45:33 +11:00
Edin Sarajlic
27bd15a9e0
Add a function that returns contents of a file from a unit
2019-10-14 10:45:33 +11:00
Edin Sarajlic
9bceee55c8
Add function that returns a map of unit names -> hostnames
2019-10-14 10:45:33 +11:00
Frode Nordahl
9d8543b28a
Merge pull request #96 from gnuoy/issue/94
...
No origin for tempest series upgrade
2019-10-13 13:15:27 +02:00
Liam Young
34a8cc14b8
No origin for designate-bind series upgrade
2019-10-13 09:50:21 +00:00
James Page
9f2560746e
Merge pull request #93 from gnuoy/issue/92
...
No origin for designate-bind series upgrade
2019-10-12 10:44:45 +01:00
Liam Young
f0d2853aec
No origin for designate-bind series upgrade
2019-10-12 07:31:06 +00:00
Frode Nordahl
bf483db765
Merge pull request #91 from gnuoy/issue/88
...
Ensure units are idle before prepare_series_upgrade
2019-10-11 14:11:35 +02:00
Frode Nordahl
2b3c42fe4a
Merge pull request #90 from gnuoy/issue/89
...
Saml tests rely on lxml
2019-10-11 14:11:22 +02:00
Liam Young
9f73b218ac
Ensure units are idle before prepare_series_upgrade
...
Ensure all units are idel before running prepare_series_upgrade.
Closes issue #88
2019-10-11 11:40:10 +00:00
Liam Young
c05f784669
Saml tests rely on lxml
2019-10-11 11:30:16 +00:00
Ryan Beisner
ebc28e68d8
Merge pull request #87 from gnuoy/issue/81
...
dist upgrade before series upgrade
2019-10-10 09:06:11 -05:00
Liam Young
7c5e26d85d
Merge pull request #70 from natalytvinova/add-cinder-backup
...
Porting Cinder Backup tests to Zaza
2019-10-10 15:01:55 +01:00
Liam Young
7fd66a7a14
Move dist upgrade earlier so agent is still running
2019-10-10 12:22:18 +00:00
Liam Young
0080d84c33
dist upgrade before series upgrade
2019-10-10 11:21:59 +00:00
Natalia Litvinova
0e932ed61e
Porting Cinder Backup tests to Zaza
...
Porting the Amulet tests from Cinder Backup to the Zaza framework.
The Amulet tests can be found here:
4273738b94/tests/basic_deployment.py
2019-10-09 13:02:19 +03:00
Frode Nordahl
1512bcdd1a
Merge pull request #52 from openstack-charmers/feature/ceph-auto-pg
...
Add ceph pg tuning test
2019-10-09 08:38:56 +02:00
David Ames
20f1b9c699
Merge pull request #84 from ajkavanagh/policyd-improve-logging
...
Fix GlanceTest and improve logging
2019-10-07 15:12:58 -07:00
Alex Kavanagh
b33afe9cb3
Add note re: GlanceTest function
2019-10-07 23:06:22 +01:00
Alex Kavanagh
81c4432136
Improve logging on the policyd tests
...
This has no 'testing' changes, just improves the logging output.
2019-10-07 22:06:21 +01:00