]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
stop.sh: do not try to contact mon unless cluster is up
authorKefu Chai <kchai@redhat.com>
Tue, 17 Dec 2019 11:48:45 +0000 (19:48 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 Dec 2019 12:11:28 +0000 (20:11 +0800)
commitb92f2c05a6b7d2549ad00aa50957a58a08752a05
tree344bf84bdc2c9214fcc8e894c0d4e58cc6298dd2
parent6b009b49f20aa11cb61e795881abdcf5f442e346
stop.sh: do not try to contact mon unless cluster is up

otherwise "ceph mon metadata" will hang, when we try to stop an
already-stopped cluster. and `vstart_runner.py` always calls `stop.sh`
before setting up a cluster.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/stop.sh