]> git.proxmox.com Git - ceph.git/blame - ceph/qa/workunits/mgr/test_localpool.sh
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / qa / workunits / mgr / test_localpool.sh
CommitLineData
3efd9988
FG
1#!/bin/sh -ex
2
11fdf7f2
TL
3ceph config set mgr mgr/localpool/subtree host
4ceph config set mgr mgr/localpool/failure_domain osd
3efd9988
FG
5ceph mgr module enable localpool
6
7while ! ceph osd pool ls | grep '^by-host-'
8do
9 sleep 5
10done
11
12ceph mgr module disable localpool
13for p in `ceph osd pool ls | grep '^by-host-'`
14do
15 ceph osd pool rm $p $p --yes-i-really-really-mean-it
16done
17
11fdf7f2
TL
18ceph config rm mgr mgr/localpool/subtree
19ceph config rm mgr mgr/localpool/failure_domain
3efd9988
FG
20
21echo OK