Race condition during VM creation - could not open network device tapXXX (No such device)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned | ||
neutron |
New
|
Medium
|
Unassigned |
Bug Description
[High-Level Description]
While creating an amphora from the Octavia service, we are encountering a race condition. Nova-compute is unable to add a QC ingress rule because the tap interface does not exist yet. This situation results in the service becoming temporarily unavailable, failing in approximately 50% of cases.
[Pre-conditions]
Create a simple octavia loadbalancer with environment deployed by kolla-environment. For amphora server, use flavor with qos properties as from example: https:/
[Step-by-Step Reproduction]
Create a load balancer as part of a Heat stack, following the example provided at: https:/
Use a qos flavor as shown in example: https:/
[Expected Output]
Expect 100% successful creation of the amphora and subsequent Nova instances serving as members for the load balancer.
[Actual Output]
During the creation process, it is observed that nova-compute fails due to:
/var/log/
/var/log/
Unfortunately ovs-vswitchd.log file says that tap interface was not created at this point:
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
[Version]
OpenStack Zed, deployed by kolla-ansible with all defaults
Ubuntu 22.04 LTS
libvirt: 8.0.0-1ubuntu7.7
nova: zed
python3-
neutron: zed
description: | updated |
Changed in neutron: | |
importance: | Undecided → Medium |
Looks more like a libvirt error, or nova side problem. Neutron does not take responsibilities to create the tap-XXX device. It is plugged by nova-compute. Need to find out why the tap device is not created before TC rules creating.