ceph/qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml
Kefu Chai f5f2ced624 mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs in mimic
SLOW_OPS unifies both of them since mimic

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 17:41:47 +08:00

50 lines
1.2 KiB
YAML

tasks:
- install: null
- ceph:
log-whitelist:
- overall HEALTH_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(POOL_
- \(CACHE_POOL_
- \(SMALLER_PGP_NUM\)
- \(OBJECT_
- \(SLOW_OPS\)
- \(TOO_FEW_PGS\)
- thrashosds:
chance_pgnum_grow: 2
chance_pgpnum_fix: 1
timeout: 1200
- exec:
client.0:
- sudo ceph osd pool create base 4
- sudo ceph osd pool application enable base rados
- sudo ceph osd pool create cache 4
- sudo ceph osd tier add base cache
- sudo ceph osd tier cache-mode cache writeback
- sudo ceph osd tier set-overlay base cache
- sudo ceph osd pool set cache hit_set_type bloom
- sudo ceph osd pool set cache hit_set_count 8
- sudo ceph osd pool set cache hit_set_period 3600
- sudo ceph osd pool set cache target_max_objects 250
- rados:
clients:
- client.0
objects: 500
op_weights:
copy_from: 50
delete: 50
cache_evict: 50
cache_flush: 50
read: 100
rollback: 50
snap_create: 50
snap_remove: 50
cache_try_flush: 50
write: 100
ops: 4000
pool_snaps: true
pools:
- base