Bug 1301980 - Block based migration doesn't work for instances that have a volume attached
Summary: Block based migration doesn't work for instances that have a volume attached
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: y3
: 7.0 (Kilo)
Assignee: chris alfonso
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-26 13:23 UTC by Marius Cornea
Modified: 2020-02-14 17:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-26 17:01:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marius Cornea 2016-01-26 13:23:17 UTC
Description of problem:
Block based migration doesn't work for instances that have a volume attached. When trying to block migrate an instance that has a cinder volume attached the following error shows up:
MigrationError: Migration error: Cannot block migrate instance 7dfe54c2-1b44-4fcd-892e-36fcb68a387c with mapped volumes

The volumes are placed on a shared NFS storage. 

Version-Release number of selected component (if applicable):
openstack-nova-novncproxy-2015.1.2-13.el7ost.noarch
openstack-nova-console-2015.1.2-13.el7ost.noarch
python-nova-2015.1.2-13.el7ost.noarch
openstack-nova-conductor-2015.1.2-13.el7ost.noarch
openstack-nova-common-2015.1.2-13.el7ost.noarch
openstack-nova-compute-2015.1.2-13.el7ost.noarch
openstack-nova-cert-2015.1.2-13.el7ost.noarch
openstack-nova-scheduler-2015.1.2-13.el7ost.noarch
openstack-nova-api-2015.1.2-13.el7ost.noarch
python-novaclient-2.23.0-2.el7ost.noarch

openstack-tripleo-heat-templates-0.8.6-112.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy overcloud with 3 controllers and 2 computes 
2. Deploy instance and attach a cinder volume to it
3. Block migrate the instance to the other hypervisor:
nova live-migration --block-migrate vm01 overcloud-compute-1.localdomain

Actual results:
 MigrationError: Migration error: Cannot block migrate instance 7dfe54c2-1b44-4fcd-892e-36fcb68a387c with mapped volumes

Expected results:
The instance is migrated.

Additional info:
This is the block_migration_flag set in nova.conf:
#block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED, VIR_MIGRATE_NON_SHARED_INC

Comment 1 Mark McLoughlin 2016-01-26 16:13:37 UTC
See https://review.openstack.org/227278

It's basically not supported at the moment. It might already be tracked as a Nova RFE

Comment 2 Marius Cornea 2016-01-26 17:01:32 UTC
OK, I was under the impression that the work for this has been completed. I'm closing this as not a bug.


Note You need to log in before you can comment on or make changes to this bug.