[ R4.1 build 15 ] Juju + Netronome : Virtio-forwarder needs to be allowed to configure as default vnic type
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | ||||||
R4.1 |
Won't Fix
|
High
|
Pieter Malan |
Bug Description
Issue : Not able to set Virtio-forwarder as default vnic-type. By default, vnic type used is "normal" as shown below:
| binding_profile | None |
| binding_vif_details | port_filter='True' |
| binding_vif_type | vrouter |
| binding_vnic_type | normal
Need a way to set virtio-forwarder as default vnic type with the following details:
| binding_host_id | nodei8 |
| binding_profile | pci_slot=
| binding_vif_details | vhostuser_
| binding_vif_type | vrouter |
| binding_vnic_type | virtio-forwarder
As of now, we know the following way to launch accelerated VMs:
1) Create a port with vnic-type virtio-forwarder
openstack port create --network net1 --vnic-type virtio-forwarder port1
2) Launch the VM with port1
It does not seem to be possible to directly launch VMs with virtio-forwarder as default vnic-type. The port with virtio-forwarder as vnic-type need to be created.
We need a way to set Virtio-forwarder as default vnic-type to run the sanity scripts
as many test cases create VMs by passing net_ids as nic_list skipping the port creation ( not port_ids where it's allowed to specifiy virtio-forwarder as vnic type as shown below:
test_vm_add_delete -> vm fixture : create_vm ->
vm1_fixture = self.create_
elif port_ids:
elif vn_ids:
description: | updated |
tags: | added: netronome |
tags: | added: sanityblocker |
Changed in juniperopenstack: | |
status: | New → Won't Fix |
status: | Won't Fix → New |
no longer affects: | juniperopenstack |
tags: | added: releasenote |
There are many places in OpenStack core (Neutron and Nova) that assumes the default VNIC type is NORMAL. Currently, the only supported place to set the VNIC type is by using the API at port creation, for example, with HEAT or the CLI.