DevStack installation on RHEL (not CentOS Stream) fails

Bug #1930278 reported by Rajath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Won't Fix
Wishlist
Unassigned

Bug Description

EDIT: see comment #2 for the real issue

Trying to install latest devstack on RHEL 8.3 but the installation fails with the error "ebtables v1.8.4 (nf_tables): table `broute' is incompatible, use 'nft' tool." The failure is consistent and is happening with every try.

+lib/rpc_backend:install_rpc_backend:1 exit_trap
+./stack.sh:exit_trap:503 local r=1
++./stack.sh:exit_trap:504 jobs -p
+./stack.sh:exit_trap:504 jobs=
+./stack.sh:exit_trap:507 [[ -n '' ]]
+./stack.sh:exit_trap:513 '[' -f '' ']'
+./stack.sh:exit_trap:518 kill_spinner
+./stack.sh:kill_spinner:413 '[' '!' -z '' ']'
+./stack.sh:exit_trap:520 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:521 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:523 type -p generate-subunit
+./stack.sh:exit_trap:526 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:529 /bin/python3.6 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2021-05-31-142143.txt for details
ebtables v1.8.4 (nf_tables): table `broute' is incompatible, use 'nft' tool.

+./stack.sh:exit_trap:538 exit 1

Rajath (rpatavardhan)
description: updated
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

This is only a warning, the error must be elsewhere. Include full logs.

Changed in devstack:
status: New → Incomplete
Revision history for this message
Rajath (rpatavardhan) wrote (last edit ):
Download full text (6.9 KiB)

Turns out there was an error with the installation of rabbitmq-server. Tried installing it manually and the devstack installation moved forward for a bit.

However the installation fails with the below error now:
Requirement already satisfied: fasteners===0.14.1 in /usr/local/lib/python3.6/site-packages (from -c /opt/stack/requirements/upper-constraints.txt (line 163)) (0.14.1)
Requirement already satisfied: monotonic===1.5 in /usr/local/lib/python3.6/site-packages (from -c /opt/stack/requirements/upper-constraints.txt (line 244)) (1.5)
Building wheels for collected packages: yappi
  Building wheel for yappi (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r7tylfjd/yappi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r7tylfjd/yappi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6baucbrd
       cwd: /tmp/pip-install-r7tylfjd/yappi/
  Complete output (14 lines):
  unable to execute 'cc': No such file or directory
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  copying yappi/yappi.py -> build/lib.linux-x86_64-3.6
  running build_ext
  building '_yappi' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/yappi
  gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c yappi/_yappi.c -o build/temp.linux-x86_64-3.6/yappi/_yappi.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for yappi
  Running setup.py clean for yappi
Failed to build yappi
Installing collected packages: yappi, oslo.service, oslo.messaging, testscenarios, testresources, Mako, python-editor, alembic, oslo.db, oslo.policy, oslo.upgradecheck, oauthlib, defusedxml, pyOpenSSL, elementpath, xmlschema, pysaml2, PyJWT, pyrsistent, jsonschema, osprofiler, keystone
    Running setup.py install for yappi ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.6 -u -c 'import sys, setupt...

Read more...

Revision history for this message
Radosław Piliszek (yoctozepto) wrote : Re: DevStack installation on RHEL 8.3 fails

As a quick workaround, I suggest you install gcc and retry.
As a larger workaround, I suggest you use CentOS Stream 8 or even Ubuntu (as it's most tested) if you don't require using RHEL.
At the moment, we support CentOS Stream 8 which is not 1:1 with RHEL.

Changed in devstack:
status: Incomplete → New
description: updated
summary: - Devstack installation on RHEL fails with "ebtables v1.8.4 (nf_tables):
- table `broute' is incompatible, use 'nft' tool."
+ DevStack installation on RHEL 8.3 fails
Changed in devstack:
importance: Undecided → Wishlist
status: New → Triaged
summary: - DevStack installation on RHEL 8.3 fails
+ DevStack installation on RHEL (not CentOS Stream) fails
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

We cannot support non-free software.

Changed in devstack:
status: Triaged → Won't Fix
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.