virt/vmware not suport VirtualSriovEthernetCard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
yuqian | ||
OpenStack Compute (nova) |
Triaged
|
Low
|
Unassigned |
Bug Description
Description
===========
In nova/virt/
Through the code, this type of "VirtualSriov\
EthernetCard" network card can be managed.
But in fact, "VirtualSriovEt
not be achieved through the current code
architecture.
Steps to reproduce
==================
In horizon:
* Choose a image that you need to launch;
* Update the metadata of this image:
hw_vif_model: VirtualSriovEth
(hw_vif_model in `VMware Driver Options`)
* Create a VM from this image;
* At this time, the background of nova will
report an error.
Actual result
=============
”VirtualSriovE
physical NIC, unlike other virtual NICs
that can directly configure properties.
The sriovbacking attribute must be configured
in its spec, which contains information about
vf and pf. This information needs to be
obtained through the vsphere client.
The vf/pf information included 'system_id'
which is needs to be get after vm_vmotion is
created. But in current code architecture,
this is impossible to achieve
Environment
===========
1.Version:
Not related to the version;
2.Hypervisor:
compute_driver: vmwareapi.
3.Storage:
Not related to the storage.
4.Networking:
core_plugin: vmware_
Logs & Configs
==============
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
Faults: ['InvalidDevice
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.
Solution
==============
According to the logic of the code, this type
of network card is available, but in fact it is
confusing here. According to the current code
architecture, the problem cannot be fixed. I
suggest to delete the corresponding code snippet
and add comments to remind users.
In the future, if necessary, support this type
of network card by adding BP.
Here upon is my cordial suggest! :)
Changed in nova: | |
assignee: | nobody → yuqian (roger-yu) |
Changed in glance: | |
assignee: | nobody → yuqian (roger-yu) |
Changed in nova: | |
status: | In Progress → New |
assignee: | yuqian (roger-yu) → nobody |
tags: | added: vmware |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Triaged |
Fix proposed to branch: master /review. openstack. org/579820
Review: https:/