** Also affects: nova/kilo
Importance: Undecided
Status: New
** Changed in: nova/kilo
Milestone: None => kilo-rc2
--
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/1442602
Title:
live migration fails during destination host check
Status in OpenStack Compute (Nova):
Fix Committed
Status in OpenStack Compute (nova) kilo series:
New
Bug description:
steps to reproduce:
1.boot instance
2. call nova live-migration instance
during live-migration rpc method call check_can_live_migrate_destination()
fails with:
2015-04-10 06:45:37.706 ERROR oslo_messaging.rpc.dispatcher
[req-9a4b9986-2cfc-4c57-8622-ef6f84e3dfd2 admin admin] Exception during message
handling: check_can_live_migrate_destination() takes exactly 6 arguments (5
given)
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher Traceback (most
recent call last):
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
142, in _dispatch_and_reply
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher
executor_callback))
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
186, in _dispatch
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher
executor_callback)
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
130, in _do_dispatch
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher result =
func(ctxt, **new_args)
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher TypeError:
check_can_live_migrate_destination() takes exactly 6 arguments (5 given)
2015-04-10 06:45:37.706 TRACE oslo_messaging.rpc.dispatcher
2015-04-10 06:45:37.708 ERROR oslo_messaging._drivers.common
[req-9a4b9986-2cfc-4c57-8622-ef6f84e3dfd2 admin admin] Returning exception
check_can_live_migrate_destination() takes exactly 6 arguments (5 given) to
caller
2015-04-10 06:45:37.708 ERROR oslo_messaging._drivers.common
[req-9a4b9986-2cfc-4c57-8622-ef6f84e3dfd2 admin admin] ['Traceback (most recent
call last):\n', ' File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
142, in _dispatch_and_reply\n executor_callback))\n', ' File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
186, in _dispatch\n executor_callback)\n', ' File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line
130, in _do_dispatch\n result = func(ctxt, **new_args)\n', 'TypeError:
check_can_live_migrate_destination() takes exactly 6 arguments (5 given)\n']
in nova/compute/manager.py class _ComputeV4Proxy has method:
def check_can_live_migrate_destination(self, ctxt, instance, destination,
block_migration, disk_over_commit):
return self.manager.check_can_live_migrate_destination(
ctxt, instance, destination, block_migration, disk_over_commit)
here is signature of ComputeManager's class method:
def check_can_live_migrate_destination(self, ctxt, instance,
block_migration, disk_over_commit):
There is no 'destination' param in it. It should be removed from
rpcapi, or added to implementation. _ComputeV4Proxy was added by patch
ebfa09fa197a1d88d1b3ab1f308232c3df7dc009
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1442602/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp