← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1915341] [NEW] neutron-linuxbridge-agent not starting due to nf_tables rules

 

Public bug reported:

* Description
When restarting neutron-linuxbridge-agent it fails, because it cannot remove nf_tables chains

* Pre-conditions
Openstack Ussuri on Ubuntu 20.04 installed as described in https://docs.openstack.org/install-guide on real hardware.

* reproduction steps
When you remove an instance there seem to remain some rules in neutronARP-* and neutronMAC-* tables. When restarting neutron-linuxbridge-agent then, it fails:

neutron_lib.exceptions.ProcessExecutionError: Exit code: 4; Stdin: ; Stdout: ; Stderr: ebtables v1.8.4 (nf_tables):  CHAIN_USER_DEL failed (Device or resource busy): chain neutronARP-tap0a9b5e3a-21
INFO neutron.plugins.ml2.drivers.agent._common_agent [-] Stopping Linux bridge agent agent.

After flushing these chains the agent can be started.

# openstack --version
openstack 5.2.0

* severity: blocker

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: openstack-neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1915341

Title:
  neutron-linuxbridge-agent not starting due to nf_tables rules

Status in neutron:
  New

Bug description:
  * Description
  When restarting neutron-linuxbridge-agent it fails, because it cannot remove nf_tables chains

  * Pre-conditions
  Openstack Ussuri on Ubuntu 20.04 installed as described in https://docs.openstack.org/install-guide on real hardware.

  * reproduction steps
  When you remove an instance there seem to remain some rules in neutronARP-* and neutronMAC-* tables. When restarting neutron-linuxbridge-agent then, it fails:

  neutron_lib.exceptions.ProcessExecutionError: Exit code: 4; Stdin: ; Stdout: ; Stderr: ebtables v1.8.4 (nf_tables):  CHAIN_USER_DEL failed (Device or resource busy): chain neutronARP-tap0a9b5e3a-21
  INFO neutron.plugins.ml2.drivers.agent._common_agent [-] Stopping Linux bridge agent agent.

  After flushing these chains the agent can be started.

  # openstack --version
  openstack 5.2.0

  * severity: blocker

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1915341/+subscriptions


Follow ups