Commit 131019ab authored by Oleg Borisenko's avatar Oleg Borisenko
Browse files

Additional sleep for cases when tape library doesn't update in time

parent 6c81d4e4
......@@ -339,6 +339,8 @@ class TapeManager:
# umount is **obligatory**, otherwise it hangs to death
movemedium = device.movemedium(self.robot[0]['element_address'], self.drives[0]['element_address'], slot)
log.info("Moved tape from %d to slot %d", self.drives[0]['element_address'], slot)
time.sleep(30)
log.info("Sleeping for 30 seconds to update tape inventory")
return movemedium
def move(self, slot_from, slot_to):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment