<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma",sans-serif;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.pl-c
{mso-style-name:pl-c;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">You’re in legacy mode for OVS offload you need switchdev mode
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# devlink dev eswitch show pci/0000:88:00.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">pci/0000:88:00.0: mode legacy inline-mode none encap enable<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You should run this [1] command to set it for switchdev mode<o:p></o:p></p>
<p class="MsoNormal">sudo devlink dev eswitch set pci/0000:88:00.0 mode switchdev<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please see [1]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[1] - <a href="https://github.com/openstack/neutron/blob/master/doc/source/admin/config-ovs-offload.rst">
https://github.com/openstack/neutron/blob/master/doc/source/admin/config-ovs-offload.rst</a>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Manuel Sopena Ballesteros <manuel.sb@garvan.org.au>
<br>
<b>Sent:</b> Tuesday, March 5, 2019 7:52 AM<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [nova] failing OVS offload on mellanox connectx-4 (RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear Openstack community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">first let me apologise for my ignorance in this topic, this is the first time I try to setup an environment like this and I don't know anyone who has done it before.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to setup OVS offload following this document <a href="https://docs.openstack.org/neutron/rocky/admin/config-ovs-offload.html">
https://docs.openstack.org/neutron/rocky/admin/config-ovs-offload.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My Openstack is Rocky deployed through kolla-ansible.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a feeling my OVS offload is not setup properly as vm creation fails and the error "RepresentorNotFound: Failed getting representor port for PF" can be see in nova-compute logs.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Nova compute logs:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.392 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Attempting claim on node zeus-54.localdomain: memory 8192 MB, disk 80 GB, vcpus 4 CPU<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.393 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Total memory: 524173 MB, used: 8704.00 MB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.394 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
memory limit not specified, defaulting to unlimited<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.394 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Total disk: 18630 GB, used: 80.00 GB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.395 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
disk limit not specified, defaulting to unlimited<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.396 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Total vcpu: 56 VCPU, used: 4.00 VCPU<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.396 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
vcpu limit not specified, defaulting to unlimited<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:46.408 7 INFO nova.compute.claims [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Claim successful on node zeus-54.localdomain<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:47.144 7 INFO nova.virt.libvirt.driver [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Creating image<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] Failed to plug vif VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True):
RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/os_vif/__init__.py", line 77, in plug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif plugin.plug(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 215, in plug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif self._plug_vf_passthrough(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 189, in _plug_vf_passthrough<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif representor = linux_net.get_representor_port(pf_ifname, vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/linux_net.py", line 381, in get_representor_port<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif raise exception.RepresentorNotFound(ifname=pf_ifname, vf_num=vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.957 7 ERROR os_vif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.960 7 ERROR nova.virt.libvirt.driver [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Failed to start libvirt guest: InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True).
Got error: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] Failed to unplug vif VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True):
RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/os_vif/__init__.py", line 110, in unplug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif plugin.unplug(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 277, in unplug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif self._unplug_vf_passthrough(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 250, in _unplug_vf_passthrough<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif representor = linux_net.get_representor_port(pf_ifname, vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/linux_net.py", line 381, in get_representor_port<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif raise exception.RepresentorNotFound(ifname=pf_ifname, vf_num=vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.969 7 ERROR os_vif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.971 7 INFO nova.virt.libvirt.driver [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Deleting instance files /var/lib/nova/instances/1b03f2e7-0c44-46c2-87f5-d68f93654c58_del<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:48.972 7 INFO nova.virt.libvirt.driver [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Deletion of /var/lib/nova/instances/1b03f2e7-0c44-46c2-87f5-d68f93654c58_del complete<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Instance failed to spawn: InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True).
Got error: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2368, in _build_resources<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] yield resources<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2132, in _build_and_run_instance<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] block_device_info=block_device_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3080, in spawn<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] destroy_disks_on_failure=True)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5646, in _create_domain_and_network<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] destroy_disks_on_failure)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] self.force_reraise()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] six.reraise(self.type_, self.value, self.tb)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5605, in _create_domain_and_network<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] self.plug_vifs(instance, network_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 819, in plug_vifs<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] self.vif_driver.plug(instance, vif)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 807, in plug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] self._plug_os_vif(instance, vif_obj)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 787, in _plug_os_vif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] raise exception.InternalError(msg)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True).
Got error: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.083 7 ERROR nova.compute.manager [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.085 7 INFO nova.compute.manager [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Terminating instance<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.091 7 INFO nova.virt.libvirt.driver [-] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58] Instance destroyed successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] Failed to unplug vif VIFHostDevice(active=False,address=fa:16:3e:b8:41:ff,dev_address=0000:88:02.1,dev_type='ethernet',has_traffic_filtering=True,id=3162e3d2-08ea-4674-8b48-9ce2916faf35,network=Network(f630b54b-2b07-44a3-8196-5a0ea9cc7969),plugin='ovs',port_profile=VIFPortProfileOVSRepresentor,preserve_on_delete=True):
RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/os_vif/__init__.py", line 110, in unplug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif plugin.unplug(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 277, in unplug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif self._unplug_vf_passthrough(vif, instance_info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/ovs.py", line 250, in _unplug_vf_passthrough<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif representor = linux_net.get_representor_port(pf_ifname, vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif File "/usr/lib/python2.7/site-packages/vif_plug_ovs/linux_net.py", line 381, in get_representor_port<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif raise exception.RepresentorNotFound(ifname=pf_ifname, vf_num=vf_num)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif RepresentorNotFound: Failed getting representor port for PF ens2f1 with 7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.099 7 ERROR os_vif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.101 7 INFO nova.virt.libvirt.driver [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Deletion of /var/lib/nova/instances/1b03f2e7-0c44-46c2-87f5-d68f93654c58_del complete<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:49.198 7 INFO nova.compute.manager [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Took 0.11 seconds to destroy the instance on the hypervisor.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:50.384 7 INFO nova.compute.manager [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] [instance: 1b03f2e7-0c44-46c2-87f5-d68f93654c58]
Took 0.77 seconds to deallocate network for instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:24:50.624 7 INFO nova.scheduler.client.report [req-8744317f-1a06-48a1-8c04-f495935867d8 91e83343e9834c8ba0172ff369c8acac b91520cff5bd45c59a8de07c38641582 - default default] Deleted allocation
for instance 1b03f2e7-0c44-46c2-87f5-d68f93654c58<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05 11:25:07.884 7 INFO nova.compute.resource_tracker [req-1b32a794-0bf0-4abe-a024-699920f791d2 - - - - -] Final resource view: name=zeus-54.localdomain phys_ram=524173MB used_ram=8704MB phys_disk=18630GB
used_disk=80GB total_vcpus=56 used_vcpus=4 pci_stats=[PciDevicePool(count=15,numa_node=1,product_id='1016',tags={dev_type='type-VF',physical_network='physnet1'},vendor_id='15b3')]<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">### This is my environment/configuration<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># OVS version:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">docker exec -it openvswitch_vswitchd ovs-vswitchd --version<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">ovs-vswitchd (Open vSwitch) 2.10.1<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Mellanox firmware version:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# ibv_devinfo<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">hca_id: mlx5_9<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> transport: InfiniBand (0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> fw_ver: 14.24.1000<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Kernel version:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# uname -r<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">3.10.0-862.el7.x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># OS distro:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# cat /etc/*release<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CentOS Linux release 7.6.1810 (Core)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">NAME="CentOS Linux"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">VERSION="7 (Core)"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">ID="centos"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">ID_LIKE="rhel fedora"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">VERSION_ID="7"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">PRETTY_NAME="CentOS Linux 7 (Core)"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">ANSI_COLOR="0;31"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CPE_NAME="cpe:/o:centos:centos:7"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">HOME_URL="<a href="https://www.centos.org/">https://www.centos.org/</a>"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">BUG_REPORT_URL="<a href="https://bugs.centos.org/">https://bugs.centos.org/</a>"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CENTOS_MANTISBT_PROJECT="CentOS-7"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CENTOS_MANTISBT_PROJECT_VERSION="7"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">REDHAT_SUPPORT_PRODUCT="centos"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">REDHAT_SUPPORT_PRODUCT_VERSION="7"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CentOS Linux release 7.6.1810 (Core)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">CentOS Linux release 7.6.1810 (Core)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># SR-IOV devices:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# lspci -D -nn | grep -i mel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] [15b3:1015]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.1 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] [15b3:1015]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.2 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.3 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.4 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.5 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.6 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.7 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.1 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.2 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.3 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.4 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.5 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.6 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.7 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:02.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:02.1 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016]<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# ibdev2netdev -v<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.0 mlx5_0 (MT4117 - MT1611X09936) CX4121A - ConnectX-4 LX SFP28 fw 14.24.1000 port 1 (ACTIVE) ==> ens2f0 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.1 mlx5_1 (MT4117 - MT1611X09936) CX4121A - ConnectX-4 LX SFP28 fw 14.24.1000 port 1 (ACTIVE) ==> ens2f1 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.2 mlx5_10 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f2 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.3 mlx5_11 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f3 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.4 mlx5_12 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f4 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.5 mlx5_13 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f5 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.6 mlx5_14 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f6 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.7 mlx5_15 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f7 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:02.0 mlx5_16 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s2 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:02.1 mlx5_17 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s2f1 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.2 mlx5_2 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f2 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.3 mlx5_3 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f3 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.4 mlx5_4 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f4 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.5 mlx5_5 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f5 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.6 mlx5_6 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f6 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:00.7 mlx5_7 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> ens2f7 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.0 mlx5_8 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">0000:88:01.1 mlx5_9 (MT4118 - NA) fw 14.24.1000 port 1 (ACTIVE) ==> enp136s1f1 (Up)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Embeded switch configuration:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# devlink dev eswitch show pci/0000:88:00.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">pci/0000:88:00.0: mode legacy inline-mode none encap enable<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# devlink dev eswitch show pci/0000:88:00.1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">pci/0000:88:00.1: mode legacy inline-mode none encap enable<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# sudo ethtool -k ens2f0 | grep hw-tc-offload<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">hw-tc-offload: on<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# sudo ethtool -k ens2f1 | grep hw-tc-offload<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">hw-tc-offload: on<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# docker exec -it openvswitch_vswitchd sudo ovs-vsctl get Open_vSwitch . other_config<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">{hw-offload="true", max-idle="30000"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# docker exec -it openvswitch_vswitchd sudo ovs-vsctl get Open_vSwitch . other_config<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">{hw-offload="true", max-idle="30000"}<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Check ovs offload<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">[root@zeus-54 ~]# docker exec -it openvswitch_vswitchd sudo ovs-dpctl show<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">2019-03-05T00:50:42Z|00001|dpif_netlink|INFO|The kernel module does not support meters.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">system@ovs-system:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> lookups: hit:0 missed:0 lost:0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> flows: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> masks: hit:0 total:0 hit/pkt:0.00<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> port 0: ovs-system (internal)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> port 1: br-ex (internal)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> port 2: br-int (internal)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> port 3: br-tun (internal)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">QUESTIONS:<o:p></o:p></p>
<p class="MsoNormal">Is my kernel version right?<o:p></o:p></p>
<p class="MsoNormal">Am I supposed to see the PFs attached to a port in the ovs-dpctl show output?<o:p></o:p></p>
<p class="MsoNormal">What else can I check?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you very much<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif">NOTICE<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif">Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright
information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability
for the distribution of viruses or similar in electronic communications. This notice should not be removed.
<o:p></o:p></span></p>
</div>
</div>
</body>
</html>