Commit Graph

391 Commits

Author SHA1 Message Date
Liam Young d68757ff4b Merge pull request #170 from fnordahl/add-octavia-crud-action
Make Octavia setup function run `configure-resources` action
2018-12-04 15:01:32 +00:00
Frode Nordahl d5b996f572 Make Octavia setup function run configure-resources action 2018-12-04 14:37:58 +01:00
Chris MacNaughton 8e29453f74 Merge pull request #169 from thedac/generalize_config_change
Allow application_name parameter to config_change
2018-12-04 10:01:06 +01:00
David Ames 25cfab8651 Allow application_name parameter to config_change
When the charm under test is not the self.application_name of the object
of the setup/test class zaza.test_charms.test_utils.config_change would
try to make a configuration change to the wrong charm. This lead to
https://github.com/openstack-charmers/zaza/issues/168.

This change allows passing application_name to config_change for when
the charm under test is not the same as the object's
self.application_name.

Closes-Issue: https://github.com/openstack-charmers/zaza/issues/168
2018-12-03 19:33:06 +00:00
David Ames 9411241295 Merge pull request #166 from openstack-charmers/log-overlays
Log overlays and template renders for greater visibility
2018-11-30 13:37:33 -08:00
Ryan Beisner f9d6203f4b Log overlays and template renders for greater visibility 2018-11-30 15:22:47 -06:00
David Ames 9e62dae2ef Merge pull request #163 from fnordahl/add-ovs-and-octavia-tests
Add Octavia tests
2018-11-30 08:22:45 -08:00
Frode Nordahl 732ed4cb4f Add Octavia tests 2018-11-30 16:25:51 +01:00
Alex Kavanagh 36ee6e685a Merge pull request #165 from thedac/yaml_safe_load
Use yaml.safe_load
2018-11-29 17:41:16 +00:00
David Ames 33b74f2da8 Use yaml.safe_load
We should be using yaml.safe_load and not yaml.load in all of our code.
2018-11-29 09:26:21 -08:00
Frode Nordahl 39aed0fa99 Skip Compute/Neutron owned ports for overlay test 2018-11-29 10:04:05 +01:00
Frode Nordahl 4721d21ba2 Make reusable and generic add_image func, add support tags 2018-11-29 06:29:06 +01:00
Frode Nordahl 3fd0e7a326 cert: Fix encoding of password 2018-11-29 06:29:06 +01:00
Frode Nordahl e1f360f823 Add helper to get authenticated octaviaclient 2018-11-29 06:29:06 +01:00
Alex Kavanagh c89a7940a5 Merge pull request #164 from thedac/ceph-osd-in-out
Rename ceph-osd pause/resume osd-out/osd-in
2018-11-27 09:31:22 +00:00
David Ames cc4adabba9 Merge pull request #153 from fnordahl/add-neutron-openvswitch-tests
Add neutron openvswitch tests
2018-11-26 15:53:00 -08:00
David Ames 107197360c Rename ceph-osd pause/resume osd-out/osd-in
Partial-Bug: #1793507
2018-11-26 15:28:49 -08:00
Frode Nordahl e74a5b485c Add initial neutron-openvswitch tests
First setup and test is for testing the new LXD profile.
2018-11-23 09:17:48 +01:00
David Ames d508f87fe9 Merge pull request #154 from fnordahl/add-barbican-vault-tests
Add barbican vault tests
2018-11-20 07:41:40 -08:00
coreycb 02ed7d3d76 Merge pull request #161 from thedac/typos
Fix typo
2018-11-14 10:58:13 -05:00
David Ames 239027d2d2 Fix typo 2018-11-14 07:34:34 -08:00
coreycb 10b973fcbc Merge pull request #160 from thedac/vip-in-catalog
Check for the VIP in the identity catalog entry
2018-11-13 21:00:00 -05:00
David Ames a65638664d Check for the VIP in the identity catalog entry
Add an early test to check that the catalog entry for the identity
service uses the VIP.
2018-11-13 14:37:49 -08:00
David Ames 597d58e417 Merge pull request #159 from gnuoy/issue/158
Accept bespoke workload statuses and default
2018-11-13 10:19:47 -08:00
Liam Young c8ae64dc47 Ensure workload statuses and messages are reset for each app 2018-11-13 18:00:43 +00:00
Liam Young 12204594f9 Change check_unit_workload_status state to states to make it clearer 2018-11-13 17:32:35 +00:00
Liam Young 82e9f1b625 Accept bespoke workload statuses and default
When checking the readyness of an application check both the
bespoke status as defined in the tests.yaml and the default.
Closes issue 158.
2018-11-13 17:11:45 +00:00
Liam Young 05cbcb7aea Merge pull request #156 from javacruft/pin-hvac-version
Avoid hvac 0.7.x series for now as its breaks tests.
2018-11-12 15:30:26 +00:00
James Page 29944df5d4 Avoid hvac 0.7.x series for now as its breaks tests. 2018-11-12 14:34:10 +00:00
Liam Young b50c7fc014 Merge pull request #155 from thedac/idle-on-config-changed
Wait for idleness on config changed
2018-11-09 16:23:38 +00:00
David Ames 7835520c8a Promise to optimize in the future 2018-11-09 08:03:49 -08:00
David Ames d77b868411 Wait for idleness on config changed
Intermittent failures in the keystone testing were due to not waiting
long enough after a configuration change.

