[Bug 1995735] Re: neutron.privileged.agent.linux.ip_lib.InterfaceOperationNotSupported: Operation not supported on interface

Brian Haley 1995735 at bugs.launchpad.net
Thu Nov 17 17:51:16 UTC 2022


So I can confirm that on kinetic that simple test fails.

bhaley at virtualbox-22-10:~$ sudo python ./ipd.py 
Traceback (most recent call last):
  File "/home/bhaley/./ipd.py", line 15, in <module>
    main()
  File "/home/bhaley/./ipd.py", line 11, in main
    ip.addr("delete", index=dev, address='fe80::1', mask=64, family=socket.AF_INET6)
  File "/usr/lib/python3/dist-packages/pr2modules/iproute/linux.py", line 1625, in addr
    ret = self.nlm_request(
  File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 401, in nlm_request
    return tuple(self._genlm_request(*argv, **kwarg))
  File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 906, in nlm_request
    for msg in self.get(
  File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 404, in get
    return tuple(self._genlm_get(*argv, **kwarg))
  File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 732, in get
    raise msg['header']['error']
pr2modules.netlink.exceptions.NetlinkError: (95, 'Operation not supported')

bhaley at virtualbox-22-10:~$ dpkg -l | grep pyroute
ii  python3-pyroute2                           0.6.7-3                                  all          Python3 Netlink library - full package
ii  python3-pyroute2.core                      0.6.7-3                                  all          Python3 Netlink library - core
ii  python3-pyroute2.ethtool                   0.6.7-3                                  all          Python3 Netlink library - ethtool
ii  python3-pyroute2.ipdb                      0.6.7-3                                  all          Python3 Netlink library - ipdb
ii  python3-pyroute2.ipset                     0.6.7-3                                  all          Python3 Netlink library - ipset
ii  python3-pyroute2.ndb                       0.6.7-3                                  all          Python3 Netlink library - ndb
ii  python3-pyroute2.nftables                  0.6.7-3                                  all          Python3 Netlink library - nftables
ii  python3-pyroute2.nslink                    0.6.7-3                                  all          Python3 Netlink library - nslink
ii  python3-pyroute2.protocols                 0.6.7-3                                  all          Python3 Netlink library - protocols

I'm running 0.7.3 locally, maybe this version has bugz.

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

Title:
  neutron.privileged.agent.linux.ip_lib.InterfaceOperationNotSupported:
  Operation not supported on interface

Status in Ubuntu Cloud Archive:
  New
Status in Ubuntu Cloud Archive zed series:
  New
Status in neutron:
  In Progress
Status in neutron package in Ubuntu:
  New
Status in neutron source package in Kinetic:
  New

Bug description:
  When deploying OpenStack Zed on Kinetic, the neutron-ovn-metadata-
  agent fails to provision correctly the datapath for the metadata
  service.

  [Platform]

  - s390x
  - kinetic
  - ovn
  - Linux s4lp5 5.19.0-23-generic #24-Ubuntu SMP Fri Oct 14 15:39:36 UTC 2022 s390x s390x s390x GNU/Linux

  
  ii  openvswitch-common 3.0.0-0ubuntu1 s390x        Open vSwitch common components
  ii  linux-image-generic 5.19.0.23.22 s390x        Generic Linux kernel image

  
  Stacktrace:

  [-] Unexpected exception in notify_loop: neutron.privileged.agent.linux.ip_lib.InterfaceOperationNotSupported: Operation not supported on interface tapf5bae660-31, namespace ovnmeta-f5bae660-31f4-46ce-a93e-279bd493f6bc.
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/ovsdbapp/event.py", line 177, in notify_loop
      match.run(event, row, updates)
    File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/agent.py", line 90, in run
      self.agent.update_datapath(str(row.datapath.uuid), net_name)
    File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/agent.py", line 392, in update_datapath
      self.provision_datapath(datapath, net_name)
    File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/agent.py", line 487, in provision_datapath
      ip2.addr.delete(ipaddr)
    File "/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 540, in delete
      delete_ip_address(cidr, self.name, self._parent.namespace)
    File "/usr/lib/python3/dist-packages/neutron/agent/linux/ip_lib.py", line 834, in delete_ip_address
      privileged.delete_ip_address(
    File "/usr/lib/python3/dist-packages/oslo_privsep/priv_context.py", line 271, in _wrap
      return self.channel.remote_call(name, args, kwargs,
    File "/usr/lib/python3/dist-packages/oslo_privsep/daemon.py", line 215, in remote_call
      raise exc_type(*result[2])
  neutron.privileged.agent.linux.ip_lib.InterfaceOperationNotSupported: Operation not supported on interface tapf5bae660-31, namespace ovnmeta-f5bae660-31f4-46ce-a93e-279bd493f6bc.

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




More information about the Ubuntu-openstack-bugs mailing list