yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64396
[Bug 1694535] [NEW] migration rollback: driver_detach called with wrong number of args
Public bug reported:
I hit an extra exception during a failed live migration rollback. This
exception occurred on the destination node. This bug is not about the
reason for the failed migration, but for the failure in the rollback.
The exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 157, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch
result = func(ctxt, **new_args)
File "/opt/stack/nova/nova/exception_wrapper.py", line 77, in wrapped
function_name, call_dict, binary)
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/exception_wrapper.py", line 68, in wrapped
return f(self, context, *args, **kw)
File "/opt/stack/nova/nova/compute/manager.py", line 5090, in remove_volume_connection
driver_bdm.driver_detach(context, instance, connector,
TypeError: driver_detach() takes exactly 5 arguments (6 given)
In compute manager.remove_volume_connection, this line calls driver_detach:
driver_bdm.driver_detach(context, instance, connector,
self.volume_api, self.driver)
This is driver_detach in block_device.DriverVolumeBlockDevice:
def driver_detach(self, context, instance, volume_api, virt_driver):
The connector seems to be the culprit.
ubuntu xenial/libvirt/pike...
commit c2c6960e374351b3ce1b43a564b57e14b54c4877
Merge: 8d9eb67 95c190c
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date: Mon May 15 17:45:36 2017 +0000
Merge "Make discover_hosts only query for unmapped ComputeNode
records"
** Affects: nova
Importance: Undecided
Status: New
--
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/1694535
Title:
migration rollback: driver_detach called with wrong number of args
Status in OpenStack Compute (nova):
New
Bug description:
I hit an extra exception during a failed live migration rollback. This
exception occurred on the destination node. This bug is not about the
reason for the failed migration, but for the failure in the rollback.
The exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 157, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch
result = func(ctxt, **new_args)
File "/opt/stack/nova/nova/exception_wrapper.py", line 77, in wrapped
function_name, call_dict, binary)
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/exception_wrapper.py", line 68, in wrapped
return f(self, context, *args, **kw)
File "/opt/stack/nova/nova/compute/manager.py", line 5090, in remove_volume_connection
driver_bdm.driver_detach(context, instance, connector,
TypeError: driver_detach() takes exactly 5 arguments (6 given)
In compute manager.remove_volume_connection, this line calls driver_detach:
driver_bdm.driver_detach(context, instance, connector,
self.volume_api, self.driver)
This is driver_detach in block_device.DriverVolumeBlockDevice:
def driver_detach(self, context, instance, volume_api,
virt_driver):
The connector seems to be the culprit.
ubuntu xenial/libvirt/pike...
commit c2c6960e374351b3ce1b43a564b57e14b54c4877
Merge: 8d9eb67 95c190c
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date: Mon May 15 17:45:36 2017 +0000
Merge "Make discover_hosts only query for unmapped ComputeNode
records"
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1694535/+subscriptions
Follow ups