<div dir="ltr"><div>Hello Piotr:</div><div><br></div><div>Maybe you should update the pyroute2 library, but this is a blind shot.</div><div><br></div><div>What I recommend you do is to find the error you have when retrieving the interface VFs. In the same compute node, use this method [1] but remove the decorator [2]. Then, in a root shell, run python again:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> >>> from neutron.privileged.agent.linux import ip_lib
</span><br> >>> ip_lib.get_link_vfs('ens2f0', '')</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif">That will execute the pyroute2 code without the privsep decorator. You'll see what error is returning the method.</font></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif"><br></font></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif">Regards.</font><br></span></div><div><br><span style="font-family:monospace"></span></div><div>[1]<a href="https://github.com/openstack/neutron/blob/5d4f5d42d0a8c7ee157912cb29cae0e4deff984b/neutron/privileged/agent/linux/ip_lib.py#L396-L410">https://github.com/openstack/neutron/blob/5d4f5d42d0a8c7ee157912cb29cae0e4deff984b/neutron/privileged/agent/linux/ip_lib.py#L396-L410</a></div><div>[2]<a href="https://github.com/openstack/neutron/blob/5d4f5d42d0a8c7ee157912cb29cae0e4deff984b/neutron/privileged/agent/linux/ip_lib.py#L395">https://github.com/openstack/neutron/blob/5d4f5d42d0a8c7ee157912cb29cae0e4deff984b/neutron/privileged/agent/linux/ip_lib.py#L395</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 31, 2021 at 5:50 PM <<a href="mailto:forums@mossakowski.ch">forums@mossakowski.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hello,<br></div><div>I have two victoria environments:<br></div><div>1) a working one, standard setup with separate dedicated interface for sriov (pt0 and pt1)<br></div><div>2) a broken one, where I'm trying to reuse one of already used interfaces (ens2f0 or ens2f1) for sriov. ens2f0 is used for several VLANs (mgmt and storage) and ens2f1 is a neutron external interface which I bridged for VLAN tenant networks. On both I have enabled 63 VFs, it's a standard intetl 10Gb x540 adapter.<br></div><div><br></div><div>On broken environment, when I'm trying to boot a VM with sriov port that I created before, I see this error shown on below gist:<br></div><div><a href="https://gist.github.com/moss2k13/8e6272cbe7748b2c5210fab291360e0b" target="_blank">https://gist.github.com/moss2k13/8e6272cbe7748b2c5210fab291360e0b</a><br></div><div><br></div><div>I'm investigating this for couple days now but I'm out of ideas so I'd like to ask for your support. Is this possible to achieve what I'm trying to do on 2nd environment? To use PF as normal interface and use its VFs for sriov-agent at the same time? <br></div><div><br></div><div>Regards,<br></div><div>Piotr Mossakowski<br></div></blockquote></div>