Bug 2178005 - No support for vnic_type = vdpa for " openstack port create " command
Summary: No support for vnic_type = vdpa for " openstack port create " command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutronclient
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Arnau Verdaguer
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-14 08:20 UTC by Vijayalakshmi Candappa
Modified: 2023-07-04 05:45 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-22 16:50:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-23066 0 None None None 2023-03-14 08:21:16 UTC

Description Vijayalakshmi Candappa 2023-03-14 08:20:21 UTC
Description of problem:
As per the OSP 17.0 release doc [1], the vDPA feature is supported as Tech Preview and "openstack port create" command can be done with new type "vdpa"

But vdpa NIC type is not allowed in current OSP17.1 puddles

[1] https://access.redhat.com/documentation/cn/red_hat_openstack_platform/17.0/html/creating_and_managing_instances/proc_creating-an-instance-with-a-vdpa-interface_osp

openstack port create --network vdpa_net1 --vnic-type=vdpa vdpa_direct_port1

openstack port create: error: argument --vnic-type: invalid choice: 'vdpa' (choose from 'direct', 'direct-physical', 'macvtap', 'normal', 'baremetal', 'virtio-forwarder')


Version-Release number of selected component (if applicable):
RHOS-17.1-RHEL-9-20230216.n.1, RHOS-17.1-RHEL-9-20230301.n.1 and latest 17.1+9.2 puddle

How reproducible:
Always

Steps to Reproduce:
1. Follow deployment steps as mentioned in doc [1] above
2. After overcloud deployment, create a VM
3. openstack port create --network vdpa_net1 --vnic-type=vdpa vdpa_direct_port1

Actual results:
'openstack port create' fails

Expected results:
Port create should support vnic_type 'vdpa'


Additional info:
Additonal details are there in https://bugzilla.redhat.com/show_bug.cgi?id=1873409

Comment 3 smooney 2023-03-22 16:50:54 UTC
This was intentional we only support it in OpenStack client 
We also deced not to backprot the osc change originally and recommend that pypi version be used.

based on the conversation with Haresh Khandelwal on slack i created a backport which we have now merged.
https://code.engineering.redhat.com/gerrit/c/python-openstackclient/+/441006


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