]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: avoid remove '/var/lib/ceph/osd/ceph-xx' directory when deactive with... 16474/head
authorshun-s <song.shun3@zte.com.cn>
Fri, 21 Jul 2017 07:25:07 +0000 (15:25 +0800)
committerSong Shun <song.shun3@zte.com.cn>
Fri, 28 Jul 2017 10:23:37 +0000 (18:23 +0800)
commit2a53531e5e278d26ccf8e4afd2fcf2b72f86a0ae
treeedc1c4095cb4036e9c2b5e07baf18394438163a0
parent3c12075d63250f442f637be716c78de251e62b3f
ceph-disk: avoid remove '/var/lib/ceph/osd/ceph-xx' directory when deactive with --once

  when using deactivate with --once, '/var/lib/ceph/osd/ceph-xx' will be deleted by call ** def unmount of ceph-disk**,
  resulting next activate failed. that's not what --once exactly wants.

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
src/ceph-disk/ceph_disk/main.py
src/ceph-disk/tests/test_main.py