Bug 2177710 - Instance creation fails with ` nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed`
Summary: Instance creation fails with ` nova.exception.VirtualInterfaceCreateExceptio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 16.2 (Train)
Hardware: All
OS: Linux
medium
medium
Target Milestone: z5
: 16.2 (Train on RHEL 8.4)
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-13 13:04 UTC by Paul Jany
Modified: 2023-04-26 12:18 UTC (History)
6 users (show)

Fixed In Version: openstack-neutron-15.3.5-2.20230216175502.c3c7146.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-26 12:17:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 856581 0 None MERGED Retry connections to Nova 2023-07-12 09:42:05 UTC
Red Hat Issue Tracker OSP-23058 0 None None None 2023-03-13 13:05:43 UTC
Red Hat Product Errata RHBA-2023:1763 0 None None None 2023-04-26 12:18:05 UTC

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


Note You need to log in before you can comment on or make changes to this bug.