Commit Graph

557 Commits

Author SHA1 Message Date
Frode Nordahl 7140e4e064 Add payload test
Create listener, pool, healthmonitor and members.

Check that we can get payload through the load balancer.
2019-06-21 14:41:40 +02:00
Frode Nordahl e395d1baf2 Add setup function for payload test instance
The instance will listen on TCP port 80 and serve up a Apache
welcome page.  This can be put behind a load balancer to validate
operation.
2019-06-21 14:41:27 +02:00
Frode Nordahl eafa0036f7 Allow passing custom security group rules 2019-06-21 14:41:16 +02:00
Frode Nordahl b036e5d487 Allow passing userdata when launching instance (#22)
With help from ``cloud-init`` this allows a test author to tailor
guests for use in payload testing.
2019-06-21 09:02:03 +02:00
Alex Kavanagh f5917a547d Merge pull request #21 from openstack-charmers/octavia-diskimage-retrofit
octavia/diskimage-retrofit: Fix erroneous use of generator return
2019-06-20 13:50:03 +01:00
Alex Kavanagh 19638eb5c5 Merge pull request #19 from openstack-charmers/octavia-diskimage-retrofit
octavia/diskimage-retrofit: Add charm setup and tests
2019-06-20 11:38:36 +01:00
Frode Nordahl a73cede82a Fix erroneous use of generator return 2019-06-20 12:35:06 +02:00
Frode Nordahl cb68bdb490 Add missing docstring, use new raise_on_failure param
The Zaza run_action functions ought to have a raise exception
option, openstack-charmers/zaza#251
2019-06-20 07:59:17 +02:00
Frode Nordahl 9104c82b91 octavia/diskimage-retrofit: Add charm setup and tests
Setup can be used standalone by other charms consuming the
``octavia-diskimage-retrofit`` charm for their testing purposes.

Tests the charms actions.

Full end to end test will be done by consuming this charm in the
``octavia`` charm tests.
2019-06-19 15:28:32 +02:00
David Ames 511a12e2a9 Merge pull request #18 from gnuoy/feature/auto-init-no-validation
Support initializing vault with no clients
2019-06-11 08:29:09 -07:00
Liam Young 11b55d5b4c Support initializing vault with no clients
Currently when vault auto_inititialize [sic] is called a validation
step is run at the end to check that clients connected to vault
have the correct setup. However in sometimes there are no clients
to run validation with (as with cross model relation testing). To
facilitate this expose a new method 'auto_initialize_no_validation'
which skip the client validation.

Also correct the spelling of auto_inititialize but add a partial
to support tests that are already using the old spelling.
2019-06-11 15:27:03 +00:00
Liam Young 5305b067dd Merge pull request #16 from openstack-charmers/feature/custom-ssh-command
Add a new SSH function
2019-06-06 13:04:07 +01:00
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