← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1375698] [NEW] mlnx agent throws exception - "unbound method sleep()"

 

Public bug reported:

Traceback:
2014-09-30 13:28:53.603 529 DEBUG neutron.plugins.mlnx.agent.utils [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] get_attached_vnics get_attached_vnics /opt/stack/neutron/neutron/plugins/mlnx/agent/utils.py:81
2014-09-30 13:28:56.608 529 DEBUG neutron.plugins.mlnx.common.comm_utils [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] Request timeout - call again after 3 seconds decorated /opt/stack/neutron/neutron/plugins/mlnx/common/comm_utils.py:58
2014-09-30 13:28:56.608 529 CRITICAL neutron [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] TypeError: unbound method sleep() must be called with RetryDecorator instance as first argument (got int instance instead)
2014-09-30 13:28:56.608 529 TRACE neutron Traceback (most recent call last):
2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 426, in <module>
2014-09-30 13:28:56.608 529 TRACE neutron     main()
2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 421, in main
2014-09-30 13:28:56.608 529 TRACE neutron     agent.daemon_loop()
2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 373, in daemon_loop
2014-09-30 13:28:56.608 529 TRACE neutron     port_info = self.scan_ports(previous=port_info, sync=sync)
2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 247, in scan_ports
2014-09-30 13:28:56.608 529 TRACE neutron     cur_ports = self.eswitch.get_vnics_mac()
2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 63, in get_vnics_mac
2014-09-30 13:28:56.608 529 TRACE neutron     return set(self.utils.get_attached_vnics().keys())
2014-09-30 13:28:56.608 529 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/mlnx/agent/utils.py", line 83, in get_attached_vnics
2014-09-30 13:28:56.608 529 TRACE neutron     vnics = self.send_msg(msg)
2014-09-30 13:28:56.608 529 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/mlnx/common/comm_utils.py", line 59, in decorated
2014-09-30 13:28:56.608 529 TRACE neutron     RetryDecorator.sleep_fn(sleep_interval)
2014-09-30 13:28:56.608 529 TRACE neutron TypeError: unbound method sleep() must be called with RetryDecorator instance as first argument (got int instance instead)

** Affects: neutron
     Importance: Undecided
     Assignee: Samer Deeb (samerd)
         Status: New


** Tags: mellanox ml2

** Tags added: mellanox

** Tags added: ml2

** Changed in: neutron
     Assignee: (unassigned) => Samer Deeb (samerd)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1375698

Title:
  mlnx agent throws exception - "unbound method sleep()"

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Traceback:
  2014-09-30 13:28:53.603 529 DEBUG neutron.plugins.mlnx.agent.utils [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] get_attached_vnics get_attached_vnics /opt/stack/neutron/neutron/plugins/mlnx/agent/utils.py:81
  2014-09-30 13:28:56.608 529 DEBUG neutron.plugins.mlnx.common.comm_utils [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] Request timeout - call again after 3 seconds decorated /opt/stack/neutron/neutron/plugins/mlnx/common/comm_utils.py:58
  2014-09-30 13:28:56.608 529 CRITICAL neutron [req-a040c7ec-9a06-4f85-9420-60d6c4ca376e None] TypeError: unbound method sleep() must be called with RetryDecorator instance as first argument (got int instance instead)
  2014-09-30 13:28:56.608 529 TRACE neutron Traceback (most recent call last):
  2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 426, in <module>
  2014-09-30 13:28:56.608 529 TRACE neutron     main()
  2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 421, in main
  2014-09-30 13:28:56.608 529 TRACE neutron     agent.daemon_loop()
  2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 373, in daemon_loop
  2014-09-30 13:28:56.608 529 TRACE neutron     port_info = self.scan_ports(previous=port_info, sync=sync)
  2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 247, in scan_ports
  2014-09-30 13:28:56.608 529 TRACE neutron     cur_ports = self.eswitch.get_vnics_mac()
  2014-09-30 13:28:56.608 529 TRACE neutron   File "agent/eswitch_neutron_agent.py", line 63, in get_vnics_mac
  2014-09-30 13:28:56.608 529 TRACE neutron     return set(self.utils.get_attached_vnics().keys())
  2014-09-30 13:28:56.608 529 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/mlnx/agent/utils.py", line 83, in get_attached_vnics
  2014-09-30 13:28:56.608 529 TRACE neutron     vnics = self.send_msg(msg)
  2014-09-30 13:28:56.608 529 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/mlnx/common/comm_utils.py", line 59, in decorated
  2014-09-30 13:28:56.608 529 TRACE neutron     RetryDecorator.sleep_fn(sleep_interval)
  2014-09-30 13:28:56.608 529 TRACE neutron TypeError: unbound method sleep() must be called with RetryDecorator instance as first argument (got int instance instead)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1375698/+subscriptions


Follow ups

References