Commit Graph

537 Commits

Author SHA1 Message Date
Dmitrii Shcherbakov ab4d47d7a3 Merge pull request #235 from openstack-charmers/move-qos-test-back
Move NGW QoS test back to the NGW test class
2020-04-24 10:29:04 +03:00
David Ames 14a6f06586 Fix glance simplestreams sync test races
We expect at least three images. Avoid various race conditions by
retrying using tenacity.
2020-04-22 17:32:33 +00:00
Dmitrii Shcherbakov 16e82b6e86 Fix test_900_restart_on_config_change
Recently broken by PR 245:
72b420b56a
2020-04-21 17:41:40 +03:00
Liam Young 8d401e410c Merge pull request #240 from AurelienLourot/barbican
Barbican tests
2020-04-21 15:30:35 +01:00
Dmitrii Shcherbakov 72b420b56a Use the new svc restart checker where possible
restart_on_changed_debug_oslo_config_file was added to avoid code
duplication.
2020-04-21 16:50:02 +03:00
Aurelien Lourot 347a39d11e Use restart_on_changed_debug_oslo_config_file() 2020-04-21 15:25:55 +02:00
Aurelien Lourot 0089555ff0 Merge remote-tracking branch 'origin/master' into barbican 2020-04-21 15:25:42 +02:00
Liam Young d8daabea22 Merge pull request #241 from ajkavanagh/hacluster-focal-test-fix
Fix hacluster tests for focal with mysql8
2020-04-21 14:02:27 +01:00
Liam Young 6694caf281 Improve docstring and allo section override 2020-04-21 07:45:42 +00:00
Liam Young d652eff6d9 Add a helper for testing restart on changed
Most api charms test restart on changed by flipping the value of
debug. This has led to the same test being copied around. To reduce
the boiler plate code this change adds a new test helper which can
be used instead.
2020-04-21 07:16:58 +00:00
Aurelien Lourot bbf32033bf Merge remote-tracking branch 'origin/master' into barbican 2020-04-21 08:56:24 +02:00
Alex Kavanagh 329d4fb8c5 Fix hacluster tests for focal with mysql8
The hacluster tests assume that all the subordinates are hacluster.
However, with mysql8 there is a mysql-router subordinate as well, and it
doesn't support the clean-up action.  This change ensures that the tests
checks that the subordinate IS hacluter prior to applying the
action/test.
2020-04-20 12:51:27 +01:00
Aurelien Lourot 673d1a9d7f Barbican tests 2020-04-20 12:59:29 +02:00
Aurelien Lourot 9b9262daac Merge remote-tracking branch 'origin/master' into nova-cloud-controller 2020-04-20 12:58:48 +02:00
Chris MacNaughton 9cec2efabe Actually pass to and from series into upgrade 2020-04-20 11:47:12 +02:00
Aurelien Lourot 3d11b9c018 Fix test_106_compute_catalog_endpoints on Queens 2020-04-20 10:51:49 +02:00
Aurelien Lourot 9477fd4c52 Fix test_106_compute_catalog_endpoints prior to Rocky 2020-04-20 08:00:46 +02:00
Aurelien Lourot 13d9702cdb Add test_902_quota_settings 2020-04-19 16:58:24 +02:00
Aurelien Lourot 6005ca7517 Add test_310_pci_alias_config 2020-04-19 16:58:24 +02:00
Aurelien Lourot 1594a09625 Fix test_220_nova_metadata_propagate 2020-04-19 16:58:24 +02:00
Aurelien Lourot 8b8155347e Fix typos 2020-04-19 16:58:24 +02:00
Aurelien Lourot d585386ece Merge remote-tracking branch 'origin/master' into nova-cloud-controller 2020-04-19 16:58:13 +02:00
Aurelien Lourot 975248f571 Add test_106_compute_catalog_endpoints 2020-04-17 17:42:31 +02:00
Chris MacNaughton 28e1ce2d3f Add check to include subordinates for idleness
Depends-On: https://github.com/openstack-charmers/zaza/pull/346
2020-04-17 16:50:57 +02:00
Frode Nordahl e93fa0b571 neutron/policyd: Use `create_network` for test
At present the neutron policyd test assumes a network visible to
the demo user has already been created at the time of the test
being executed.

