Skip to content

Commit

Permalink
[tmp] fix to run the ci against
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Schmid <jschmid@suse.de>
  • Loading branch information
Joshua Schmid committed Sep 16, 2019
1 parent 5cbc203 commit 1d16a3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srv/modules/runners/osd.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ def _lvm_zap(self):
log.info("Executing: {}".format(cmd))
ret = self.local.cmd(self.host, "cmd.run", [cmd], tgt_type="glob")
message = list(ret.values())[0]
if 'Zapping successful for OSD' not in message:
# TODO: workaround until https://github.com/SUSE/DeepSea/issues/1747 is resolved
if 'Zapping:' not in message:
log.error("Zapping the osd failed: {}".format(message))
raise RuntimeError
return True
Expand Down

0 comments on commit 1d16a3e

Please sign in to comment.