2017-12-09 16:20:19 +00:00
|
|
|
openstack:
|
|
|
|
- volumes: # attached to each instance
|
|
|
|
count: 3
|
|
|
|
size: 10 # GB
|
2014-04-04 01:08:19 +00:00
|
|
|
roles:
|
|
|
|
- - mon.a
|
2017-03-10 18:48:19 +00:00
|
|
|
- mgr.x
|
2014-04-04 01:08:19 +00:00
|
|
|
- osd.0
|
|
|
|
- osd.1
|
|
|
|
- osd.2
|
|
|
|
- client.0
|
2014-07-22 15:44:02 +00:00
|
|
|
- - osd.3
|
2014-04-04 01:08:19 +00:00
|
|
|
- osd.4
|
|
|
|
- osd.5
|
|
|
|
tasks:
|
|
|
|
- install:
|
|
|
|
- ceph:
|
2020-02-07 13:35:27 +00:00
|
|
|
pre-mgr-commands:
|
2021-05-01 02:31:35 +00:00
|
|
|
- sudo ceph config set mgr mgr_pool false --force
|
2020-06-17 19:33:57 +00:00
|
|
|
log-ignorelist:
|
2017-07-06 21:58:16 +00:00
|
|
|
- overall HEALTH_
|
2017-08-01 08:47:07 +00:00
|
|
|
- \(PG_
|
|
|
|
- \(OSD_
|
|
|
|
- \(OBJECT_
|
2014-04-04 01:08:19 +00:00
|
|
|
conf:
|
|
|
|
osd:
|
|
|
|
osd debug reject backfill probability: .3
|
|
|
|
osd min pg log entries: 25
|
|
|
|
osd max pg log entries: 100
|
2016-04-15 12:59:01 +00:00
|
|
|
osd max object name len: 460
|
|
|
|
osd max object namespace len: 64
|
2014-04-04 01:08:19 +00:00
|
|
|
- exec:
|
|
|
|
client.0:
|
2015-09-11 16:14:50 +00:00
|
|
|
- sudo ceph osd pool create foo 64
|
2017-06-27 01:15:57 +00:00
|
|
|
- sudo ceph osd pool application enable foo rados
|
2014-04-04 01:08:19 +00:00
|
|
|
- rados -p foo bench 60 write -b 1024 --no-cleanup
|
2015-09-11 16:14:50 +00:00
|
|
|
- sudo ceph osd pool set foo size 3
|
|
|
|
- sudo ceph osd out 0 1
|
2014-04-04 01:08:19 +00:00
|
|
|
- sleep:
|
|
|
|
duration: 60
|
|
|
|
- exec:
|
|
|
|
client.0:
|
2015-09-11 16:14:50 +00:00
|
|
|
- sudo ceph osd in 0 1
|
2014-04-04 01:08:19 +00:00
|
|
|
- sleep:
|
|
|
|
duration: 60
|
2017-06-19 18:49:56 +00:00
|
|
|
- exec:
|
|
|
|
client.0:
|
|
|
|
- sudo ceph osd pool set foo size 2
|
2017-08-01 19:50:37 +00:00
|
|
|
- sleep:
|
|
|
|
duration: 300
|