EQL ssh output parsing can loop until timeout on bad input
Bug #1378394 reported by
Sean McGinnis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Sean McGinnis | ||
Juno |
Fix Released
|
Undecided
|
Eric Harney |
Bug Description
The current CLI output parser assumes command output will end with the system name prompt, i.e. "MY_ARRAY>". If there is a problem with the string passed to the CLI it may print an error message and prepopulate the failed command to be edited interactively.
Since the parsing will loop until it sees a string ending with the command prompt it will loop until the command execution timeout of the driver kicks in. We recognize the error condition so we don't waste time looping and can return the actual error message rather than a "Command timed out" message that doesn't give any detail as to what the problem was.
Changed in cinder: | |
assignee: | nobody → Sean McGinnis (sean-mcginnis) |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/126600
Review: https:/