failed to boot guest with vnic_type direct when rx_queue_size and tx_queue_size are set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Moshe Levi | ||
Rocky |
Fix Committed
|
High
|
Sahid Orentino |
Bug Description
Description of problem:
Nova compute forces the virtio RX/TX Queue Size also on SRIOV devices.
This makes VM spawn to fail. The configurable RX/TX Queue Size code is similar all the way from OSP10 to OSP13, so it's possible the issue is present also on other releases.
Version-Release number of selected component (if applicable):
OSP13 z3
How reproducible:
(quick and dirty way)
Change nova config file
# crudini --set /var/lib/
# crudini --set /var/lib/
# restart nova_compute container
docker restart nova_compute
# boot a VM with an SRIOV (PF or VF) interface
Actual results:
Nova add on the sriov port section rx_queue_size
<interface type="hostdev" managed="yes">
<mac address=
<driver name="vhost" rx_queue_
<source>
<address type="pci" domain="0x0000" bus="0x01" slot="0x14" function="0x7"/>
</source>
<vlan>
<tag id="435"/>
</vlan>
Expected results:
<interface type='hostdev' managed='yes'>
<mac address=
<driver name='vfio'/>
<source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x14' function='0x7'/>
</source>
<vlan>
<tag id='435'/>
</vlan>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</interface>
Additional info:
Changed in nova: | |
assignee: | nobody → Moshe Levi (moshele) |
Changed in nova: | |
status: | New → In Progress |
Patch is proposed here: https:/ /review. openstack. org/595592