]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
thrashosds: try ceph-objectstore-tool for 10 minutes
authorNathan Cutler <ncutler@suse.com>
Thu, 24 Nov 2016 10:25:35 +0000 (11:25 +0100)
committerNathan Cutler <ncutler@suse.com>
Sun, 4 Dec 2016 08:55:56 +0000 (09:55 +0100)
commitcec7441e29454c6bc90e92c937b12b89c21d0d76
treeaa8a9b4e46ebe36f5129710ee7975e2b09c29ad9
parent20439242c084b75d5eae7039cfdf51ad1c8c8cc6
thrashosds: try ceph-objectstore-tool for 10 minutes

If ceph-objectstore-tool binary is not present, it's likely because we're in
the middle of an upgrade. Do not try to run the binary until we verify that
it's really present. If it is absent, spend up to 10 minutes waiting for it to
appear.

Before this patch there was quite a large window for a race to occur. This
patch doesn't entirely eliminate it, but drastically reduces it.

Fixes: http://tracker.ceph.com/issues/18014
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 862b47faac1fc9f05ee3322ee4b65cf3d3d666c5)
tasks/ceph_manager.py