Comment 19 for bug 1777157

Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

Correction - the resize to the same host is disabled:

(logs of nova-compute where the instance was/is running before migration)

we see an (supposedly harmless in this case) error

2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [req-ff9ca9cf-fdb8-4fcc-b1e8-95863516948f d3b371ed5f8c46e29553a76d758a50d2 dd818e8db2704171b3efa0292df48bbb - default default] [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] Error: Unable to migrate instance (dd82d475-2d2a-4471-8b2d-7022a2237ebf) to current host (cmp2).: UnableToMigrateToSelf: Unable to migrate instance (dd82d475-2d2a-4471-8b2d-7022a2237ebf) to current host (cmp2).
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] Traceback (most recent call last):
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4166, in prep_resize
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] node, migration, clean_shutdown)
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4110, in _prep_resize
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] instance_id=instance.uuid, host=self.host)
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] UnableToMigrateToSelf: Unable to migrate instance (dd82d475-2d2a-4471-8b2d-7022a2237ebf) to current host (cmp2).
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf]

and then immediately this:

2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [req-ff9ca9cf-fdb8-4fcc-b1e8-95863516948f d3b371ed5f8c46e29553a76d758a50d2 dd818e8db2704171b3efa0292df48bbb - default default] [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] Setting instance vm_state to ERROR: IndexError: list index out of range
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] Traceback (most recent call last):
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 7545, in _error_out_instance_on_exception
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] yield
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4187, in prep_resize
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] filter_properties, host_list)
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4246, in _reschedule_resize_or_reraise
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] exception=exc_info[1])
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/rpc.py", line 235, in wrapped
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] return f(*args, **kwargs)
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/utils.py", line 368, in notify_about_instance_action
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] fault, priority = _get_fault_and_priority_from_exc(exception)
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/compute/utils.py", line 349, in _get_fault_and_priority_from_exc
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] exception)
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] File "/usr/lib/python2.7/dist-packages/nova/notifications/objects/exception.py", line 42, in from_exception
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] trace = inspect.trace()[-1]
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf] IndexError: list index out of range
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.manager [instance: dd82d475-2d2a-4471-8b2d-7022a2237ebf]