[neutron] Stale Tap Ports

Ammad Syed syedammad83 at gmail.com
Wed Feb 23 07:24:30 UTC 2022


I am using neutron 19.1 and ovn 21.09. There is a strange behavior I am
seeing on compute nodes that ovs logs shows below logs

2022-02-23T06:14:06.426Z|00226|bridge|WARN|could not open network device
tapea0dca9a-32 (No such device)
2022-02-23T06:14:06.428Z|00227|bridge|WARN|could not open network device
tapaeaa1749-b5 (No such device)
2022-02-23T06:14:06.429Z|00228|bridge|WARN|could not open network device
tap53f06ea0-70 (No such device)
2022-02-23T06:14:06.431Z|00229|bridge|WARN|could not open network device
tap724cf0cc-7b (No such device)
2022-02-23T06:14:06.433Z|00230|bridge|WARN|could not open network device
tap18864125-6d (No such device)

In the ovs-vsctl show I also see alot of ports with these status.

        Port tapaeaa1749-b5
            Interface tapaeaa1749-b5
                error: "could not open network device tapaeaa1749-b5 (No
such device)"
        Port tap18864125-6d
            Interface tap18864125-6d
                error: "could not open network device tap18864125-6d (No
such device)"
        Port tap54415fc0-dd
            Interface tap54415fc0-dd
                error: "could not open network device tap54415fc0-dd (No
such device)"

I have checked in neutron port list and there is no port found for these
tap interfaces.

openstack port list --long | grep -i 18864125-6d

I have checked in database in ports table, there is also no ports there
with these ids.

mysql> select * from ports where id like '%18864125-6d%';

These ports even show on compute node even if there is no instance running
on it. Are these stale ports ? If yes, is there any tool or utility to run
audit and delete these ports ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220223/8316b279/attachment-0001.htm>

More information about the openstack-discuss mailing list