[Bug 1995735] Re: neutron.privileged.agent.linux.ip_lib.InterfaceOperationNotSupported: Operation not supported on interface
Frode Nordahl
1995735 at bugs.launchpad.net
Thu Nov 17 07:27:10 UTC 2022
Adding this instrumentation prior to the `_run_iproute_addr` call:
LOG.info(f'HELLO? op "delete" device={device},
namespace={namespace}, ip={ip}, prefixlen={prefixlen}, family={family}')
Reveals:
2022-11-17 07:23:15.619 916107 INFO neutron.privileged.agent.linux.ip_lib [-] HELLO? op "delete" device=tap8b48b83e-51, namespace=ovnmeta-8b48b83e-5925-4d24-9c61-a2633eb377f4, ip=fe80::a85c:30ff:fee3:53e4, prefixlen=64, family=10
Which is weird, because the following command succeeds:
sudo ip netns exec ovnmeta-8b48b83e-5925-4d24-9c61-a2633eb377f4 ip a del fe80::a85c:30ff:fee3:53e4/64 dev tap8b48b83e-51
Does pyroute2 need an update?
--
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