Commit Graph

408 Commits

Author SHA1 Message Date
Alex Kavanagh 68649d4223 Merge pull request #176 from gnuoy/run-mysql-post-upgrade-action
Upgrade complete action for percona
2020-02-10 10:45:41 +00:00
Liam Young 19fb4c0782 Upgrade complete action for percona.
The Percona charm requires that an action is run once all the units
have performed their series upgrade. Longer term
test_200_run_series_upgrade needs refactoring but this is a
tactical fix in the meantime.
2020-02-10 10:24:10 +00:00
Alex Kavanagh 52134f89f7 Merge pull request #170 from addyess/bug/1828424
designate zaza tests
2020-02-10 09:32:11 +00:00
Adam Dyess f224e614a8 only use server api pre xenial-queens 2020-02-07 15:34:06 -06:00
Adam Dyess c5e020d11b Refactor tests to provide readibility and sanity 2020-02-07 13:41:01 -06:00
Liam Young 33059de3bf Merge pull request #174 from ajkavanagh/fix-vault-pause-resume-test
Fix the vault pause/resume test
2020-02-07 13:57:07 +00:00
Alex Kavanagh 1919000fa4 Fix the vault pause/resume test
The pause/resume test paused the lead unit, but then checked
the first unit.  In an HA scenario, the lead unit may not be the
first unit.  This PR changes the test to check the lead unit after
the pause/resume test.

Depends On: https://github.com/openstack-charmers/zaza/pull/327
2020-02-07 10:56:52 +00:00
Adam Dyess fd12751b01 Merge branch 'master' of github.com:openstack-charmers/zaza-openstack-tests into bug/1828424 2020-02-06 16:23:26 -06:00
David Ames 827032b1c6 Standardize preferred-api-version as an int 2020-02-06 13:16:34 -08:00
Adam Dyess 8794298bd0 properly wait for zones to delete after successful tests 2020-02-06 10:19:28 -06:00
Adam Dyess cdc0008bd3 incorporate team comments 2020-02-06 08:39:21 -06:00
Adam Dyess 89d7266734 Remove regular expression import 2020-02-05 22:09:38 -06:00
Adam Dyess 437aa4ab11 simply and reduce tests 2020-02-05 21:54:25 -06:00
David Ames 9f67c8e032 Do not test Trusty 2020-02-05 12:10:34 -08:00
David Ames 6672fe934d Test ovs-use-veth setting
Validate settings for existing and configured ovs-use-veth settings.
Verify the charm goes into a blocked state if they conflict.

Partial-Bug: #1831935
2020-02-05 12:10:34 -08:00
Adam Dyess 89b5b585bc Fix issue with service endpoint tests 2020-02-05 10:30:58 -06:00
Adam Dyess e444f51b49 endpoint URLs different before and after xenial_queens 2020-02-05 09:59:25 -06:00
Adam Dyess 30f752bbfc repair AmqpRelation test 2020-02-05 08:43:39 -06:00
Adam Dyess c3c00308d5 successful designate tests 2020-02-05 08:19:52 -06:00
Frode Nordahl 1398583e07 ovn: Update bridge configuration code
After power user feedback we want to change how interfaces are
attached to bridges on the OVN charms.

