← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1669857] [NEW] libvirt.VIR_DOMAIN_AFFECT_CONFIG provided when detaching volumes during LM rollback

 

Public bug reported:

Description
===========
During a live-migration rollback the libvirt driver will attempt to detach volumes from the  transient destination domain while providing the libvirt.VIR_DOMAIN_AFFECT_CONFIG flag. This will always fail as the domain is not persistent.

Steps to reproduce
==================
- live-migrate an instance with volumes attached.
- force a rollback of the live-migration resulting in volumes being detached from the destination domain.

Expected result
===============
libvirt.VIR_DOMAIN_AFFECT_CONFIG flag not provided while attempting to detach a volume from the transient destination domain. 

Actual result
=============
libvirt.VIR_DOMAIN_AFFECT_CONFIG flag provided while attempting to detach a volume from the transient destination domain, resulting in a failure during the live-migration rollback.

Environment
===========
1. Exact version of OpenStack you are running. See the following
   list for all releases: http://docs.openstack.org/releases/

   master

2. Which hypervisor did you use?
   (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
   What's the version of that?
 
   libvirt

2. Which storage type did you use?
   (For example: Ceph, LVM, GPFS, ...)
   What's the version of that?

   n/a

3. Which networking type did you use?
   (For example: nova-network, Neutron with OpenVSwitch, ...)

   n/a

Logs & Configs
==============
Rollback of failed live migration with attached volume fails on destination 
https://bugzilla.redhat.com/show_bug.cgi?id=1424481

** Affects: nova
     Importance: Undecided
     Assignee: Lee Yarwood (lyarwood)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1669857

Title:
  libvirt.VIR_DOMAIN_AFFECT_CONFIG provided when detaching volumes
  during LM rollback

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Description
  ===========
  During a live-migration rollback the libvirt driver will attempt to detach volumes from the  transient destination domain while providing the libvirt.VIR_DOMAIN_AFFECT_CONFIG flag. This will always fail as the domain is not persistent.

  Steps to reproduce
  ==================
  - live-migrate an instance with volumes attached.
  - force a rollback of the live-migration resulting in volumes being detached from the destination domain.

  Expected result
  ===============
  libvirt.VIR_DOMAIN_AFFECT_CONFIG flag not provided while attempting to detach a volume from the transient destination domain. 

  Actual result
  =============
  libvirt.VIR_DOMAIN_AFFECT_CONFIG flag provided while attempting to detach a volume from the transient destination domain, resulting in a failure during the live-migration rollback.

  Environment
  ===========
  1. Exact version of OpenStack you are running. See the following
     list for all releases: http://docs.openstack.org/releases/

     master

  2. Which hypervisor did you use?
     (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
     What's the version of that?
   
     libvirt

  2. Which storage type did you use?
     (For example: Ceph, LVM, GPFS, ...)
     What's the version of that?

     n/a

  3. Which networking type did you use?
     (For example: nova-network, Neutron with OpenVSwitch, ...)

     n/a

  Logs & Configs
  ==============
  Rollback of failed live migration with attached volume fails on destination 
  https://bugzilla.redhat.com/show_bug.cgi?id=1424481

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1669857/+subscriptions


Follow ups