In addition to waiting for expected workload status also wait for
idleness.
2018-11-09 07:48:42 -08:00
Frode Nordahl b88447c7c6 Add setup and test code for barbican-vault 2018-11-09 12:00:54 +01:00
Frode Nordahl 2f680ccd93 Add stand-alone UnsealVault test
Useful for bootstrapping Vault when it is present in
test bundles for other charms.
2018-11-09 11:51:47 +01:00
Chris MacNaughton 13e7d23079 Merge pull request #152 from gnuoy/add-missing-rocky-queens-codes
Add missing Rocky and Queens versions
2018-11-08 10:45:59 +01:00
Liam Young 6b0628a603 Add missing Rocky and Queens versions 2018-11-08 09:24:27 +00:00
Alex Kavanagh 1e4733bd90 Merge pull request #150 from thedac/render-vips
Allow OSCI environment variables
2018-11-06 08:40:13 +00:00
Liam Young 791b664a89 Merge pull request #151 from thedac/upgrad-series-command
Update the upgrade-series command
2018-11-06 07:33:43 +00:00
David Ames 3791cd9ffd Update the upgrade-series command
Since https://github.com/juju/juju/pull/9395 the ordering of the
upgrade-series command has changed.

Update to match current juju.
2018-11-05 15:46:50 -08:00
David Ames f6fe86e282 Allow OSCI environment variables
Zaza explicitly limits which environment variables are allowed for
template rendering. Allow the variables that OSCI actually uses. Without
this OSCI fails to render vips.

This enables zaza tests with HA in OSCI.
2018-11-05 15:28:04 -08:00
Alex Kavanagh 60cdfadf13 Merge pull request #149 from thedac/timeout-error
Explicit Model Timeout Exception
2018-10-31 15:41:31 +00:00
David Ames 1fb704507b Use model.applications as a dict 2018-10-31 08:24:47 -07:00
David Ames 1d709bbddd Review requests
Pep8 fixes.
2018-10-31 07:39:38 -07:00
David Ames 348e7211cd Explicit Model Timeout Exception
When we timeout waiting for the model to be idle and have specific
workload statuses make that explicit.
2018-10-29 11:32:43 -07:00
David Ames d4b2862f54 Merge pull request #148 from thedac/series-upgrade-generic-non-leader-first
More generic non leader first series upgrade
2018-10-29 10:19:51 -07:00
David Ames 3338fe89ba More generic non leader first series upgrade
Make the series_upgrade_mongodb less specific to mongodb. We may
eventually use this to series upgrade vault.

Fix bug in the generalized series_upgrade_non_leaders_first.

Fix change in switch --agree to --yes.
2018-10-29 10:03:28 -07:00
Liam Young 4f4cccb80f Merge pull request #147 from ChrisMacNaughton/file-ownership
WIP: Add support for testing file ownership
2018-10-17 09:06:02 +01:00
Chris MacNaughton 11133ccd1f fix up local template rendering 2018-10-17 09:32:49 +02:00
Chris MacNaughton cc893ae851 Add tests derived from tests.yaml in the target directory 2018-10-17 09:20:23 +02:00
Frode Nordahl 77799c3d98 Merge pull request #146 from thedac/series-upgrade-one-offs
Series upgrade one offs
2018-10-17 07:48:43 +02:00