Did not find the volume after live_migration

Bug #1365804 reported by warewang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Low
Unassigned

Bug Description

I migration the VM to another host, but there is a error occured when source host excute the driver's live_migration. In the live_migration process, the BDM was detach from source host and attach int dest, after this step , the error occres, the nova-compute rollback the BDM, it detach in dest, but didn't attach in source host.

warewang (wangguangcai)
Changed in nova:
assignee: nobody → warewang (wangguangcai)
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/119677

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

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

Changed in nova:
status: In Progress → Confirmed
Eli Qiao (taget-9)
Changed in nova:
assignee: warewang (wangguangcai) → Eli Qiao (taget-9)
tags: added: live-migrate
Revision history for this message
Eli Qiao (taget-9) wrote :

hello , by looking at the live-migration process carefully, I don't think we have enough information to go with this patch:

if the live-migration process start, it will have 3 stages:

1 pre_live_migration:
    will setup network, plug VIF, and connect BDM if has. if error happened, will call roll_back process to revert dest host's status.
2 live_migration process:
    call libvirt to do live_migration process, if error happened, will call roll_back process to revert dest host's status.
3 post_live_migration process
    source bdm only will disconnect in this stage, is error happened, there is nothing to do with this instance, since the host has been
moved to dest host.

Since we don't detach source's hosts's BDM in the live-migration process, so we don't need to re-attach it if exception happened.

Eli.

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
lvmxh (shaohef) wrote :

agree with Eli.

Need more information.

Paul Murray (pmurray)
tags: added: live-migration
removed: live-migrate
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

Cleanup
=======

This bug report has the status "Incomplete" since more than 30 days
and it looks like that there are no open reviews for it. To keep
the bug list sane, I close this bug with "won't fix". This does not
mean that it is not a valid bug report, it's more to acknowledge that
no progress can be expected here anymore. You are still free to push a
new patch for this bug. If you could reproduce it on the current master
code or on a maintained stable branch, please switch it to "Confirmed".

Changed in nova:
status: Incomplete → Won't Fix
assignee: Eli Qiao (taget-9) → nobody
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.