fix ceph reboot issue 55/46355/1
authorwutianwei <wutianwei1@huawei.com>
Fri, 27 Oct 2017 03:25:11 +0000 (11:25 +0800)
committerwutianwei <wutianwei1@huawei.com>
Sat, 28 Oct 2017 01:36:55 +0000 (01:36 +0000)
commite4a8e01da5834049f210186610a291e9c5f6747d
tree789a28c0d37d4fd71a03cbfcd69d00bf88407817
parent466732f9477b9ad208761651290c6c046ba5f690
fix ceph reboot issue

When storage nodes reboot or shutdown,
the partitions of loop device will lose.
We add the command partprobe -s {{loopdevice}} to rc.local,
it will reload the partitions, when boot up the storage nodes.

Change-Id: I31dfca953aa254fa516421a494318b01cd39675c
Signed-off-by: wutianwei <wutianwei1@huawei.com>
deploy/adapters/ansible/roles/storage/tasks/ceph.yml