when Live migration instances failed,but can not rollback correct

Bug #1415001 reported by YaoZheng_ZTE
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
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)
Changed in nova:
assignee: nobody → ugvddm (271025598-9)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Confirmed → In Progress
tags: added: live-migrate
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

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

Paul Murray (pmurray)
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)
Revision history for this message
stgleb (gstepanov) wrote :

Maciej Szankin, are you still working on this bug?

Revision history for this message
Maciej Szankin (mszankin) wrote :

Was. Freeing :)

Changed in nova:
assignee: Maciej Szankin (mszankin) → nobody
Changed in nova:
assignee: nobody → Sivasathurappan Radhakrishnan (siva-radhakrishnan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.