← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1832028] [NEW] revert resize: vif-plugged external event sent too soon if Neutron is using OVS hybrid plug

 

Public bug reported:

Description
===========

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

When reverting a resized instance back to its original source host, Nova
will timeout waiting for the vif-plugged external event, and never
finish the revert. This happens because the event is sent by Neutron as
soon as Nova updates the port binding to point back to the original
source. This happens before the virt driver gets ready to listen for
external events, so the event arrives, just too soon, and Nova times
out.

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. Reported in OSP14/Rocky [1], reproduced on master
[2] [3].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1678681
[2] https://review.opendev.org/#/c/660782/
[3] https://review.opendev.org/#/c/653498/

** Affects: nova
     Importance: Undecided
     Assignee: Artom Lifshitz (notartom)
         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/1832028

Title:
  revert resize: vif-plugged external event sent too soon if Neutron is
  using OVS hybrid plug

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Description
  ===========

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

  When reverting a resized instance back to its original source host,
  Nova will timeout waiting for the vif-plugged external event, and
  never finish the revert. This happens because the event is sent by
  Neutron as soon as Nova updates the port binding to point back to the
  original source. This happens before the virt driver gets ready to
  listen for external events, so the event arrives, just too soon, and
  Nova times out.

  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. Reported in OSP14/Rocky [1], reproduced on
  master [2] [3].

  [1] https://bugzilla.redhat.com/show_bug.cgi?id=1678681
  [2] https://review.opendev.org/#/c/660782/
  [3] https://review.opendev.org/#/c/653498/

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


Follow ups