when Live migration instances failed,but can not rollback correct

Bug #1415001 reported by YaoZheng_ZTE on 2015-01-27
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Unassigned

Bug Description

 1、create volume backed instance
2、 at /nova/virt/libvirt/driver.py _live_migration function, if in this function raise exception, will run
  the function recover_method(context, instance, dest, block_migration) , but the param "migrate_data"
  is None by defaut, so when call
/nova/compute/manager.py the function _rollback_live_migration(self, context, instance, dest, block_migration, migrate_data=None) , because the param " migrate_data " is None ,so the variable "is_volume_backed" is False,
so the function rollback_live_migration_at_destination(self, context, instance) will can not run . so ,the destination resources can not rollback.

3、I am using icehouse version , This bug are also present in the J version and K version .

ugvddm (271025598-9) on 2015-01-28
Changed in nova:
assignee: nobody → ugvddm (271025598-9)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
YaoZheng_ZTE (zheng-yao1) wrote :

this bug will affect the next live-migration, because rollback failure at destination, the instance path will be not deleted. so , if the next live-migration to the node,the function pre_live_migration will raise "The supplied disk path (%(path)s) already exists" exception.

Fix proposed to branch: master
Review: https://review.openstack.org/154826

Changed in nova:
status: Confirmed → In Progress
tags: added: live-migrate

Change abandoned by Zhengguang Ou (<email address hidden>) on branch: master
Review: https://review.openstack.org/154826

Paul Murray (pmurray) on 2015-11-06
tags: added: live-migration
removed: live-migrate
Changed in nova:
assignee: ugvddm (271025598-9) → nobody
status: In Progress → Confirmed
Changed in nova:
assignee: nobody → Maciej Szankin (mszankin)
stgleb (gstepanov) wrote :

Maciej Szankin, are you still working on this bug?

Maciej Szankin (mszankin) wrote :

Was. Freeing :)

Changed in nova:
assignee: Maciej Szankin (mszankin) → nobody
Changed in nova:
assignee: nobody → Sivasathurappan Radhakrishnan (siva-radhakrishnan)

Fix proposed to branch: master
Review: https://review.openstack.org/395866

Changed in nova:
status: Confirmed → In Progress

Change abandoned by Sivasathurappan Radhakrishnan (<email address hidden>) on branch: master
Review: https://review.openstack.org/395866
Reason: Agree with Pawel. Should have abandoned it long time ago.

Changed in nova:
assignee: Sivasathurappan Radhakrishnan (siva-radhakrishnan) → nobody
Changed in nova:
status: In Progress → Confirmed
Sean Dague (sdague) wrote :

Automatically discovered version icehouse in description. If this is incorrect, please update the description to include 'nova version: ...'

tags: added: openstack-version.icehouse
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers