Dmitrii Shcherbakov
79317b5e39
Merge pull request #369 from auria/hacluster-scaleback
...
HaclusterScaleBackAndForthTest
2021-03-16 14:44:15 +03:00
Peter Matulis
fae2f6319e
Add upgrades doc note ( #526 )
...
* Add upgrades doc note
Add a note so that upgrade testing (charms and payload)
remains in sync with the end-user documentation (CDG)
2021-03-15 17:17:22 +00:00
Aurelien Lourot
d7c21424de
Merge pull request #524 from ionutbalutoiu/add-manila-netapp-tests
...
Add Manila NetApp tests
2021-03-15 14:48:47 +01:00
Ionut Balutoiu
7e56813885
Add Manila NetApp tests
...
These Zaza tests are meant to be used with the new `manila-netapp` charm.
2021-03-15 15:11:38 +02:00
Aurelien Lourot
8bc88b398f
Merge pull request #509 from ionutbalutoiu/refactor-manila-ganesha-test
...
Refactor Manila Ganesha test
2021-03-15 13:21:55 +01:00
Ionut Balutoiu
74c5c9d69c
Fix _write_testing_file_on_instance docstring
2021-03-12 14:53:21 +02:00
Aurelien Lourot
c9d8800034
Merge pull request #486 from ionutbalutoiu/update-ceph-rbd-mirror-tests
...
Update Ceph RBD Mirror tests
2021-03-12 09:19:54 +01:00
Liam Young
0cbe7fe563
Merge pull request #522 from ajkavanagh/change-docstrings-for-vault-utils
...
Clean-up/correct docstrings in vault/utils.py
2021-03-10 07:43:30 +00:00
Alex Kavanagh
c6e54dd505
Clean-up/correct docstrings in vault/utils.py
2021-03-09 18:09:37 +00:00
Alex Kavanagh
4551f66505
Fix the kerberos set-up by loosening ubuntu check ( #521 )
...
* Fix the kerberos set-up by loosening ubuntu check
The cs:ubuntu charm's workload-status-message has changed recently (as
the charm was re-written). This PR loosens the application states check
to ignore the workload-status-message and just wait for the charm to be
active workload-status. This is almost certainly enough, as it's a very
simple charm.
* Fix tox.ini to pass tests (maybe)
2021-03-09 18:59:33 +01:00
Alex Kavanagh
7f04ff4939
Merge pull request #520 from mastier/master
...
fix formatting issues and docstring
2021-03-09 17:44:45 +00:00
Alex Kavanagh
731f9e415a
Merge pull request #519 from ChrisMacNaughton/move-tests-to-35+
...
remove python 3.4 support
2021-03-09 17:39:14 +00:00
Bartosz Woronicz
d7ec4fd0b8
fix formatting issues and docstring
...
That fixes the issues introduced in PR #512 #517
Now flake8 should not complain
2021-03-08 16:18:52 +01:00
Chris MacNaughton
2d753a32ba
remove python 3.4 support
2021-03-08 15:46:24 +01:00
Billy Olsen
a396e32873
Merge pull request #518 from ChrisMacNaughton/feature/github_actions
...
Add github actions support with linting and unit tests
2021-03-08 07:42:24 -07:00
Chris MacNaughton
975f5058f4
Add github actions support with linting and unit tests
2021-03-08 11:50:48 +01:00
Bartosz "mastier" Woronicz
79a78c2ca0
fix reload test for vault ( #517 )
...
The test was failing for xenial-ha-mysql bundle
This fixes the issue for cluster vault
by picking the right vault cluster leader
to run the commands against.
Co-authored-by: Bartosz Woronicz <bartosz.woronicz@canonical.com >
2021-03-08 08:59:23 +01:00
Aurelien Lourot
aafdc4070f
Workaround for lp:1874719
2021-03-05 18:08:54 +01:00
Aurelien Lourot
93a48133b3
Add assertions to HaclusterScaleBackAndForthTest
2021-03-05 12:50:50 +01:00
Aurelien Lourot
fbd24759c0
Merge pull request #499 from thedac/mysql-scale-fix
...
Fix race condition in MySQL tests
2021-03-05 12:48:44 +01:00
coreycb
a8e409928a
Merge pull request #512 from mastier/master
...
add reload and restart action tests for vault
2021-03-04 13:37:55 -05:00
Ionut Balutoiu
9901248f79
Refactor Manila Ganesha test
...
The current Manila Ganesha `test_manila_share` had a lot of
functionality that can be re-used to any configured Manila backend.
It's a good idea to have this functionality generalized into
`zaza.manila.tests.ManilaBaseTest`, which can be reused for any
tested Manila backend.
2021-03-04 14:21:56 +02:00
Bartosz Woronicz
73c78a0db3
add reload and restart action tests for vault
2021-03-04 11:58:32 +01:00
Ionut Balutoiu
2fefca5a40
Code cleanup
...
* Move general function out of the testing class. This will make them
easy to be reused.
* Properly organize the tests, and add tons of docstrings and comments
to have them as clear as possible.
* Add `failover_cinder_volume_host` to the Zaza `utilities/openstack.py`,
since this is a general purpose function.
2021-03-03 13:56:36 +02:00
Aurelien Lourot
0931ebb456
Fix docstring
2021-03-03 10:56:15 +01:00
Aurelien Lourot
c80f5fdef8
Make HaclusterScaleBackAndForthTest less stressful
...
Removing and re-adding two units out of a cluster of three
so fast seems to be too stressful for corosync/pacemaker,
which makes the test fail in rare cases. Removing and
re-adding one unit only is enough in order to validate the
functionality. This also makes the test execution time
much shorter.
2021-03-03 10:50:53 +01:00
David Ames
adda372699
Show cluster status before removal
2021-03-02 22:44:40 +00:00
Aurelien Lourot
802e0e0af4
Merge pull request #480 from ionutbalutoiu/update-saml_mellon-tests
...
Add multi-backend testing for Keystone SAML Mellon
2021-02-26 11:07:28 +01:00
Aurelien Lourot
20bd5dfb59
Remove obsolete comment
...
The automatic corosync cleanup on Juju >= 2.8 turned out
not to work and has been removed from charm-hacluster.
The 'update-ring' action is now always needed.
2021-02-25 13:05:30 +01:00
Ionut Balutoiu
d41f8b3724
Update Ceph RBD Mirror tests
...
The updated tests add the possibility of testing deployments
with `image` RBD mirroring mode implemented as part of the
Cinder Ceph Replication charm spec.
2021-02-25 11:01:54 +02:00
Ionut Balutoiu
d728458afa
Add multi-backend testing for Keystone SAML Mellon
...
The new updated tests rely on new testing bundles deployed with
two local IdPs via the Juju charm https://jaas.ai/u/ionutbalutoiu/test-saml-idp .
2021-02-24 20:21:14 +02:00
Aurelien Lourot
8c819814fb
Don't wait for principle to get back to active
2021-02-19 16:58:32 +01:00
David Ames
135da1e1a3
Fix reboot-cluster-from-complete-outage race
2021-02-18 09:38:05 -08:00
Aurelien Lourot
c00aa18ffb
Assert that corosync considers all nodes to be online
2021-02-18 16:56:08 +01:00
Aurelien Lourot
c8ccfc66c8
Merge pull request #507 from gnuoy/trilio-ussuri-workaround
...
Add short-term workaround to Trilio bug
2021-02-18 16:03:27 +01:00
Liam Young
f97c717ba0
Add short-term workaround to Trilio bug
2021-02-18 14:49:49 +00:00
Aurelien Lourot
f598eb93c2
Improve comments
2021-02-18 10:38:45 +01:00
Aurelien Lourot
1c4d2e05af
Let test_930_scaleback remove 2 units instead of 1
2021-02-18 09:51:00 +01:00
David Ames
af2c6243e2
Fix race condition in MySQL tests
...
In the MySQL test we destroy a unit and then attempt to remove it from
metadata. The metadata removal (remove_instance action) gets stuck when it is
started while the destroyed unit has not been entirely removed and is still
running MySQL.
Wait for all the units to have cluster incomplete workload status message
before attempting the remove_instance.
2021-02-12 14:23:00 -08:00
David Ames
c42c3f5651
Merge pull request #501 from Gleland/bug/1883196
...
Refactor security checklist test to be in a separate class
2021-02-12 09:02:06 -08:00
Garrett Thompson
ce4fe12021
Revert "Skip security_checklist test for xenial_mitaka"
...
This reverts commit 1210e0c47e .
Rather than using an if statement for gating xenial_mitaka
and earlier, test cases can be customized in tests/tests.yaml
for individual bundles. This will be handled in review 774305.
[0] https://review.opendev.org/c/openstack/charm-openstack-dashboard/+/774305
2021-02-11 12:43:04 -08:00
Garrett Thompson
1210e0c47e
Skip security_checklist test for xenial_mitaka
...
See bug 1915293 [0] for more details, but this test is already skipped
in the repo's current state, this is just making it more explicit as
part of the current refactor.
[0] https://bugs.launchpad.net/charm-openstack-dashboard/+bug/1915293
2021-02-10 18:42:32 -08:00
Garrett Thompson
5b9db73fc7
Fix indentation for pep8
2021-02-10 06:40:19 -08:00
Aurelien Lourot
b245fea27f
Merge branch 'master' into hacluster-scaleback
2021-02-10 11:23:45 +01:00
Alex Kavanagh
2ef404be75
Merge pull request #502 from openstack-charmers/lourot/cryptography-rust
...
Pin cryptography<3.4
2021-02-10 09:47:35 +00:00
Aurelien Lourot
c327e4c3a2
Pin cryptography<3.4
...
Newer versions require a Rust compiler to build.
2021-02-10 10:22:13 +01:00
Garrett Thompson
83e5dc798c
Refactor security checklist test to another class
...
This will allow security checks to be logically separate from other
functional tests, and adhere to a similar design pattern that is
used in other charm tests (see nova [0]) for an example. It will also
highight which security checks are currently passing, and which are not.
[0] https://github.com/openstack-charmers/zaza-openstack-tests/blob/35840a66d6788dc4899847747ee7523895f46e1b/zaza/openstack/charm_tests/nova/tests.py#L485-L529
Partial-Bug: #1883196
2021-02-09 19:47:40 -08:00
Garrett Thompson
6cbcd0b126
Merge pull request #2 from openstack-charmers/master
...
merge from upstream
2021-02-08 08:06:40 -08:00
Aurelien Lourot
2c9459bf1f
Merge branch 'master' into hacluster-scaleback
2021-02-08 15:20:53 +01:00
Frode Nordahl
4cbf70dd5e
octavia: Configure SSH key to allow debugging of Amphorae ( #495 )
2021-02-04 08:56:22 +01:00