Commit Graph

401 Commits

Author SHA1 Message Date
Chris MacNaughton
774a49faef Support globstar for recursion 2019-01-29 14:49:03 +01:00
Chris MacNaughton
cd6ad8485f Allow file assertions to include globs 2019-01-29 14:03:47 +01:00
Liam Young
8f041c5328 Merge pull request #174 from openstack-charmers/revert-173-add-file-assertions-release
Revert "WIP: Add release comparison options"
2019-01-17 09:41:40 +00:00
Liam Young
0b6d5e69b9 Revert "WIP: Add release comparison options" 2019-01-17 09:39:34 +00:00
Liam Young
29a197b1a2 Merge pull request #173 from ChrisMacNaughton/add-file-assertions-release
WIP: Add release comparison options
2019-01-17 09:39:25 +00:00
Chris MacNaughton
f7f1c33b5b Add release comparison options 2019-01-15 17:00:53 +01:00
Liam Young
0107fd4543 Merge pull request #172 from ChrisMacNaughton/local-tests
Allow tests to be imported from the charm directory
2019-01-14 10:19:31 +00:00
Chris MacNaughton
a51b8d9070 Allow tests to be imported from the charm directory 2019-01-11 09:07:08 +01:00
David Ames
50aeb64bcc Merge pull request #171 from ChrisMacNaughton/file-ownership
rename expected file from files.yaml to file-assertions.yaml
2018-12-13 08:32:49 -08:00
Chris MacNaughton
ec82f8f889 rename expected file from files.yaml to file-assertions.yaml 2018-12-13 15:40:45 +01:00
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