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]
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-9586351694 8f d3b371ed5f8c46e 29553a76d758a50 d2 dd818e8db270417 1b3efa0292df48b bb - default default] [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] Error: Unable to migrate instance (dd82d475- 2d2a-4471- 8b2d-7022a2237e bf) to current host (cmp2).: UnableToMigrate ToSelf: Unable to migrate instance (dd82d475- 2d2a-4471- 8b2d-7022a2237e bf) to current host (cmp2). manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] Traceback (most recent call last): manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 4166, in prep_resize manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] node, migration, clean_shutdown) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 4110, in _prep_resize manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] instance_ id=instance. uuid, host=self.host) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] UnableToMigrate ToSelf: Unable to migrate instance (dd82d475- 2d2a-4471- 8b2d-7022a2237e bf) to current host (cmp2). manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf]
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
2018-11-08 21:24:17,128.128 29103 ERROR nova.compute.
and then immediately this:
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute. manager [req-ff9ca9cf- fdb8-4fcc- b1e8-9586351694 8f d3b371ed5f8c46e 29553a76d758a50 d2 dd818e8db270417 1b3efa0292df48b bb - default default] [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] Setting instance vm_state to ERROR: IndexError: list index out of range manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] Traceback (most recent call last): manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 7545, in _error_ out_instance_ on_exception manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] yield manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 4187, in prep_resize manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] filter_properties, host_list) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 4246, in _reschedule_ resize_ or_reraise manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] exception= exc_info[ 1]) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/rpc. py", line 235, in wrapped manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] return f(*args, **kwargs) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ utils.py" , line 368, in notify_ about_instance_ action manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] fault, priority = _get_fault_ and_priority_ from_exc( exception) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ utils.py" , line 349, in _get_fault_ and_priority_ from_exc manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] exception) manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] File "/usr/lib/ python2. 7/dist- packages/ nova/notificati ons/objects/ exception. py", line 42, in from_exception manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] trace = inspect.trace()[-1] manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf] IndexError: list index out of range manager [instance: dd82d475- 2d2a-4471- 8b2d-7022a2237e bf]
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.
2018-11-08 21:24:17,187.187 29103 ERROR nova.compute.