3 ceph config-key set mgr/localpool/subtree host
4 ceph config-key set mgr/localpool/failure_domain osd
5 ceph mgr module enable localpool
7 while ! ceph osd pool ls | grep '^by-host-'
12 ceph mgr module disable localpool
13 for p in `ceph osd pool ls | grep '^by-host-'`
15 ceph osd pool rm $p $p --yes-i-really-really-mean-it
18 ceph config-key rm mgr/localpool/subtree
19 ceph config-key rm mgr/localpool/failure_domain