Failed to start the instance with the sriov port

asked 2020-06-23 02:07:03 -0500

soga gravatar image

Attempting to start an instance with a sriov port will fail with the following error message

2020-06-23 15:49:21.166 7836 ERROR nova.compute.manager [instance: c0b01dd6-ee58-4863-ac07-09cc537bc5ce]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2020-06-23 15:49:21.166 7836 ERROR nova.compute.manager [instance: c0b01dd6-ee58-4863-ac07-09cc537bc5ce] libvirtError: Cannot set interface MAC/vlanid to fa:16:3e:37:d2:d2/600 for ifname ib0 vf 0: Operation not supported
2020-06-23 15:49:21.166 7836 ERROR nova.compute.manager [instance: c0b01dd6-ee58-4863-ac07-09cc537bc5ce] 
2020-06-23 15:49:21.220 7836 INFO os_vif [req-1655695d-96ba-416f-84bf-415d8edff5d1 982d08ad748041938a9bab2631625fda c6aa695be12d4125925ac678ca1a0a85 - default default] Successfully unplugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:bc:a8:0b,bridge_name='br-int',has_traffic_filtering=True,id=c28785d3-13f8-4499-bde4-7c1a3677a606,network=Network(04953126-9d80-4179-8b2a-16e197b39b20),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tapc28785d3-13')
2020-06-23 15:49:21.270 7836 INFO os_vif [req-1655695d-96ba-416f-84bf-415d8edff5d1 982d08ad748041938a9bab2631625fda c6aa695be12d4125925ac678ca1a0a85 - default default] Successfully unplugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:43:95:7b,bridge_name='br-int',has_traffic_filtering=True,id=fea584b5-d30c-4b2e-8c48-d00c0a5105d5,network=Network(5a088e82-59ba-42d9-a773-51abfd89b2b4),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tapfea584b5-d3')
2020-06-23 15:49:23.171 7836 INFO nova.compute.manager [req-1655695d-96ba-416f-84bf-415d8edff5d1 982d08ad748041938a9bab2631625fda c6aa695be12d4125925ac678ca1a0a85 - default default] [instance: c0b01dd6-ee58-4863-ac07-09cc537bc5ce] Took 1.90 seconds to deallocate network for instance.
2020-06-23 15:49:23.388 7836 INFO nova.scheduler.client.report [req-1655695d-96ba-416f-84bf-415d8edff5d1 982d08ad748041938a9bab2631625fda c6aa695be12d4125925ac678ca1a0a85 - default default] Deleted allocation for instance c0b01dd6-ee58-4863-ac07-09cc537bc5ce

Is there a solution to this problem?

edit retag flag offensive close merge delete