Commit Graph

996 Commits

Author SHA1 Message Date
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
coreycb 5f771f85ed Merge pull request #172 from thedac/redo/bug/1831935
Re-merge Test ovs-use-veth setting
2020-02-05 15:14:47 -05: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
Chris MacNaughton 6d38fcaafb Merge pull request #171 from openstack-charmers/ovn-charm
ovn: Update bridge configuration code
2020-02-05 16:32:19 +01: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
Chris MacNaughton cb15b18afc Merge pull request #169 from gnuoy/fix-upgrade-order
Fix order in UPGRADE_SERVICES
2020-02-04 14:47:38 +01: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
Chris MacNaughton 501c26bf94 Merge pull request #168 from gnuoy/skip-etcd-series-upgrade
Skip series upgrade of easyrsa (Bug #1850124)
2020-02-04 14:06:37 +01: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
Alex Kavanagh c68d5fdce6 Merge pull request #165 from gnuoy/skip-easyrsa
Easyrsa does not support series upgrade so skip it
2020-02-02 20:58:48 +00: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
David Ames 8086e9de57 Merge pull request #163 from coreycb/master
Update CeilometerTest to test ceilometer-agent
2020-01-31 14:41:02 -08: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
Chris MacNaughton 4234dc48d4 Merge pull request #161 from gnuoy/fix-hacluster-pause-tests
Fix hacluster pause/resume tests
2020-01-30 13:56:15 +01: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
Adam Dyess 7f82aa3a80 simplify looking for user from keystone 2020-01-29 10:30:27 -06:00
Adam Dyess 51f7f2cfa7 attempt to force ldap tests to use keystone v3 api 2020-01-29 09:17:28 -06:00
Adam Dyess 416c85b08f attempt to force keystone_v3 for ldap tests 2020-01-28 14:03:06 -06:00
Adam Dyess b7890be342 _stringified config value of --> '' 2020-01-27 13:15:59 -06:00
Adam Dyess abfa96042f also don't cast config keys to str 2020-01-27 12:30:08 -06:00
Adam Dyess 056b2552fd resolve pep8 issues 2020-01-27 11:48:58 -06:00
Adam Dyess b080f5ff59 config_current doesn't need to flatten values to , but applying config to zaza.model does required all values are strings 2020-01-27 11:46:23 -06:00
Chris MacNaughton a82914c2bc Merge pull request #160 from gnuoy/retry-ceph-obj-count
Retry get_ceph_pool_sample
2020-01-27 13:15:52 +01:00
Liam Young 827bb4bf1e Retry get_ceph_pool_sample
It sometime takes a short time for removal to be reflected in
get_ceph_pool_sample so wrap check in tenacity decorator to retry.
2020-01-27 12:09:09 +00:00
Chris MacNaughton 2e6f13c6ce Merge pull request #159 from gnuoy/swift-gr-wait-for-2-regions
Add setup method for swift GR to check regions
2020-01-27 11:19:11 +01:00
Liam Young 4b9773bb5e Fix copy/pasta error 2020-01-27 10:10:43 +00:00
Chris MacNaughton 028a71b157 Merge pull request #158 from gnuoy/skip-qos-test-with-ovn
Skip QoS Tests in OVN deploys
2020-01-27 11:04:04 +01:00
Liam Young 012e08c077 Add setup method for swift GR to check regions
Add setup method for swift GR to check region count. This ensures
the environment is ready before running GR tests.
2020-01-27 09:32:06 +00:00
Liam Young 7e2febbde9 Skip QoS Tests in OVN deploys
The QoS tests do not work with OVN deploys, so skip them for the
time being.
2020-01-27 09:11:43 +00:00
Adam Dyess 0614ff5ad6 integrate comments from @thedac to improve waiting for stable, and some documentation issues 2020-01-24 12:59:58 -06:00
Adam Dyess 852a279bdb assert if ldap server isn't available 2020-01-24 11:25:08 -06:00
Adam Dyess 7063056844 use ':' style argument definitions rather than '@' 2020-01-24 11:23:09 -06:00
Adam Dyess f065050d17 use ':' style argument definitions rather than '@' 2020-01-23 10:52:50 -06:00