Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2177710

Summary: Instance creation fails with ` nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed`
Product: Red Hat OpenStack Reporter: Paul Jany <pgodwin>
Component: openstack-neutronAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: averdagu, chrisw, jhardee, jlibosva, pambre, scohen
Target Milestone: z5Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-neutron-15.3.5-2.20230216175502.c3c7146.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-26 12:17:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Jany 2023-03-13 13:04:49 UTC
Description of problem:
Creation of the instance fails with [1] from compute nova logs(nova-compute.log)   on file:comp_logs.tar
[1]
[instance: 28b5f6f6-543e-49cf-946e-fc59810d6755] Instance failed to spawn: nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed


Version-Release number of selected component (if applicable):
OSP-16.2.4

Details:
The SDN soln is cisco-aci and vendor(Cicso) has drill down that the issue is due to "Nova event matching" which is missing after network-vif-plugged action is completed as we can see on controller logs[2].
[2]
[pgodwin@supportshell-1 0050-03455213_1003.tar]$ egrep -ir network-vif-plugged cntrl/var/log/containers/ | grep 28b5f6f6-543e-49cf-946e-fc59810d6755
cntrl/var/log/containers/neutron/server.log:2023-03-10 07:14:46.945 28 DEBUG neutron.notifiers.nova [-] Sending events: [{'server_uuid': '28b5f6f6-543e-49cf-946e-fc59810d6755', 'name': 'network-vif-plugged', 'status': 'completed', 'tag': '5bb21e13-67c4-4895-a5aa-c2e5df1d5443'}] send_events /usr/lib/python3.6/site-packages/neutron/notifiers/nova.py:279
[supportshell-1.sush-001.prod.us-west-2.aws.redhat.com] [12:19:15+0000]

[pgodwin@supportshell-1 0050-03455213_1003.tar]$ egrep -ir "Nova event matching"  cntrl/var/log/containers/ | grep 28b5f6f6-543e-49cf-946e-fc59810d6755
[supportshell-1.sush-001.prod.us-west-2.aws.redhat.com] [12:19:41+0000]
[pgodwin@supportshell-1 0050-03455213_1003.tar]$ 


Steps to Reproduce:
- Instance creation initially fails with error as already explained. 
- This succeeds if we set vif_plugging_is_fatal=false on compute nodes.  but it takes 5 minute for instance creation.
- Restart of 'neutron_api' on the controller nodes also mitigate the issue. 

Actual results:
- Want to confirm if the issue is same as in https://bugzilla.redhat.com/show_bug.cgi?id=2135363

Expected results:
- Want instance creation to get successful at first attempt

Additional info:
- This is single controller deployment and not yet put to production.
- SOS of controller, compute and instance details in 0050-03455213_1003.tar.
- Findings from cisco team attached.

Comment 14 errata-xmlrpc 2023-04-26 12:17:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.2.5 (Train) bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:1763