Got error "unexpected keyword argument 'min'"

Bug #1900446 reported by Eric Xie on 2020-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Networking ML2 Generic Switch
Undecided
Unassigned

Bug Description

When i use latest version (3.3.2) of netmiko, got error when loading:
2020-10-19 13:40:12.957 1 ERROR neutron Traceback (most recent call last):
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/stevedore/extension.py", line 195, in _load_plugins
2020-10-19 13:40:12.957 1 ERROR neutron verify_requirements,
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/stevedore/named.py", line 158, in _load_one_plugin
2020-10-19 13:40:12.957 1 ERROR neutron verify_requirements,
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/stevedore/extension.py", line 223, in _load_one_plugin
2020-10-19 13:40:12.957 1 ERROR neutron plugin = ep.resolve()
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2453, in resolve
2020-10-19 13:40:12.957 1 ERROR neutron module = __import__(self.module_name, fromlist=['__name__'], level=0)
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/networking_generic_switch/devices/netmiko_devices/__init__.py", line 21, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron import netmiko
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/__init__.py", line 7, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron from netmiko.ssh_dispatcher import ConnectHandler
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/ssh_dispatcher.py", line 2, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron from netmiko.a10 import A10SSH
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/a10/__init__.py", line 1, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron from netmiko.a10.a10_ssh import A10SSH
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/a10/a10_ssh.py", line 3, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron from netmiko.cisco_base_connection import CiscoSSHConnection
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/cisco_base_connection.py", line 2, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron from netmiko.base_connection import BaseConnection
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/base_connection.py", line 39, in <module>
2020-10-19 13:40:12.957 1 ERROR neutron class BaseConnection(object):
2020-10-19 13:40:12.957 1 ERROR neutron File "/var/lib/openstack/lib/python3.6/site-packages/netmiko/base_connection.py", line 1123, in BaseConnection
2020-10-19 13:40:12.957 1 ERROR neutron wait=wait_exponential(multiplier=0.33, min=0, max=5), stop=stop_after_attempt(5)
2020-10-19 13:40:12.957 1 ERROR neutron TypeError: __init__() got an unexpected keyword argument 'min'

But when switched to 3.3.0, it was gone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers