ssh pool connections dont timeout

Bug #1110309 reported by Avishay Traeger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Avishay Traeger

Bug Description

In the SSHPool in utils.py, function create():
            transport.sock.settimeout(None)
            transport.set_keepalive(self.conn_timeout)

These two lines cause the SSH connections to remain open, which has two undesired side effects:
1) Unit tests that use SSH hang because SSH connections are not cleaned up
2) SSH connections remain open 24x7, even during idle times

Revision history for this message
Avishay Traeger (avishay-il) wrote :
Changed in cinder:
assignee: nobody → Avishay Traeger (avishay-il)
status: New → In Progress
Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.