← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1871583] [NEW] Migrate the instance, the destination host is not specified. When the "destination host" == " source host" , will set the instance's state error.

 

Public bug reported:

Migrate the instance, the destination host is not specified. When the
"destination host" == " source host" , will set the instance's state
error.

The error log as following:
ERROR oslo_messaging.rpc.server [req-fcf7cf37-ddac-42ac-82da-d27718cff653 aa46e7b354b4491db8c0a2851b66493c 8890dccd445f4ebead497206a6f89f9a - default default] Exception during message handling: UnableToMigrateToSelf: Unable to migrate instance (7a86cd62-453f-4452-8ed4-f5f285e502d4) to current host (node203).
ERROR oslo_messaging.rpc.server Traceback (most recent call last):
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 79, in wrapped
ERROR oslo_messaging.rpc.server     function_name, call_dict, binary, tb)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR oslo_messaging.rpc.server     self.force_reraise()
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 69, in wrapped
ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 191, in decorated_function
ERROR oslo_messaging.rpc.server     "Error: %s", e, instance=instance)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR oslo_messaging.rpc.server     self.force_reraise()
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 161, in decorated_function
ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/utils.py", line 1141, in decorated_function
ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 219, in decorated_function
ERROR oslo_messaging.rpc.server     kwargs['instance'], e, sys.exc_info())
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR oslo_messaging.rpc.server     self.force_reraise()
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 207, in decorated_function
ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4325, in prep_resize
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4389, in _reschedule_resize_or_reraise
ERROR oslo_messaging.rpc.server     six.reraise(*exc_info)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4304, in prep_resize
ERROR oslo_messaging.rpc.server     node, migration, clean_shutdown)
ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4248, in _prep_resize
ERROR oslo_messaging.rpc.server     instance_id=instance.uuid, host=self.host)
ERROR oslo_messaging.rpc.server UnableToMigrateToSelf: Unable to migrate instance (7a86cd62-453f-4452-8ed4-f5f285e502d4) to current host (node203).
ERROR oslo_messaging.rpc.server

** Affects: nova
     Importance: Undecided
     Assignee: Qiu Fossen (fossen123)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Qiu Fossen (fossen123)

-- 
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/1871583

Title:
  Migrate the instance, the destination host is not specified. When the
  "destination host" == " source host" , will set the instance's state
  error.

Status in OpenStack Compute (nova):
  New

Bug description:
  Migrate the instance, the destination host is not specified. When the
  "destination host" == " source host" , will set the instance's state
  error.

  The error log as following:
  ERROR oslo_messaging.rpc.server [req-fcf7cf37-ddac-42ac-82da-d27718cff653 aa46e7b354b4491db8c0a2851b66493c 8890dccd445f4ebead497206a6f89f9a - default default] Exception during message handling: UnableToMigrateToSelf: Unable to migrate instance (7a86cd62-453f-4452-8ed4-f5f285e502d4) to current host (node203).
  ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
  ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
  ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
  ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 79, in wrapped
  ERROR oslo_messaging.rpc.server     function_name, call_dict, binary, tb)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  ERROR oslo_messaging.rpc.server     self.force_reraise()
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 69, in wrapped
  ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 191, in decorated_function
  ERROR oslo_messaging.rpc.server     "Error: %s", e, instance=instance)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  ERROR oslo_messaging.rpc.server     self.force_reraise()
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 161, in decorated_function
  ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/utils.py", line 1141, in decorated_function
  ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 219, in decorated_function
  ERROR oslo_messaging.rpc.server     kwargs['instance'], e, sys.exc_info())
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  ERROR oslo_messaging.rpc.server     self.force_reraise()
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 207, in decorated_function
  ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4325, in prep_resize
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4389, in _reschedule_resize_or_reraise
  ERROR oslo_messaging.rpc.server     six.reraise(*exc_info)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4304, in prep_resize
  ERROR oslo_messaging.rpc.server     node, migration, clean_shutdown)
  ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4248, in _prep_resize
  ERROR oslo_messaging.rpc.server     instance_id=instance.uuid, host=self.host)
  ERROR oslo_messaging.rpc.server UnableToMigrateToSelf: Unable to migrate instance (7a86cd62-453f-4452-8ed4-f5f285e502d4) to current host (node203).
  ERROR oslo_messaging.rpc.server

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


Follow ups