Ref: openstack-charmers/charm-layer-ovn#6
2020-02-05 13:20:55 +01:00
Adam Dyess a3f2751fdc Resolve Designate API tests 2020-02-04 23:00:53 -06:00
Adam Dyess a86f7affd4 retrieve keystone client through simpler api 2020-02-04 22:30:29 -06:00
Adam Dyess 06a34cd831 designate-bind tests passing 2020-02-04 16:56:40 -06:00
Adam Dyess d5ee2106d4 port designate amulet tests to zaza 2020-02-04 16:14:35 -06:00
Adam Dyess 2f395314ef pep8 issues 2020-02-04 14:32:11 -06:00
Adam Dyess 2f5ef8f027 eliminate multiple checks for post xenial-queens 2020-02-04 14:25:05 -06:00
Adam Dyess b88bccd526 Successful tests 2020-02-04 14:04:42 -06:00
Adam Dyess 3d58e9661e include designateclient into zaza requirements 2020-02-04 13:17:54 -06:00
Adam Dyess 9d2369f576 designate-bind zaza tests 2020-02-04 12:58:55 -06:00
Liam Young 51c2ec89b0 Fix spelling 2020-02-04 13:36:44 +00:00
Liam Young ee21886a8c Fix order in UPGRADE_SERVICES 2020-02-04 13:33:28 +00:00
Liam Young 00af513cf4 Skip series upgrade of easyrsa (Bug #1850124) 2020-02-04 12:55:19 +00:00
Alex Kavanagh cc5adbcfed Merge pull request #167 from gnuoy/support-mojo-unseal
Support mojo unseal
2020-02-04 12:52:53 +00:00
Liam Young 5fdde89be0 Tidyup docstring and method name 2020-02-04 12:48:00 +00:00
Alex Kavanagh 7538791b52 Merge pull request #145 from gnuoy/add-openstack-upgrade-lib
Add functions for performing OpenStack upgrades
2020-02-04 11:42:54 +00:00
Liam Young 9c8a18b66f Fix path to get_unit_name_from_ip_address 2020-02-04 11:05:23 +00:00
Liam Young 5927878a03 Tidyup mojo cert unseal 2020-02-04 10:10:50 +00:00
Alex Kavanagh 6f446a2a42 Merge pull request #166 from openstack-charmers/octavia-native-ovn-provider-test
Octavia native ovn provider test
2020-02-04 10:07:31 +00:00
Frode Nordahl d66358ce41 policyd/octavia: Use correct network for vips
Which network to use for vips depend on deployment configuration.
2020-02-04 09:16:44 +01:00
David Ames be3ea8ef14 Merge pull request #156 from addyess/bug/1828424
Bug/1828424
2020-02-03 13:23:33 -08:00
Liam Young cac2f4c4a7 Fix MOJO_LOCAL_DIR name 2020-02-03 16:03:42 +00:00
Liam Young 83982a7aec Add unseal function for mojo use.
* Add an unseal function for mojo to use.
* Switch mojo to use new function after series upgrade reboot.
* Add fallback if vip client is unavailable (the case if all
  hacluster units are paused for series upgrade).
2020-02-03 13:39:17 +00:00
Frode Nordahl 998a61a6a5 octavia: Support testing multiple providers 2020-02-03 10:41:40 +01:00
Frode Nordahl c2e585ae4c octavia: Move LB creation API calls to helper 2020-02-03 10:35:49 +01:00
Liam Young b79900405b Easyrsa does not support series upgrade so skip it
Easyrsa does not currently support series upgrade so skip it in
the openstack tests until Bug #1850121 is resolved.
2020-02-02 18:38:08 +00:00
Corey Bryant 1a8fd43268 Fix pep8 failure 2020-01-31 17:34:17 -05:00
Corey Bryant 38c3ad77e0 Update CeilometerTest to test ceilometer-agent
CeilometerTest is modified so that it can be used for both the
charm-ceilometer and charm-ceilometer-agent functional tests.
2020-01-31 12:13:49 -05:00
coreycb 9692dd0cbb Merge pull request #162 from gnuoy/workaround-ceilometer-bug-1861321
No ceilometer-collector restart check on trusty
2020-01-30 08:37:19 -05:00
Liam Young 4ba9951510 No ceilometer-collector restart check on trusty
Due to Bug #1861321 ceilometer-collector does not reliably
restart so do not check it until it is fixed.
2020-01-30 13:32:21 +00:00
Liam Young fa1d77c15a Fix hacluster pause/resume tests
The hacluster tests used to pause the hacluster subordinate but
then rely on the unintended side-effect of the prinicple going
into a blocked state to confirm the action was complete. This is
not what the old amulet tests used to do. Also, more importantly,
the side-effect has been fixed so the tests no longer worrk.
2020-01-30 12:47:06 +00:00