Cinder ssh_util sends no keepalive packet.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Shunei Shiono |
Bug Description
Expectation:
When ssh_conn_timeout is set to N in cinder.conf,
keepalive packets are sent every N seconds.
Result:
No keepalive packets were sent.
Cause guessed:
In ssh_utils.py, set_timeout(None) is called.
But in paramiko/packet.py, the timeout seems to be needed
to trigger sending keep alive packet.
When I commented out set_timeout(None),
keepalive packets sent as expected.
cinder/
{{{
if self.conn_timeout:
}}}
paramiko/
{{{
while n > 0:
...
except socket.timeout:
...
if got_timeout:
...
}}}
Is this information/request is a bug or some feature enhancement, as the intent is not clear??