Commit Graph

1575 Commits

Author SHA1 Message Date
Dmitrii Shcherbakov
2a6873c7bf Merge pull request #389 from gnuoy/dashboard-ssl
Dashboard ssl
2020-09-22 08:41:47 +03:00
Dmitrii Shcherbakov
d04befa66f Merge pull request #421 from openstack-charmers/lourot/bug/1895636
Make test_manila_share more robust
2020-09-22 08:11:01 +03:00
Liam Young
c5786d9184 Ceph iscsi default pool test (#415)
* Add Ceph-iscsi Erasure coding check

Add a test which created a ceph iscsi target backed by an
erasure coded pool.

* Fix EC pool type

* Test ceph iscsi target from default pool
2020-09-21 13:40:48 +01:00
Liam Young
540bd91cc0 Add Ceph-iscsi Erasure coding check (#412)
* Add Ceph-iscsi Erasure coding check

Add a test which created a ceph iscsi target backed by an
erasure coded pool.

* Update action params inline with charm change

* Fix EC pool type
2020-09-18 09:46:08 +01:00
Aurelien Lourot
1ff71db4de Make linter happy 2020-09-17 16:17:00 +02:00
Aurelien Lourot
33ea7acb7e Make test_manila_share more robust
by retrying launching test instances on failure.
https://bugs.launchpad.net/charm-manila-ganesha/+bug/1895636
2020-09-16 11:26:52 +02:00
Frode Nordahl
4339862d3a Merge pull request #416 from ajkavanagh/fix-network-setup-for-mojo
Fix network setup for mojo
2020-09-15 11:47:02 +02:00
Alex Kavanagh
17bad029a5 Fix network setup for mojo
A recent change introduced a configuration option in the
./tests/test.yaml file (default location) which allows juju wait to be
used rather than waiting on various workload messages.  This,
unfortunately, breaks mojo tests as they don't use a tests.yaml.  This
change refactors that code, and enables a 'use_juju_wait' to be passed
into the relevant functions, and a new command line option (default
true) to disable using juju wait.
2020-09-15 09:55:09 +01:00
Dmitrii Shcherbakov
3829ad7c6c Merge pull request #414 from openstack-charmers/lourot/kerberos-setup
Make kerberos test setup more robust
2020-09-14 17:22:47 +03:00
Aurelien Lourot
a1d61c7626 Let kerberos test setup wait for model to settle 2020-09-14 13:54:47 +02:00
Aurelien Lourot
46d426ea30 Make kerberos test setup more robust 2020-09-14 11:28:46 +02:00
David Ames
23b24a5501 Merge pull request #365 from openstack-charmers/ovn-charm
Add OVS to OVN migration tests
2020-09-11 08:48:20 -07:00
Alex Kavanagh
fbaf48d541 More fixes for series-upgrade (#413) 2020-09-11 16:27:15 +02:00
Dmitrii Shcherbakov
ec42f47673 Merge pull request #409 from openstack-charmers/lourot/rabbitmq-910-pause-resume
Make RmqTests.test_910_pause_and_resume more robust
2020-09-11 11:36:06 +03:00
Frode Nordahl
332294d752 Handle OVS to OVN migration with neutron-gateway topologies
Merge two similar config set patterns into a common method.

Add missing docstrings.

Fix typos.
2020-09-10 17:28:37 +02:00
Liam Young
27dab950f7 Merge pull request #410 from javacruft/trilio-ghost-share
trilio: add test for ghost-share action
2020-09-10 09:36:53 +01:00
James Page
9726179f49 trilio: add test for ghost-share action
Restructure test classes a little to support addition of testing
of the ghost-share action to charms that support it.

Execute the action - if any operation fails the action will fail
so an OK return code on the action indicates success.
2020-09-09 10:40:34 +01:00
Frode Nordahl
437113aba5 Merge pull request #401 from openstack-charmers/lourot/arista-pre-deploy
Retry on failures to download Arista image
2020-09-09 09:57:30 +02:00
Aurelien Lourot
4eef19197d Add missing blank 2020-09-09 09:49:15 +02:00
Frode Nordahl
5a10779e45 Re-order checks in networking auto-detection
To support OVS to OVN migration checks we want the basic overcloud
configure job to set up N-OVS and/or N-GW when present and the
OVN pre migration configure job will copy the configuration for us.
2020-09-08 16:11:39 +02:00
Frode Nordahl
8f2e3463cc Allow add_interface_to_netplan to find ovn-dedicated-chassis units 2020-09-08 12:38:39 +02:00
Aurelien Lourot
38317c3bc2 Make RmqTests.test_910_pause_and_resume more robust 2020-09-08 12:24:26 +02:00
Aurelien Lourot
e6300dba20 Add HaclusterScalebackTest (#399)
Co-authored-by: Alvaro Uria <alvaro.uria@canonical.com>
2020-09-08 12:11:05 +02:00
Alex Kavanagh
f0ef4b1acc Merge pull request #408 from ChrisMacNaughton/bug/374
Ensure that zaza-openstack-tests can talk to an IPv6 Keystone
2020-09-08 10:24:44 +01:00
Chris MacNaughton
c75f2fcb6d Ensure that zaza-openstack-tests can talk to an IPv6 Keystone
When configuring the address to use to talk to Keystone,
the format_addr helper should be used to ensure that an
IPv4 or IPv6 address can be correctly handled.
2020-09-08 11:11:13 +02:00
Aurelien Lourot
4e97aaef34 Merge pull request #407 from gnuoy/skip-rel-missing
Skip ceph pool type check if relation is missing
2020-09-07 15:42:54 +02:00
Aurelien Lourot
86547a4efc Add more insights on trilio test failures (#400)
* Add more insights on trilio test failures

* Fix import

* Fix wrong signature
2020-09-07 14:09:14 +01:00
Liam Young
bb9899650a Skip ceph pool type check if relation is missing 2020-09-07 12:34:55 +00:00
Frode Nordahl
3c457e4fbb Add OVS to OVN migration tests 2020-09-07 10:36:13 +02:00
Frode Nordahl
4ae1b39ed2 neutron: Check for non-frag connectivity at MTU size 2020-09-07 10:35:18 +02:00
Frode Nordahl
4d8c509133 Make the use of juju_wait configurable
For compatibility with existing scenario tests the
`configure_gateway_ext_port` helper currently make use of
`juju_wait` when configuring the deployed cloud.

This does not work well if the model you are testing has
applications with non-standard workload status messaging.

Allow to override the behaviour through config step options.
2020-09-07 10:35:18 +02:00
Frode Nordahl
f33d166c5e neutron: Allow to run networking test multiple times
Adjust NeutronNetworkingTest to optionally run tearDown and
re-use existing instances on subsequent runs.

tearDown is controlled through a key under the `tests_options`
dictionary in tests.yaml.

Useful for morphing a deployment and then validating connectivity
for existing instances afterwards.
2020-09-07 10:35:18 +02:00
Frode Nordahl
fe329c1824 Add helper to retrieve tests_options for specific test
This is done by building a prefix for options key from dot-notated
absolute path to calling method or function.
2020-09-07 10:35:18 +02:00
Alex Kavanagh
66d95d65d7 Fix series-upgrade tests (#406)
A couple of changes here:

 * Ensure that the post-upgrade-hook runs BEFORE the config-changed to
   set the openstack-origin/source back to distro.  The former behaviour
   breaks keystone quite badly.
 * Ensure that the charm name is used, as discovered from the model, for
   rabbitmq-server and percona-cluster to cope with different names for
   the application in the model vs the charm name from the charm-store.
 * Check whether the machine needs to be rebooted after the dist-upgrade
   (before the do-release-upgrade), and reboot the machine first.
   Otherwise, do-release-upgrade will fail.
2020-09-04 13:33:42 +02:00
Liam Young
334304e05b Merge pull request #404 from openstack-charmers/lourot/swift-victoria
Adapt list of swift services on focal-victoria
2020-09-03 10:39:54 +01:00
Liam Young
828883bb70 Make test_check_pool_types handle missing apps (#405)
Currently test_check_pool_types will fail when it tries to check
the corresponding pool type for an application that is not present
in the deployment, this patch changes the behaviour to skip missing
applications.
2020-09-03 10:06:18 +01:00
Aurelien Lourot
23c3dde105 Fix SwiftStorageTests.test_901_pause_resume 2020-09-02 13:40:08 +02:00
Aurelien Lourot
b38c270036 Adapt list of swift services on focal-victoria 2020-09-02 11:51:04 +02:00
Liam Young
e505242ab7 Merge pull request #396 from javacruft/ceph-proxy-improvements
Improve ceph proxy permissions check
2020-09-01 08:21:16 +01:00
Aurelien Lourot
57c8e0d91a Retry on failures to download Arista image
In the pre-deploy step of our neutron-arista tests we download an
Arista image from our swift bucket. It sometimes fails when our CI
system is loaded. This patch adds a tenacity retry.
2020-08-29 19:15:11 +02:00
Frode Nordahl
ae87c25cf0 Merge pull request #397 from openstack-charmers/bug/octavia-setup-without-charm-name
Ensure that octavia sets up application_name
2020-08-28 14:02:36 +02:00
Chris MacNaughton
dd2802057f Ensure that octavia sets up application_name
When running in a deployment that is focused on bundles rather
than a specific charm, the Octavia setup can fail because there
is no configured charm_name in the tests.yaml. This change
ensures that the Octavia setup can continue.
2020-08-28 13:55:42 +02:00
James Page
3fb4380c66 Improve ceph proxy permissions check
Update the cinder-ceph permissions check to look for permissions
specific to the cinder-ceph usage of ceph; this ensures that if
we add glance and nova to the bundle (which creates additional
permissions) the existing test will continue to pass.
2020-08-28 09:19:16 +01:00
Frode Nordahl
4c5c7d0b4b Merge pull request #255 from AurelienLourot/ovs-mark-managed-ports
Re-enable neutron/test_800_ovs_bridges_are_managed_by_us
2020-08-27 11:43:19 +02:00
Aurelien Lourot
fe82bc76f5 Fix setUpClass' signature 2020-08-26 16:34:28 +02:00
Aurelien Lourot
52dc1354ff Fix setUpClass' signature 2020-08-26 14:19:00 +02:00
Aurelien Lourot
cac63150d9 Moved test to its own new class 2020-08-26 12:59:40 +02:00
Aurelien Lourot
754e0e081b Merge branch 'master' into ovs-mark-managed-ports 2020-08-26 10:24:12 +02:00
coreycb
3f77ad6355 Merge pull request #394 from thedac/feature/benchmarking
Ceph rados benchmarking
2020-08-24 14:11:43 -04:00
Alex Kavanagh
19c626e120 Merge pull request #203 from freyes/bug/1868326
mysql: add check for seeded file in pxc
2020-08-24 14:38:59 +01:00