Commit Graph

872 Commits

Author SHA1 Message Date
Frode Nordahl
1ab3aea3a5 Merge pull request #425 from openstack-charmers/lourot/bug/1895300
Do not hide real exception on test failure
2020-09-25 09:59:49 +02:00
Dmitrii Shcherbakov
0a0a7afa2b Merge pull request #423 from gnuoy/extend-ceph-iscsi-checks
Extend ceph iscsi checks
2020-09-25 10:57:25 +03:00
Frode Nordahl
18e8df8eac Do not attempt to restore configuration when equal
The fix for the config_change helpers short cut on config restore
in c5a3f832d0 introduced a
regression for consumers that use the helper to set but not
restore config.

Re-introduce the shortcut when the caller passes in equal settings
for default and alternate configuration.

Fixes #427
2020-09-25 08:20:04 +02:00
Chris MacNaughton
70e758be05 Break out required environment variables
Instead of printing out the list of all required environment
variables when one is missing, only print out the missing
variables.
2020-09-24 15:18:49 +02:00
James Page
018f1eac96 Merge pull request #398 from openstack-charmers/ceph-bluestore-compression
Ceph bluestore compression
2020-09-24 11:30:50 +01:00
Liam Young
7e0eaf919f Stdout v stdout now handled by zaza 2020-09-24 08:59:46 +00:00
Aurelien Lourot
c09a9af3b2 Make linter happy 2020-09-24 10:54:14 +02:00
Aurelien Lourot
6b93fb3acb Do not hide real exception on test failure 2020-09-24 10:35:01 +02:00
Aurelien Lourot
9406ea0380 Merge pull request #418 from openstack-charmers/issue/417
Log resource cleanup failure and carry on, retry lb resource creation and various other retry fixes
2020-09-24 10:11:23 +02:00
Liam Young
ad1ea7667d handle stdout v Stdout 2020-09-23 17:04:19 +00:00
Liam Young
76e7666f9c Fix typo 2020-09-23 11:25:00 +00:00
Liam Young
c3105657d4 Fix doc strings 2020-09-23 11:09:31 +00:00
Liam Young
eda2dfb450 Typo fix 2020-09-23 10:26:18 +00:00
Liam Young
0a458766c2 Extend iSCSI tests.
Extend iSCSI tests to mount multipath device and write data to it
Then unmount it and logout of the iscsi target. Finally log back
into the iscsi target, mount device and check data is present.
2020-09-23 10:26:18 +00:00
coreycb
c6a75b6d14 Merge pull request #411 from openstack-charmers/add-octavia-tempest
Add Octavia to Tempest service list
2020-09-22 16:31:16 -04:00
Frode Nordahl
be59370476 Forcefully remove amphorae when Octavia is unable to remove 2020-09-22 14:50:09 +02:00
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
Frode Nordahl
ced5b3dd13 Retry scp/ssh operations in add_interface_to_netplan helper
Fixes #420
2020-09-21 08:18:08 +02:00
Frode Nordahl
430704ef80 Retry retrofit action
The retrofit process involves downloading packages from
the internet and is as such susceptible to random failures due to
internet gremlins.
2020-09-21 08:18:05 +02:00
Frode Nordahl
e9215f1d73 Retry load balancer resource creation
Creating a load balancer consist of many independent API calls.
If any one of them fail today the whole job will be killed.

On failure to create a lb resoruce, clean up and retry.
2020-09-21 08:18:00 +02: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
Frode Nordahl
4db2202b1e ceph: Add functional tests for BlueStore compression 2020-09-18 09:08:41 +02:00
Frode Nordahl
a1f3a8710f Teach Zaza to determine release pair for Ceph deployments
As Ceph is distributed as part of Ubuntu Cloud Archive, the
pockets lend their name from the accompanying OpenStack release.
2020-09-18 09:08:33 +02:00
Aurelien Lourot
1ff71db4de Make linter happy 2020-09-17 16:17:00 +02:00
Frode Nordahl
c5a3f832d0 test_utils/config_change: Wait for agent to start executing
Avoid returning prior to the config change has even started.

Fixes: #419
2020-09-16 12:06:26 +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
89ea43d0d5 Log resource cleanup failure and carry on
Fixes #417
2020-09-15 20:29:48 +02:00
Frode Nordahl
8a8178738d Add support for resetting back to charm default on config_change
Due to python-libjuju's requirement for coercing every config
value into strings, some configuration type/values are not
possible to specify the default for.

Allow the config_change helper to optionally use reset back to
charm default instead of specifying default config values in a
dictionary.
2020-09-15 15:31:28 +02:00
Frode Nordahl
52a2aabf57 utilities/ceph: Add helper for retrieving pools from broker req 2020-09-15 15:31:20 +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
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
Chris MacNaughton
e0795481d5 Add Octavia to Tempest service list 2020-09-11 11:42:25 +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
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
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