ceph_manager: Check for exit status 11 from ceph-objectstore-tool import

Fixes: #11139

Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
David Zafman 2015-03-20 19:56:55 -07:00
parent b6c2e978d6
commit 6c5300552d

View File

@ -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}".