storwize ssh_execute always sleeps on failure.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
IBM Storage |
Bug Description
def _ssh_execute(self, sshpool, command,
try:
with sshpool.item() as ssh:
If attempts is down to zero (meaning this is the last try) is there a reason to sleep?
tags: | added: drivers ibm |
Changed in cinder: | |
assignee: | nobody → IBM Storage (ibm-storage) |
tags: | added: storwize |
it is not recommended to retry immediately after failed, wait for a short time is better, i think this may be the reason.