cold migration fails for ceph volume instances
Bug #1777157 reported by
Vladislav Belogrudov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
queens release,
running instance from ceph volume, in horizon: 'migrate'
Instance is in ERROR state. Horizon reports:
Error: Failed to perform requested operation on instance "instance3", the
instance has an error status: Please try again later [Error: list index out
of range].
yet another instance got:
Error: Failed to perform requested operation on instance "instance4", the
instance has an error status: Please try again later [Error: Conflict
updating instance 6b837382-
{'task_state': [u'resize_prep']}. Actual: {'task_state': None}].
Changed in nova: | |
status: | New → Incomplete |
Changed in nova: | |
status: | Incomplete → New |
Changed in nova: | |
status: | Invalid → Confirmed |
To post a comment you must log in.
Hmm, do you only have a single compute host? It appears that you're trying to resize the instance to the same host it's already on:
2018-06-15 16:23:46.876 7 ERROR nova.compute. manager [req-69050681- be73-48c5- be25-993f05b0b4 7e e511323a68a740f 597880a1b056e39 18 28f4e0797d544d7 58700e5be42aa82 c6 - default default] [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] Error: Unable to migrate instance (daa5b10b- 0655-4178- 9413-66697004d7 f8) to current host (compute6).: UnableToMigrate ToSelf: Unable to migrate instance (daa5b10b- 0655-4178- 9413-66697004d7 f8) to current host (compute6). manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] Traceback (most recent call last): manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4141, in prep_resize manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] node, migration, clean_shutdown) manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4085, in _prep_resize manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] instance_ id=instance. uuid, host=self.host) manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] UnableToMigrate ToSelf: Unable to migrate instance (daa5b10b- 0655-4178- 9413-66697004d7 f8) to current host (compute6). manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8]
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
2018-06-15 16:23:46.876 7 ERROR nova.compute.
And then due to that, we hit this:
2018-06-15 16:23:46.954 7 ERROR nova.compute. manager [req-69050681- be73-48c5- be25-993f05b0b4 7e e511323a68a740f 597880a1b056e39 18 28f4e0797d544d7 58700e5be42aa82 c6 - default default] [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] Setting instance vm_state to ERROR: IndexError: list index out of range manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] Traceback (most recent call last): manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 7445, in _error_ out_instance_ on_exception manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] yield manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4162, in prep_resize manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] filter_properties, host_list) manager [instance: daa5b10b- 0655-4178- 9413-66697004d7 f8] File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4221, in _reschedule_ resize_ or_reraise manager [insta...
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.
2018-06-15 16:23:46.954 7 ERROR nova.compute.