← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1891420] [NEW] resize revert:VirtualInterfaceCreateException: Virtual Interface creation failed

 

Public bug reported:

This bug is the same as [1], but that bug wasn't solved completely. It
also fails occasionally during REVERT_RESIZE operation.

The more detail is:
Description
===========

This is all only when Neutron is using OVS with hybrid plugging.

When reverting a resized instance from dest host back to its original
source host(source host is different from dest host), Nova will timeout
waiting for the vif-plugged external event, and never finish the revert.
This happens because Nova wait the vif-plugged external event which the
vif status is inactive from the network info[2]. But the network_info is
too old, although the vif status is inactive in network_info, actually
it maybe active. If the vif status is active actually, Nova will
timeout.

Steps to reproduce
==================

1. Resize an instance
2. When it's in VERIFY_RESIZE, revert it

Expected result
===============

Instance reverts correctly.

Actual result
=============

Instance goes to ERROR.

Environment
===========

OVS with hybrid plug.
The Nova release is Rocky. And affected the release after the Rocky.

Re:
[1]:https://bugs.launchpad.net/nova/+bug/1832028
[2]:https://github.com/openstack/nova/blob/aa7a6939d5177c0dd8c9f5a7bf7975264d2f5a2a/nova/virt/libvirt/driver.py#L5742

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  This bug is the same as [1], but that bug wasn't solved completely. It
  also fails occasionally during REVERT_RESIZE operation.
  
  The more detail is:
  Description
  ===========
  
  This is all only when Neutron is using OVS with hybrid plugging.
  
  When reverting a resized instance from dest host back to its original
  source host(source host is different from dest host), Nova will timeout
  waiting for the vif-plugged external event, and never finish the revert.
  This happens because Nova wait the vif-plugged external event which the
  vif status is inactive from the network info[2]. But the network_info is
  too old, although the vif status is inactive in network_info, actually
  it maybe active. If the vif status is active actually, Nova will
  timeout.
- 
  
  Steps to reproduce
  ==================
  
  1. Resize an instance
  2. When it's in VERIFY_RESIZE, revert it
  
  Expected result
  ===============
  
  Instance reverts correctly.
  
  Actual result
  =============
  
  Instance goes to ERROR.
  
  Environment
  ===========
  
  OVS with hybrid plug.
- The Nova release is Rocky. And maybe affect the release after the Rocky.
+ The Nova release is Rocky. And affected the release after the Rocky.
  
  Re:
  [1]:https://bugs.launchpad.net/nova/+bug/1832028
  [2]:https://github.com/openstack/nova/blob/aa7a6939d5177c0dd8c9f5a7bf7975264d2f5a2a/nova/virt/libvirt/driver.py#L5742

-- 
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/1891420

Title:
  resize revert:VirtualInterfaceCreateException: Virtual Interface
  creation failed

Status in OpenStack Compute (nova):
  New

Bug description:
  This bug is the same as [1], but that bug wasn't solved completely. It
  also fails occasionally during REVERT_RESIZE operation.

  The more detail is:
  Description
  ===========

  This is all only when Neutron is using OVS with hybrid plugging.

  When reverting a resized instance from dest host back to its original
  source host(source host is different from dest host), Nova will
  timeout waiting for the vif-plugged external event, and never finish
  the revert. This happens because Nova wait the vif-plugged external
  event which the vif status is inactive from the network info[2]. But
  the network_info is too old, although the vif status is inactive in
  network_info, actually it maybe active. If the vif status is active
  actually, Nova will timeout.

  Steps to reproduce
  ==================

  1. Resize an instance
  2. When it's in VERIFY_RESIZE, revert it

  Expected result
  ===============

  Instance reverts correctly.

  Actual result
  =============

  Instance goes to ERROR.

  Environment
  ===========

  OVS with hybrid plug.
  The Nova release is Rocky. And affected the release after the Rocky.

  Re:
  [1]:https://bugs.launchpad.net/nova/+bug/1832028
  [2]:https://github.com/openstack/nova/blob/aa7a6939d5177c0dd8c9f5a7bf7975264d2f5a2a/nova/virt/libvirt/driver.py#L5742

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