[Bug 1576093] Re: [SRU] block migration fail with libvirt since version 1.2.17

OpenStack Infra 1576093 at bugs.launchpad.net
Mon Sep 19 07:00:31 UTC 2016


Reviewed:  https://review.openstack.org/328910
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4bc51937a26041fbe38d6ed388942332458905ef
Submitter: Jenkins
Branch:    stable/mitaka

commit 4bc51937a26041fbe38d6ed388942332458905ef
Author: Eli Qiao <liyong.qiao at intel.com>
Date:   Mon Jun 13 10:58:29 2016 +0200

    libvirt: Prevent block live migration with tunnelled flag
    
    libvirt will report "Selecting disks to migrate is not
    implemented for tunneled migration" while doing block migration
    with VIR_MIGRATE_TUNNELLED flag.
    
    This patch does 2 changes:
    
    1. Raise exception.MigrationPreCheckError if block live migration with
       with mapped volumes and tunnelled flag on.
    2. Remove migrate_disks from params of migrateToURI3 in case of
       tunnelled block live migration w/o mapped volumes since we want
       to copy all disks to destination
    
    Co-Authored-By: Pawel Koniszewski <pawel.koniszewski at intel.com>
    Closes-bug: #1576093
    
    Conflicts:
    	nova/tests/unit/virt/libvirt/test_driver.py
    	nova/virt/libvirt/driver.py
    
    Change-Id: Id6e49f298133c53d21386ea619c83e413ef3117a
    (cherry picked from commit 1885a39083776605348523002f4a6aedace12cce)


** Tags added: in-stable-mitaka

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1576093

Title:
  [SRU] block migration fail with libvirt since version  1.2.17

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive mitaka series:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Xenial:
  Fix Released
Status in nova source package in Yakkety:
  Fix Released

Bug description:
  [Impact]

  Try to do block migration but fail and libvirt reports that

  "Selecting disks to migrate is not implemented for tunneled migration"

  Nova:  a4e15e329f9adbcfe72fbcd6acb94f0743ad02f8

  libvirt: 1.3.1

  [Test Case]

  reproduce:

  default devstack setting and do block migration (no shared
  instance_dir and shared instance storage used)

  [Regression Potential]

  Patch was cherry picked from upstream gerrit review, which was cherry
  picked with little change from master branch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1576093/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list