resize revert:VirtualInterfaceCreateException: Virtual Interface creation failed

Bug #1891420 reported by Jie Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Jie Li

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

Jie Li (ramboman)
description: updated
Jie Li (ramboman)
Changed in nova:
assignee: nobody → Jie Li (ramboman)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/746020

Changed in nova:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.