table `broute' is incompatible, use 'nft' tool

Bug #1885198 reported by attachmentgenie
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Low
Unassigned

Bug Description

On any failure, devstack confuses people with a message "table `broute' is incompatible, use 'nft' tool".

If you arrive here, please note this is 99.9% likely NOT the issue why your stack.sh run failed. Please look for the real reason further above this message.
This gets printed due to the debugging facilities using obsolete commands.
The debugging facilities ran because something failed already EARLIER.

Revision history for this message
attachmentgenie (bram-attachmentgenie) wrote :

this is running against git hash 572815884

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

This is also happening in Ubuntu 20.04:

+./devstack/stack.sh:exit_trap:515 /usr/bin/python3.8 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs/screen
ebtables v1.8.4 (nf_tables): table `broute' is incompatible, use 'nft' tool.

Revision history for this message
Andrew Schott (schotty) wrote :

Also running into this issue on CentOS 8.2.

Revision history for this message
Simon O'Donovan (odonos12) wrote :

Encountered this on Ubuntu 20.04 as well, workaround was to change to iptable-legacy and attempt stacking again.

apt-get update
apt-get upgrade
apt-get install iptable
apt-get install arptables
apt-get install ebtablesupdate-alternatives --set iptables /usr/sbin/iptables-legacy || true
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true
update-alternatives --set arptables /usr/sbin/arptables-legacy || true
update-alternatives --set ebtables /usr/sbin/ebtables-legacy || true

Revision history for this message
Jeremy Stanley (fungi) wrote :

That call only happens in wolddump.py which only normally gets run if there's another error condition, so while annoying it shouldn't be preventing DevStack from working.

Ultimately though, DevStack probably needs to start integrating nftables support. Most distros are now only keeping iptables compatibility around as deprecated/legacy.

Revision history for this message
Kashyap Chamarthy (kashyapc) wrote :

I just hit this error on Fedora 32. I was testing (with Dan Smith's (https://review.opendev.org/c/openstack/devstack/+/771505):

[stack@dstack-f32 devstack]$ git describe
kilo-2-4569-gd362c56c

I'm doing nothing special. Using a very minimal local.conf, with a NOVA_REPO and NOVA_BRANCH pointing to a change.

I've attached the contextual failure from devstacklog.txt here.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

I confirm this bug exists but it does not break devstack.

Changed in devstack:
importance: Undecided → Low
status: New → Triaged
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/devstack/+/795488

Changed in devstack:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/795488
Committed: https://opendev.org/openstack/devstack/commit/5a684eb51b4c18aee2051c5a7c703f50bbcc41ca
Submitter: "Zuul (22348)"
Branch: master

commit 5a684eb51b4c18aee2051c5a7c703f50bbcc41ca
Author: Jens Harbott <email address hidden>
Date: Wed Jun 9 09:37:34 2021 +0200

    Drop broute from ebtables_dump

    This table is no longer present on most installations, drop it
    from the list to avoid error messages during log collection
    that people mistake to be the real error why devstack is failing.

    This may lose some debugging information in edge cases, but I
    think the improvement of the general user experience is more
    important.

    Change-Id: Ibb9b247a018a788c8c4b40487762319fe470bf0f
    Closes-Bug: 1885198

Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/devstack/+/806706

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/806706
Committed: https://opendev.org/openstack/devstack/commit/b9b31df76c893bd35e70fdc82bad56161e58f8cb
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b9b31df76c893bd35e70fdc82bad56161e58f8cb
Author: Jens Harbott <email address hidden>
Date: Wed Jun 9 09:37:34 2021 +0200

    Drop broute from ebtables_dump

    This table is no longer present on most installations, drop it
    from the list to avoid error messages during log collection
    that people mistake to be the real error why devstack is failing.

    This may lose some debugging information in edge cases, but I
    think the improvement of the general user experience is more
    important.

    Change-Id: Ibb9b247a018a788c8c4b40487762319fe470bf0f
    Closes-Bug: 1885198
    (cherry picked from commit 5a684eb51b4c18aee2051c5a7c703f50bbcc41ca)

tags: added: in-stable-wallaby
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.