2015-09-25 02:55:56 +00:00
|
|
|
# verify #13098 fix
|
|
|
|
roles:
|
2017-03-10 18:48:19 +00:00
|
|
|
- [mon.a, mgr.x, osd.0, osd.1, osd.2, client.0]
|
2015-09-25 02:55:56 +00:00
|
|
|
overrides:
|
|
|
|
ceph:
|
|
|
|
log-whitelist:
|
|
|
|
- is full
|
2017-07-06 21:58:16 +00:00
|
|
|
- overall HEALTH_
|
2017-08-01 08:47:07 +00:00
|
|
|
- \(POOL_FULL\)
|
|
|
|
- \(POOL_NEAR_FULL\)
|
|
|
|
- \(CACHE_POOL_NO_HIT_SET\)
|
2015-09-25 02:55:56 +00:00
|
|
|
tasks:
|
|
|
|
- install:
|
|
|
|
- ceph:
|
2016-04-15 12:59:01 +00:00
|
|
|
conf:
|
|
|
|
global:
|
|
|
|
osd max object name len: 460
|
|
|
|
osd max object namespace len: 64
|
2015-09-25 02:55:56 +00:00
|
|
|
- exec:
|
|
|
|
client.0:
|
|
|
|
- ceph osd pool create ec-ca 1 1
|
|
|
|
- ceph osd pool create ec 1 1 erasure default
|
2017-06-27 01:15:57 +00:00
|
|
|
- ceph osd pool application enable ec rados
|
2015-09-25 02:55:56 +00:00
|
|
|
- ceph osd tier add ec ec-ca
|
2016-03-30 11:29:32 +00:00
|
|
|
- ceph osd tier cache-mode ec-ca readproxy
|
2015-09-25 02:55:56 +00:00
|
|
|
- ceph osd tier set-overlay ec ec-ca
|
|
|
|
- ceph osd pool set ec-ca hit_set_type bloom
|
|
|
|
- ceph osd pool set-quota ec-ca max_bytes 20480000
|
|
|
|
- ceph osd pool set-quota ec max_bytes 20480000
|
|
|
|
- ceph osd pool set ec-ca target_max_bytes 20480000
|
2015-10-01 19:37:22 +00:00
|
|
|
- timeout 30 rados -p ec-ca bench 30 write || true
|
2017-06-19 18:37:57 +00:00
|
|
|
- ceph osd pool set-quota ec-ca max_bytes 0
|
|
|
|
- ceph osd pool set-quota ec max_bytes 0
|