Commit Graph

545 Commits

Author SHA1 Message Date
Chris MacNaughton 045c50637b Add a new SSH function
It is likely that there are other commands that we
would like to run in our tests, so this is a new SSH
command runner that the existing SSH check has been
updated to use.
2019-06-06 13:46:06 +02:00
Liam Young eec43340eb Extend Nova compute tests. (#14)
Extend the nova compute tests to cover some that were missed from
the amulet tests.
2019-06-05 10:32:02 +02:00
coreycb 1bbe859a60 Merge pull request #5 from cloud-padawan/ceph-proxy-tests
added ceph-proxy tests
2019-05-30 12:19:59 -04:00
Ramon Grullon 0c32e1b0d9 added ceph-proxy tests 2019-05-30 14:44:16 +00:00
Liam Young ce9db8434b Extend cinder testing (#13)
* Extend cinder testing

* Run sec checklist on all units of application
2019-05-23 14:48:39 +02:00
Liam Young 748d1ba6e1 Remove erroneous print message (#12) 2019-05-23 12:01:41 +02:00
Liam Young 648ac9262b Expose resource_removeds retry options (#11)
resource_removed is used in many places to monitor removal of
different kinds of OpenStack resource. It is reasonable to expect a
flavor to be removed in a few seconds where as an image based instance
may take minutes to be removed. With that in mind this change
exposes the retry options used by tenacity allowing the caller to
set reasonable expectations for the resource removal.
2019-05-23 11:16:03 +02:00
Liam Young 8a7872c163 Merge pull request #10 from thedac/saml-ha
Bug fix for HA SAML tests
2019-05-22 07:35:42 +02:00
David Ames dc3ca2edef Bug fix for HA SAML tests 2019-05-21 20:36:27 +00:00
coreycb d91d4c5549 Merge pull request #7 from thedac/saml
Fixes for SAML testing
2019-05-20 11:23:25 -04:00
David Ames 9c64258650 Merge pull request #9 from gnuoy/feature/cinder
Add cinder tests
2019-05-20 07:53:34 -07:00
Liam Young 1646073f02 Add cinder tests 2019-05-20 11:46:56 +00:00
Liam Young 9f028259f4 Merge pull request #8 from openstack-charmers/remove-duplicate-noop
Remove test that is being migrated upstream to zaza
2019-05-20 10:42:05 +02:00
Chris MacNaughton cf3d00edd5 Remove test that is being migrated upstream to zaza
https://github.com/openstack-charmers/zaza/pull/238
2019-05-20 08:30:51 +02:00
David Ames 40e3148133 Fixes for SAML testing
Move SAML testing to zaza.openstack tests
Bug fixes
2019-05-17 22:13:47 +00:00
Liam Young 9721fe5d42 Fix restart_on_changed helper (#6)
The restart_on_changed helper was moved to use the config_change
context manager but the code that checks that the config file is
correctly reverted at the end of the test was accidently left within
the context.
2019-05-17 15:08:58 +02:00
Liam Young 6dad655b5d Avoid adding duplicate handler (#4)
If a logging handler has already been added don't add it again.
2019-05-14 15:31:55 +02:00
Liam Young 5c68401d96 Add swift tests (#2) 2019-05-13 13:36:48 +02:00
Chris MacNaughton 26043c847d Merge pull request #1 from gnuoy/feature/get-ks-auth-from-relation
Add function for getting keystone auth from relation
2019-05-13 11:13:46 +02:00
Liam Young 6b2c1d26eb Add function for getting keystone auth from relation 2019-05-13 09:06:40 +00:00
Chris MacNaughton 0854288288 update readme 2019-05-09 10:53:24 +02:00
Chris MacNaughton 0c2f36fb4e modify base zaza poackage into zaza.openstack package 2019-05-08 13:38:33 +02:00
coreycb ebf9aa085e Merge pull request #230 from thedac/saml
Keystone SAML Mellon functional testing
2019-05-01 06:59:11 +02:00
Liam Young 278107e391 Merge pull request #229 from ChrisMacNaughton/bug/1826542
ensure we have a secret KV backend
2019-04-30 11:28:26 +02:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00
David Ames 46079e650f Merge pull request #222 from ChrisMacNaughton/require-env-vars
Use jinja2's StrinctUndefined to make template variables mandatory
2019-04-22 10:29:49 -07:00
David Ames ac4f68e560 Merge branch 'master' into require-env-vars 2019-04-22 10:21:15 -07:00
Chris MacNaughton 4954e44c51 Use jinja2's StrinctUndefined to make template variables mandatory 2019-04-21 16:33:03 +02:00
Chris MacNaughton 0587c3a699 Merge pull request #223 from gnuoy/feature/add-upgrade-charm
Add function to upgrade charm
2019-04-16 12:51:59 +02:00
Liam Young 2492dbfd99 Add function to upgrade charm 2019-04-16 10:41:02 +00:00
Liam Young 50decf65bd Merge pull request #221 from fnordahl/detect-unit-errors-while-waiting
Detect units in ``error`` state while awaiting idle model
2019-04-14 16:02:38 +01:00
Frode Nordahl a0ed15a68c Detect units in `error` state while awaiting idle model
At present Zaza will wait until it hits a timeout if one of the
units enters a error state while it awaits a idle model.

Add check for errored units to ``block_until_all_units_idle()``
and ``wait_for_application_states()``

Fixes #100
2019-04-14 00:39:46 +02:00
Frode Nordahl 52ac310495 Merge pull request #218 from openstack-charmers/issue/217
Fix list of release pairs
2019-04-08 12:33:51 +02:00
Frode Nordahl 82de377586 Fix list of release pairs
Fixes #217
2019-04-08 12:22:09 +02:00
James Page 80803f8d1c stein: Add swift 2.21.0 (#216)
Add the latest swift release to the list of versions for stein.
2019-04-08 09:26:17 +01:00
Chris MacNaughton 53768a9cee Merge pull request #213 from ChrisMacNaughton/stein
Add stein support
2019-04-05 15:13:42 +02:00
Chris MacNaughton 048dacee28 Add stein support
Closes #212
2019-04-05 15:03:59 +02:00
Frode Nordahl 35202f2c98 Merge pull request #211 from openstack-charmers/add-resync-pools
ceph/rbd_mirror: Add use of ``resync-pools`` action to test
2019-04-02 10:05:32 +02:00
Frode Nordahl f38da846da ceph/rbd_mirror: Encapsulate call to status action in try except
The call to status action in ``wait_for_mirror_state`` helper is
susceptible to Ceph bug LP: #1820976.

Encapsulate in try except clause to work around it.
2019-04-02 08:29:53 +02:00
Frode Nordahl ee06037050 Add missing `=` 2019-04-01 17:01:13 +02:00
Frode Nordahl b7807fc512 ceph/rbd_mirror: Optionally require presence of images in wait-helper
When you tell Ceph to resync mirrored RBD images it will in
practice remove and re-create the image.

At present the image state wait helper will happilly accept no
images in a pool as a positive outcome.

Add optional ``require_images_in`` parameter that allows the wait
helper to block even when no images are available in the pool (yet)
2019-04-01 16:44:41 +02:00
Frode Nordahl 22763491b3 ceph/rbd_mirror: Add use of `resync-pools` action to test 2019-04-01 12:26:02 +02:00
Chris MacNaughton 648d9c16d0 Merge pull request #210 from openstack-charmers/travis-update-dist
travis: Switch to ``xenial`` dist
2019-03-29 13:11:19 +01:00
Frode Nordahl 514482b5ea travis: Switch to `xenial` dist
Update installation sequence to fit the Travis Xenial environment.

This should save us some time on binary deps as we no longer need
to install snapd and kernel packages mandated by spectre/meltdown
in the Travis ``trusty`` image.
2019-03-29 12:31:31 +01:00
Chris MacNaughton edabe6ab00 Merge pull request #209 from openstack-charmers/fix-luminous
charm_tests/ceph/rbd_mirror: Workaround upstream Ceph Luminous bug
2019-03-29 10:29:13 +01:00
Frode Nordahl 089d284b3e travis: Enable debug logging for juju bootstrap
The functional tests are consistently timing out atm in the juju
bootstrap stage.  Enable debug log so we can se what is going on.
2019-03-29 09:53:27 +01:00
Frode Nordahl b03a97a14d charm_tests/ceph/rbd_mirror: Use sorted list of pool names
At present the test uses a dict which includes the internal
numeric ID each pool has.  This may be different on each side
depending on which order the pools were created in.

Use pool name in a sorted list for comparison instead.
2019-03-29 09:09:54 +01:00
Frode Nordahl 7b7dc7ec55 charm_tests/ceph/rbd_mirror: Workaround upstream Ceph Luminous bug
Fixes #208
2019-03-29 09:09:54 +01:00
Frode Nordahl d93c0cd267 Merge pull request #207 from javacruft/increase-wait-timeouts
ceph rgw: increase retry attempts post replication
2019-03-28 19:26:34 +01:00
Frode Nordahl 0e6de20e5c Merge branch 'master' into increase-wait-timeouts 2019-03-28 16:02:28 +01:00