nova-compute restart leads to instance downtime when isolate_vif=True is used

Bug #2023300 reported by Vasyl Saienko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-vif
Fix Released
Undecided
Unassigned

Bug Description

Since nova moved to use os-vifs library to initialise interfaces and when isolate_vif is set to True
https://github.com/openstack/os-vif/commit/d291213f1ea62f93008deef5224506fb5ea5ee0d
During nova-compute service restart it calls plug_vifs https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L1238 as result when isolate_vif is enabled we change vlan on ports to dead VLAN which leads to instance downtime.

Changed in os-vif:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-vif (master)

Reviewed: https://review.opendev.org/c/openstack/os-vif/+/885127
Committed: https://opendev.org/openstack/os-vif/commit/0a0dec37e42e220ffa750650027714bd7289faa1
Submitter: "Zuul (22348)"
Branch: master

commit 0a0dec37e42e220ffa750650027714bd7289faa1
Author: Vasyl Saienko <email address hidden>
Date: Fri Jun 2 11:52:59 2023 +0000

    Don't break traffic if port already exists

    Nova compute service plugs VIF on service init, it triggers
    rules reinitialization for iptables filter. But it breaks
    traffic in case isolate_vif is used by assigning dead VLAN
    to the port. This patch prevents dead VLAN assingment
    for ports that exists.

    Co-Authored-By: <email address hidden>

    Closes-Bug: #2023300

    Change-Id: Ib1b7467fce9facfbfcd698bf6e9f950c0cead650

Changed in os-vif:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-vif 3.3.0

This issue was fixed in the openstack/os-vif 3.3.0 release.

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.