qa: move cephfs_ec_profile under cephfs

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2020-12-23 15:44:57 -08:00
parent faa30050c1
commit 488f10c62f
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
5 changed files with 15 additions and 12 deletions

View File

@ -4,10 +4,11 @@ overrides:
bdev_inject_crash_probability: .5
ceph:
fs: xfs
cephfs_ec_profile:
- m=2
- k=2
- crush-failure-domain=osd
cephfs:
ec_profile:
- m=2
- k=2
- crush-failure-domain=osd
conf:
osd:
osd objectstore: bluestore

View File

@ -4,10 +4,11 @@ overrides:
bdev_inject_crash_probability: .5
ceph:
fs: xfs
cephfs_ec_profile:
- m=2
- k=2
- crush-failure-domain=osd
cephfs:
ec_profile:
- m=2
- k=2
- crush-failure-domain=osd
conf:
osd:
osd objectstore: bluestore

View File

@ -1,7 +1,8 @@
overrides:
ceph:
cephfs_ec_profile:
- disabled
cephfs:
ec_profile:
- disabled
log-ignorelist:
- OSD full dropping all updates
- OSD near full

View File

@ -462,7 +462,7 @@ class Filesystem(MDSCluster):
self.data_pool_name = None
self.data_pools = None
self.fs_config = fs_config
self.ec_profile = fs_config.get('cephfs_ec_profile')
self.ec_profile = fs_config.get('ec_profile')
client_list = list(misc.all_roles_of_type(self._ctx.cluster, 'client'))
self.client_id = client_list[0]

View File

@ -1181,7 +1181,7 @@ class LocalFilesystem(Filesystem, LocalMDSCluster):
self.data_pool_name = None
self.data_pools = None
self.fs_config = fs_config
self.ec_profile = fs_config.get('cephfs_ec_profile')
self.ec_profile = fs_config.get('ec_profile')
# Hack: cheeky inspection of ceph.conf to see what MDSs exist
self.mds_ids = set()