From 6c5300552d00232d6ecb2c1aa641d515c9d8cd34 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Fri, 20 Mar 2015 19:56:55 -0700 Subject: [PATCH] ceph_manager: Check for exit status 11 from ceph-objectstore-tool import Fixes: #11139 Signed-off-by: David Zafman --- tasks/ceph_manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/ceph_manager.py b/tasks/ceph_manager.py index f21d360b28e..c95ff55e273 100644 --- a/tasks/ceph_manager.py +++ b/tasks/ceph_manager.py @@ -265,7 +265,10 @@ class Thrasher: proc = imp_remote.run(args=cmd, wait=True, check_status=False) if proc.exitstatus == 10: self.log("Pool went away before processing an import" - "...ignored"); + "...ignored") + elif proc.exitstatus == 11: + self.log("Attempt to import an incompatible export" + "...ignored") elif proc.exitstatus: raise Exception("ceph-objectstore-tool: " "import failure with status {ret}".