[Bug 1755475] Re: Cold migration with destination host

Marcio Feliciano do Prado 1755475 at bugs.launchpad.net
Tue Mar 13 13:07:29 UTC 2018


Currently when I try to migrate using:

{
   "migrate": null
}

The following errors appear:

Remember that live migration is working ...


2018-03-13 10:04:35.522 2081 INFO nova.compute.resource_tracker [req-d05e2191-6b75-4af9-8da2-a62e3edc99c0 - - - - -] Final resource view: name=compute1.dcc.ufla.br phys_ram=32124MB used_ram=9728MB phys_disk=274GB used_disk=18GB total_vcpus=4 used_vcpus=9 pci_stats=[]
2018-03-13 10:04:44.044 2081 INFO nova.compute.manager [req-101b661a-6d0d-4fe4-af28-5a75bb6784b2 4bc7ca73052541bd985c52f4cecbb61d 00e4a214dab74548b8728df515a2a9d7 - - -] [instance: 84ec9eba-f490-479c-b393-e6a3bdd03b22] Setting instance back to ACTIVE after: Instance rollback performed due to: Resize error: not able to execute ssh command: Unexpected error while running command.
Command: ssh -o BatchMode=yes 10.0.0.51 mkdir -p /var/lib/nova/instances/84ec9eba-f490-479c-b393-e6a3bdd03b22
Exit code: 255
Stdout: u''
Stderr: u'Host key verification failed.\r\n'
2018-03-13 10:04:44.352 2081 INFO nova.compute.manager [req-101b661a-6d0d-4fe4-af28-5a75bb6784b2 4bc7ca73052541bd985c52f4cecbb61d 00e4a214dab74548b8728df515a2a9d7 - - -] [instance: 84ec9eba-f490-479c-b393-e6a3bdd03b22] Successfully reverted task state from None on failure for instance.
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server [req-101b661a-6d0d-4fe4-af28-5a75bb6784b2 4bc7ca73052541bd985c52f4cecbb61d 00e4a214dab74548b8728df515a2a9d7 - - -] Exception during message handling
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/exception_wrapper.py", line 75, in wrapped
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     function_name, call_dict, binary)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.force_reraise()
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/exception_wrapper.py", line 66, in wrapped
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 188, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     LOG.warning(msg, e, instance=instance)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.force_reraise()
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 157, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/utils.py", line 686, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 145, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     migration.instance_uuid, exc_info=True)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.force_reraise()
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 122, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 216, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     kwargs['instance'], e, sys.exc_info())
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.force_reraise()
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 204, in decorated_function
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3910, in resize_instance
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.instance_events.clear_events_for_instance(instance)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     self.gen.throw(type, value, traceback)
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6737, in _error_out_instance_on_exception
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server     raise error.inner_exception
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command.
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server Command: ssh -o BatchMode=yes 10.0.0.51 mkdir -p /var/lib/nova/instances/84ec9eba-f490-479c-b393-e6a3bdd03b22
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server Exit code: 255
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server Stdout: u''
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server Stderr: u'Host key verification failed.\r\n'
2018-03-13 10:04:44.370 2081 ERROR oslo_messaging.rpc.server

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1755475

Title:
  Cold migration with destination host

Status in nova package in Ubuntu:
  New

Bug description:
  I need OpenStack to support cold migrations by choosing the
  destination host.

  The version of my OpenStack is Ocata with the API Nova version 2.1.

  According to official documentation the API that supports such
  migrations is 2.56 (https://developer.openstack.org/api-ref/compute
  /#migrate-server-migrate-action)

  Is there any way to update the API only?

  Is there a need to do any extra configuration on the new one for this
  type of migration to work? live migration is already working ...

  It was suggested by a colleague who opened to report this "bug":
  https://answers.launchpad.net/ubuntu/+source/nova/+question/665523

  Thank you very much in advance.

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



More information about the Ubuntu-openstack-bugs mailing list