2015-08-27 21:29:30 +00:00
|
|
|
roles:
|
|
|
|
- - mon.a
|
2017-03-10 18:48:19 +00:00
|
|
|
- mgr.x
|
2015-08-27 21:29:30 +00:00
|
|
|
- client.0
|
2015-10-21 08:48:43 +00:00
|
|
|
- - osd.0
|
|
|
|
- osd.1
|
2015-08-27 21:29:30 +00:00
|
|
|
openstack:
|
2015-10-22 23:02:27 +00:00
|
|
|
- machine:
|
|
|
|
disk: 20 # GB
|
|
|
|
ram: 2000 # MB
|
|
|
|
cpus: 1
|
|
|
|
volumes: # attached to each instance
|
|
|
|
count: 3
|
|
|
|
size: 10 # GB
|
2015-08-27 21:29:30 +00:00
|
|
|
tasks:
|
|
|
|
- install:
|
2015-10-21 08:48:43 +00:00
|
|
|
- ceph:
|
|
|
|
fs: xfs # this implicitly means /dev/vd? are used instead of directories
|
|
|
|
wait-for-scrub: false
|
2017-07-15 02:40:31 +00:00
|
|
|
log-whitelist:
|
2017-08-01 08:47:07 +00:00
|
|
|
- \(OSD_
|
|
|
|
- \(PG_
|
2015-10-21 08:48:43 +00:00
|
|
|
conf:
|
|
|
|
global:
|
|
|
|
mon pg warn min per osd: 2
|
|
|
|
osd pool default size: 2
|
|
|
|
osd crush chooseleaf type: 0 # failure domain == osd
|
|
|
|
osd pg bits: 2
|
|
|
|
osd pgp bits: 2
|
2015-08-27 21:29:30 +00:00
|
|
|
#
|
|
|
|
# Keep this around for debugging purposes. If uncommented the target
|
|
|
|
# will pause and the workunit can be run and debug manually.
|
|
|
|
#
|
|
|
|
# - exec:
|
|
|
|
# client.0:
|
|
|
|
# - sleep 1000000000 # forever
|
|
|
|
#
|
|
|
|
- workunit:
|
|
|
|
clients:
|
|
|
|
all:
|
|
|
|
- ceph-disk/ceph-disk.sh
|