This may not always be the case, so let's manage the resource we
use for the test.
2020-04-17 15:26:41 +02:00
Frode Nordahl 82928825fd Move NGW QoS test back to the NGW test class
Commit 55fc718f98 moved a QoS data
plane test from Neutron Gateway tests to the Neutron API tests.
This was probably done because the Neutron API charm gate was
doing end to end tests for all deployment topologies.

On the back of splitting out the data plane tests from Neutron API
gate to the respective data plane charms we need to move this
test back where it belongs.

Apparantly the Neutron Open vSwitch test class have its own
variant of this test already that will be executed by the
neutron-openvswitch charm gate.
2020-04-17 15:02:19 +02:00
Liam Young 5f4a2def28 Merge pull request #234 from ChrisMacNaughton/bug/release-upgrade-interactive
Set some apt config to accept package defaults
2020-04-17 13:23:07 +01:00
Chris MacNaughton f49259e426 Set some apt config to accept package defaults
Because the OpenStack charms re-render their config
whenever things are incorrect, we can accept any new
package defaults as a part of the upgrade and
resolve incorrect config after the upgrade
2020-04-17 13:45:47 +02:00
Aurelien Lourot 071754e7cf Add test_302_api_rate_limiting_is_enabled 2020-04-17 12:47:44 +02:00
Aurelien Lourot 7c1f01e368 Add test_220_nova_metadata_propagate 2020-04-17 12:04:23 +02:00
Aurelien Lourot 0f8396b213 Fix test_104_compute_api_functionality 2020-04-17 12:02:43 +02:00
Aurelien Lourot ac3ffe1652 Merge remote-tracking branch 'origin/master' into nova-cloud-controller 2020-04-17 10:53:35 +02:00
Alex Kavanagh f8a0b2bcf0 Merge pull request #216 from gnuoy/ceph-iscsi-tests
Add ceph-iscsi tests
2020-04-17 09:50:15 +01:00
Aurelien Lourot ea345c6c55 First NovaCloudController test cases
Not yet covering the same amount as nova-cloud-controller's Amulet tests.
https://launchpad.net/bugs/1828424
2020-04-17 10:07:13 +02:00
Liam Young 53b81209a6 Add missing doc string 2020-04-17 07:17:49 +00:00
Aurelien Lourot 49730180f6 Temporarily disable test_800_ovs_bridges_are_managed_by_us 2020-04-17 07:02:29 +02:00
Alex Kavanagh 52a4afcabd Merge pull request #217 from AurelienLourot/neutron-gateway-managed-bridges
Neutron gateway managed bridges
2020-04-16 20:07:52 +01:00
Alex Kavanagh c69e177736 Merge pull request #230 from AurelienLourot/nova-security-tests
Make nova.SecurityTests runable against nova-cloud-controller
2020-04-16 18:50:16 +01:00
Aurelien Lourot 8e9ecc53e8 Openstack -> OpenStack 2020-04-16 18:59:07 +02:00
Aurelien Lourot ac227eab08 Fix copy-paste mistakes and typos and remove dead code 2020-04-16 15:10:03 +02:00
Aurelien Lourot 11edf863b7 Merge remote-tracking branch 'origin/master' into nova-security-tests 2020-04-16 14:24:14 +02:00
Liam Young 3245a6646f Merge pull request #224 from ChrisMacNaughton/feature/parallel-series-upgrade-refactor
Series upgrade can be done in massively parallel batches
2020-04-16 12:31:10 +01:00
Chris MacNaughton de028d7eb2 fix copy-pasta error 2020-04-16 11:58:54 +02:00
Chris MacNaughton 2bc2234cad Update to migrate bits out to Zaza 2020-04-16 11:53:35 +02:00
Aurelien Lourot 94434f62ac Make nova.SecurityTests runable against nova-cloud-controller
Needed for https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1828424
2020-04-16 09:48:57 +02:00
Frode Nordahl e9ff6d30cc Merge pull request #214 from ChrisMacNaughton/feature/ceph-prometheus
Add new Ceph test for Prometheus
2020-04-16 08:50:06 +02:00
Chris MacNaughton fa4587f366 Ensure that origin is set only after the first machine is rebooting 2020-04-15 16:38:42 +02:00
Chris MacNaughton c492ecdcac Add functional test that covers Ubuntu Lite in Parallel 2020-04-15 15:54:44 +02:00
Chris MacNaughton 592622935c tidy up and add more debugability 2020-04-15 10:06:41 +02:00
Aurelien Lourot 83246a9305 Print stderr when failing to ping new instance 2020-04-14 14:50:31 +02:00