Commit Graph

23 Commits

Author SHA1 Message Date
Garrett Thompson
33ab875eb2 Replace get_relation_from_unit for ceph test 2021-02-02 09:58:13 -08:00
Liam Young
ddd9c74028 Use keystone in the first instance 2021-01-06 12:12:42 +00:00
Liam Young
ed3b2737d1 Use ceph-mon to check ceph version not keystone
The test class BlueStoreCompressionCharmOperation gates tests on
whether the ceph release is mimic or newer but it uses the
keystone application to calculate the currently deployed version.
This PR switches the test class to ceck the version of ceph-mon
instead which makes more sense and the keystone application may
not always present in a ceph deployment.
2021-01-06 11:38:41 +00:00
Aurelien Lourot
a8ca4720a3 Fix BlueStoreCompressionCharmOperation on Victoria (#468)
Before this fix, the test tried to determine the OpenStack
release based on the ceph-mon charm. Unfortunately Ceph has
the same version on Ussuri and Victoria. As a consequence
the test would wrongly conclude that it's testing against
"groovy_ussuri", which isn't a valid Ubuntu/OpenStack pair.

With this fix, the test now determines the OpenStack
release based on the keystone charm, with which we are able
to tell Ussuri and Victoria apart. This test class is being
run against the following charm functional tests at the
moment, which all have a keystone charm in their test
bundles: nova-compute, cinder-ceph, glance, ceph-fs,
ceph-radosgw and gnocchi.
2020-11-27 09:53:12 +01:00
Frode Nordahl
4db2202b1e ceph: Add functional tests for BlueStore compression 2020-09-18 09:08:41 +02:00
Liam Young
bb9899650a Skip ceph pool type check if relation is missing 2020-09-07 12:34:55 +00: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
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
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
David Ames
fdd92e3c5b Merge pull request #359 from gnuoy/set-default-app-name
Set application_name for ceph-radosgw tests
2020-07-13 07:53:06 -07:00
Liam Young
65cc6aa604 Stop assuming RegionOne in ceph-radosgw tests
Stop assuming RegionOne in ceph-radosgw tests and get the region
from the app config instead.
2020-07-13 14:36:59 +00:00
Liam Young
f6e2a40166 Set application_name for ceph-radosgw tests
Set application_name for ceph-radosgw tests so that the tests can be
run without relying on getting the application name from the
tests.yaml.
2020-07-13 14:33:35 +00:00
Alex Kavanagh
8830729dc1 Add LP bug number and a bit of explanation 2020-04-29 18:14:35 +01:00
Alex Kavanagh
5d20e2564e Disable the pristine disk check on focal
The test won't pass on serverstack due to the snapd taking a copy of the
/mnt/vdb info at boot time and thus not being able to umount it is root
without also running through all of the procs and checking if they also
have it mounted.  Thus, this just disables the test on focal and newer.
2020-04-22 18:08:06 +01:00
Chris MacNaughton
3b93ebf492 Add new Ceph test for Prometheus 2020-04-02 09:25:16 +02:00
Frode Nordahl
c22753e4ef radosgw: Adjust exceptions selected for retry
A set of the exceptions we want to catch all descend from
``IOError``.  Let's see if this covers them all.
2020-03-23 13:42:40 +01:00
Frode Nordahl
c6f0f79ea5 radosgw: Add retry for object storage test
When testing with TLS there is a chance the deployment will appear
done and idle prior to ceph-radosgw and Keystone have updated the
service catalog.  Retry the test in this circumstance.
2020-03-23 12:06:37 +01:00
Frode Nordahl
1ece576981 radosgw: Pass local CA cert to client when relevant 2020-03-23 10:58:23 +01:00
Frode Nordahl
1512bcdd1a Merge pull request #52 from openstack-charmers/feature/ceph-auto-pg
Add ceph pg tuning test
2019-10-09 08:38:56 +02:00
Rodrigo Barbieri
7b0de8d34d Add ceph-proxy cinder-ceph setup test
This change adds a functional test that verifies
ceph-proxy has successfully created a cinder-ceph
restricted ceph pool.

Related-Bug: lp#1836408
2019-10-02 10:48:54 -03:00
Chris MacNaughton
2888e62e3a Add ceph pg tuning test 2019-09-05 14:30:49 +02:00
Ramon Grullon
0c32e1b0d9 added ceph-proxy tests 2019-05-30 14:44:16 +00:00
Chris MacNaughton
dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00