Commit Graph

825 Commits

Author SHA1 Message Date
Aurelien Lourot 11f3060f6b Fix unit-name -> app-name conversion 2020-09-09 10:08:37 +02:00
Aurelien Lourot 14f7e3848c Remove hacluster test option hacluster_app_name 2020-09-08 12:51:53 +02:00
Aurelien Lourot 93a3d23162 Merge branch 'master' into hacluster-scaleback 2020-09-08 12:40:12 +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
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
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
Aurelien Lourot b72855ca96 Make HaclusterScalebackTest runnable against any charm 2020-08-28 13:15:31 +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
Aurelien Lourot e48da475a2 No need to resume hacluster unit before scaling down 2020-08-27 13:33:46 +02:00
Aurelien Lourot 573acf9d1c Move new scaleback test to new test class 2020-08-27 13:33:46 +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 6b822ee8ec replace ls with file_has_contents 2020-08-20 16:03:04 -05:00
camille.rodriguez cece0d3096 test block function instead of ls 2020-08-20 14:40:03 -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
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 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
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
coreycb a67b4906ee Use juju model as workspace and store in home (#383)
* Use juju model as workspace and store in home

The current juju model will now be used as the tempest workspace name.
Additionally, all workspaces will be stored in ~/.tempest/<workspace>.

This patch also introduces a new option 'keep-workspace' that can be
specified along with other tempest options to keep the workspace after
tempest test execution. It defaults to False.

Also minor adjustment to smoke option to test boolean value.
2020-08-18 15:54:09 +02:00
camille.rodriguez 3343582ddd add test for external cert config option for gnocchi 2020-08-17 17:32:22 -05:00
camille.rodriguez 2c18d0f471 Merge branch 'master' of github.com:openstack-charmers/zaza-openstack-tests 2020-08-17 16:44:07 -05:00
Liam Young a3433a1276 Add Ceph test CheckPoolTypes
Add a ceph test to check that the type of pools requested by
clients matches the pools that were created.
2020-08-10 12:32:49 +00:00
Chris MacNaughton 80995ccf23 Vault tests should leave Vault unsealed
When cleaning up after a Vault test case, Vault should be left
in the same state we found it, unsealed.

Closes-Bug: #379
2020-08-10 09:09:02 +02:00