Revision to test case to avoid need for all of openstack

[Test Case]
echo 63 | sudo tee /sys/class/net/enp3s0f0/device/sriov_numvfs
sudo apt install python3-neutron
sudo python3
>>> from neutron.privileged.agent.linux import ip_lib
>>> ip_lib.get_link_vfs('enp3s0f0', None)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyroute2/netlink/__init__.py", line 
1311, in _ft_decode_generic
    self.decode_nlas(offset)
  File "/usr/lib/python3/dist-packages/pyroute2/netlink/__init__.py", line 
1435, in decode_nlas
    (length, base_msg_type) = struct.unpack_from('HH', self.data,
struct.error: unpack_from requires a buffer of at least 19212 bytes for 
unpacking 4 bytes at offset 19208 (actual buffer size is 16384)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/oslo_privsep/priv_context.py", line 247, 
in _wrap
    return self.channel.remote_call(name, args, kwargs)
  File "/usr/lib/python3/dist-packages/oslo_privsep/daemon.py", line 204, in 
remote_call
    raise exc_type(*result[2])
TypeError: can not serialize 'error' object

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904730

Title:
  neutron-agent-sriov fails to create port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1904730/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to