Commit Graph

1547 Commits

Author SHA1 Message Date
Aurelien Lourot
4eef19197d Add missing blank 2020-09-09 09:49:15 +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
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
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
Alex Kavanagh
287cc778d4 Extend the timeouts for create / backup / snapshot test (#390)
On OSCI it's variable whether the test will pass as it's very close to
the timeout.  Extend it to give the test a reliable chance to pass.
2020-08-21 12:24:11 +02:00
David Ames
0ca011afec Ceph rados benchmarking 2020-08-20 16:03:08 -07:00
David Ames
7ac5bc305b Merge pull request #393 from camille-rodriguez/master
New test for Gnocchi
2020-08-20 15:34:42 -07:00
Camille Rodriguez
b0f5a2430a Merge pull request #2 from camille-rodriguez/test-block
Replace ls with block_until_file_has_contents
2020-08-20 16:04:18 -05:00
camille.rodriguez
6b822ee8ec replace ls with file_has_contents 2020-08-20 16:03:04 -05:00
camille.rodriguez
0f8985db0a new 2020-08-20 14:41:23 -05:00
camille.rodriguez
cece0d3096 test block function instead of ls 2020-08-20 14:40:03 -05:00
camille.rodriguez
28de49811e test block function instead of ls 2020-08-20 13:47:12 -05:00
David Ames
cd49a5bc9f Merge pull request #386 from ajkavanagh/fix-charm-upgrade-tests
Fix the charm-upgrade tests as used by CoT
2020-08-20 09:51:50 -07:00
camille.rodriguez
320dbb4214 merge conflict 2020-08-20 11:44:59 -05:00
camille.rodriguez
1dc8ee4287 add imports 2020-08-20 11:37:03 -05:00
camille.rodriguez
6d0a59802b fix merge conflict 2020-08-20 11:35:38 -05:00
camille.rodriguez
cf04bbfc7d move new test in separate class 2020-08-20 11:02:07 -05:00
David Ames
e6a11c6509 Merge pull request #392 from openstack-charmers/lourot/revert-breaking-change
Revert "Merge pull request #384 from camille-rodriguez/master"
2020-08-20 08:29:34 -07:00
coreycb
f27e530b9c Merge pull request #391 from ChrisMacNaughton/bug/tempest-first-run-error
Add try/except around tempest workspace destruction
2020-08-20 11:26:14 -04:00
Aurelien Lourot
d7bc2d3298 Revert "Merge pull request #384 from camille-rodriguez/master"
This reverts commit 73bab8395b, reversing
changes made to c165c42c00.

This change introduced a new test under an existing test class, which
is a breaking change and prevents us to keep testing older releases.
This new test will be soon re-introduced under a new test class.
2020-08-20 17:22:31 +02:00
Chris MacNaughton
6a18a37c13 Ensure that the workspace deletion doesn't fail with file not found. 2020-08-20 17:21:36 +02:00
Alex Kavanagh
056e29cbdc Remove commented out code sections
These were left over from the refactor.
2020-08-20 11:15:16 +01:00
Alex Kavanagh
f9247c5bff Merge pull request #385 from openstack-charmers/lourot/arista-tenacity
Increase neutron-arista timeout
2020-08-20 09:43:47 +01:00
Aurelien Lourot
73bab8395b Merge pull request #384 from camille-rodriguez/master
Additional test for Gnocchi S3 feature : adding an external cert
2020-08-20 09:21:58 +02:00
Liam Young
c165c42c00 Merge pull request #388 from ChrisMacNaughton/bug/tempest-ksv2
Fix protocol rendering for keystone URL
2020-08-20 07:58:40 +01:00
Chris MacNaughton
5455bee2e9 Fix protocol rendering for keystone URL
Closes #387
2020-08-20 08:52:00 +02:00
Alex Kavanagh
5ad5f85f99 Fix the charm-upgrade tests as used by CoT
The biggest change is that the upgrade_groups() is a list of tuples ...
[()] ... rathern than a collections.OrderedDict().  This tends to make
more sense as they are processed in order and don't actually need to be
indexed.

Also excludes easyrsa (as it's not an upgrade target) and adds a
"Database Services" which upgrades mysql or percona FIRST before moving
on to rabbitmq and other stateful services.  This is because some charms
really need to talk to mysql if one of the other stateful services does
a relation changed hook.  This makes it more likely that the system will
ugprade correctly.
2020-08-19 20:47:00 +01:00
Aurelien Lourot
c5c964506e Increase neutron-arista timeout 2020-08-19 16:43:04 +02:00
camille.rodriguez
cd548b01cf pep8, duplicate logs 2020-08-19 09:32:09 -05:00
camille.rodriguez
8a79a93e83 combine 3 functions into one 2020-08-19 08:59:04 -05:00