SSHPool remove uses incorrect parameters
Bug #1463557 reported by
Eric Harney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Surya Ghatty | ||
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Goutham Pacha Ravi |
Bug Description
SSHPool's remove() contains:
if ssh in self.free_items:
But deque pop() does not take an argument. I assume this was meant to be self.free_
This throws a "Too many positional arguments for function call" pylint warning. I'm not sure what the end result is for drivers using SSHPool.
My quick analysis is that eventlet seems to remove items from the left with free_items.
Changed in cinder: | |
assignee: | nobody → Surya Ghatty (ghatty) |
Changed in manila: | |
status: | New → Confirmed |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/285687
Review: https:/