← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1642681] [NEW] _process_instance_vif_deleted_event fails with "TypeError: detach_interface() takes exactly 4 arguments (3 given)"

 

Public bug reported:

Seeing this in a gate job here:

http://logs.openstack.org/00/398800/1/gate/gate-tempest-dsvm-full-
devstack-plugin-ceph-ubuntu-
xenial/a387fb0/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-11-17_11_29_10_965

2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server [req-1e141c4e-e2eb-4b06-89b5-849ecf4d065d nova service] Exception during message handling
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 225, in dispatch
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 195, in _do_dispatch
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/exception_wrapper.py", line 75, in wrapped
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     function_name, call_dict, binary)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     self.force_reraise()
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/exception_wrapper.py", line 66, in wrapped
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/compute/manager.py", line 6755, in external_instance_event
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     event.tag)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/compute/manager.py", line 6724, in _process_instance_vif_deleted_event
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     self.driver.detach_interface(instance, vif)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server TypeError: detach_interface() takes exactly 4 arguments (3 given)
2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server 

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22_process_instance_vif_deleted_event%5C%22%20AND%20message%3A%5C%22TypeError%3A%20detach_interface()%20takes%20exactly%204%20arguments%20(3%20given)%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d

New regression as of 11/16: https://review.openstack.org/#/c/209362/

** Affects: nova
     Importance: High
     Assignee: Dan Smith (danms)
         Status: In Progress


** Tags: compute neutron

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
   Importance: Undecided => High

** Changed in: nova
     Assignee: (unassigned) => Dan Smith (danms)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1642681

Title:
  _process_instance_vif_deleted_event fails with "TypeError:
  detach_interface() takes exactly 4 arguments (3 given)"

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Seeing this in a gate job here:

  http://logs.openstack.org/00/398800/1/gate/gate-tempest-dsvm-full-
  devstack-plugin-ceph-ubuntu-
  xenial/a387fb0/logs/screen-n-cpu.txt.gz?level=TRACE#_2016-11-17_11_29_10_965

  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server [req-1e141c4e-e2eb-4b06-89b5-849ecf4d065d nova service] Exception during message handling
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 225, in dispatch
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 195, in _do_dispatch
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/exception_wrapper.py", line 75, in wrapped
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     function_name, call_dict, binary)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     self.force_reraise()
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/exception_wrapper.py", line 66, in wrapped
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/compute/manager.py", line 6755, in external_instance_event
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     event.tag)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server   File "/opt/stack/new/nova/nova/compute/manager.py", line 6724, in _process_instance_vif_deleted_event
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server     self.driver.detach_interface(instance, vif)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server TypeError: detach_interface() takes exactly 4 arguments (3 given)
  2016-11-17 11:29:10.965 2249 ERROR oslo_messaging.rpc.server 

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22_process_instance_vif_deleted_event%5C%22%20AND%20message%3A%5C%22TypeError%3A%20detach_interface()%20takes%20exactly%204%20arguments%20(3%20given)%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d

  New regression as of 11/16: https://review.openstack.org/#/c/209362/

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


Follow ups