Virtual Interface creation failed due to duplicate entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Stephen Finucane | ||
Train |
New
|
Undecided
|
Unassigned | ||
Ussuri |
New
|
Undecided
|
Unassigned | ||
Victoria |
New
|
Undecided
|
Unassigned | ||
Wallaby |
New
|
Undecided
|
Unassigned | ||
Xena |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Seen once in a test on stable/rocky:
The traceback appears to be similar to the one reported in bug 1602357 (which raises the possibility that https:/
ERROR nova.api.
pymysql.
oslo_db.
(This sequence of exceptions occurs 3 times, I assume because retrying is normally sufficient to fix a duplicate entry problem.)
The test was heat_integratio
As mentioned in the other bug, we likely just need to keep track of the VirtualInterface objects we create and if something fails we clean them up here:
https:/ /github. com/openstack/ nova/blob/ 92a388a1e34559b 2ce69d31fdef996 ff029495a6/ nova/network/ neutronv2/ api.py# L847