Commit Graph

377 Commits

Author SHA1 Message Date
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
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
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
David Ames 12ab3d8a40 Handle series upgrade for memcached 2018-10-16 15:32:51 -07:00
David Ames c092029603 Handle sereis-upgrade for mongodb 2018-10-16 13:28:46 -07:00
Liam Young 69698ea57d Merge pull request #142 from ChrisMacNaughton/bundle-flattener
Add support for removing machine placement in a bundle
2018-10-12 12:34:19 +01:00
Chris MacNaughton bc37046851 raise exception when trying to mix series 2018-10-12 09:05:26 +02:00
Chris MacNaughton 69c44551ff add unit testing and fix typo 2018-10-10 12:14:15 +02:00
Chris MacNaughton 362ce7bac5 rename flatten-bundle to remove-placement 2018-10-10 11:34:31 +02:00
Nicolas Pochet b3996949b8 Add ceph osd tests (#93)
Create functional tests replacing the Amulet tests that are currently used for testing.
2018-10-10 09:09:06 +02:00
Liam Young ff667c76c4 Merge pull request #141 from thedac/series-upgrade-daemons
Juju daemons remain up after pre-series-upgrade
2018-10-09 18:15:57 +01:00
David Ames 58af3438dd Fix completed machines unit tests 2018-10-09 09:09:25 -07:00
Chris MacNaughton 89527526f5 Add support for removing machine placement in a bundle 2018-10-09 17:37:40 +02:00
David Ames 202ab0b86b Fix completed machines 2018-10-05 14:50:10 -07:00
David Ames 06f181beaa Juju daemons remain up after pre-series-upgrade
The latest edge version of juju has the juju daemons remain up after
the completion of the pre-series-upgrade hook. This is a slight change
in behavior which requires a change to the zaza process. But it also
allows us to test for model idleness which we could not do when the
agents were down. This should avoid more race conditions.
2018-10-05 11:03:25 -07:00
Frode Nordahl d60699ca6c Merge pull request #140 from thedac/series-upgrade-ordering
Handle set origin
2018-10-05 16:54:31 +02:00
David Ames 0fba8b8568 Handle set origin
After the series upgrade a config changed hook will fire with openstack
origin or source still set to ubuntu series n-1 which will Traceback.

It is necessary to pause all primary charms which will then allow the
setting of openstack-origin or source to distro after the first unit is
in progress with the series upgrade.
2018-10-05 07:31:19 -07:00