yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74221
[Bug 1785031] Re: live migration to non-existing host gets instance stuck in "migrating" status
Reviewed: https://review.openstack.org/401009
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c7aed3d139909913387e4ac2e771f19c9502c5b1
Submitter: Zuul
Branch: master
commit c7aed3d139909913387e4ac2e771f19c9502c5b1
Author: Sivasathurappan Radhakrishnan <siva.radhakrishnan@xxxxxxxxx>
Date: Wed Nov 23 00:17:47 2016 +0000
Fix host validity check for live-migration
When live migrating instance to invalid host, live migration fails
with host not found and sets instance task state to migrating.
This change handles host validity in API layer before changing instance
task_state to 'MIGRATING' and raise proper exception on invalid host.
Change-Id: I7c5e80298b9adf1bd53cc6c464a3744b5397b7e8
Related-Bug: #1643623
Closes-Bug: #1785031
** Changed in: nova
Status: In Progress => Fix Released
--
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/1785031
Title:
live migration to non-existing host gets instance stuck in "migrating"
status
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) ocata series:
Confirmed
Status in OpenStack Compute (nova) pike series:
Confirmed
Status in OpenStack Compute (nova) queens series:
Confirmed
Bug description:
Description
===========
When doing live-migration, if a host that does not exist or cannot be found is specified as destination, live-migration will fail and instance will get stuck in status "migrating".
Steps to reproduce
==================
nova live-migration vm non_existing_host
Expected result
===============
live-migration fails and instance rolls back to initial state
Actual result
=============
live-migration fails but instance's status remains "migrating"
Environment
===========
nova --version
10.1.0 (queens release)
Logs & Configs
==============
not related
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1785031/+subscriptions
References