devstack generate-subunit fail with exit code 127

asked 2019-02-02 22:04:53 -0500

I try to install devstack on Ubuntu 18.04LTS and I run into the following error:

+inc/python:pip_install:334                [[ -e pbr/test-requirements.txt ]]
+inc/python:pip_install:342                env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /opt/stack/requirements/.venv/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -U pbr
env: ‘/opt/stack/requirements/.venv/bin/pip’: No such file or directory
+inc/python:pip_install:1                  exit_trap
+./stack.sh:exit_trap:523                  local r=127
++./stack.sh:exit_trap:524                  jobs -p
+./stack.sh:exit_trap:524                  jobs=
+./stack.sh:exit_trap:527                  [[ -n '' ]]
+./stack.sh:exit_trap:533                  '[' -f '' ']'
+./stack.sh:exit_trap:538                  kill_spinner
+./stack.sh:kill_spinner:433               '[' '!' -z '' ']'
+./stack.sh:exit_trap:540                  [[ 127 -ne 0 ]]
+./stack.sh:exit_trap:541                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:543                  type -p generate-subunit
+./stack.sh:exit_trap:544                  generate-subunit 1549166341 45 fail
+./stack.sh:exit_trap:546                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:549                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2019-02-03-035946.txt for details
+./stack.sh:exit_trap:558                  exit 127

I'm new to openstack. I'm not sure which one leads to error and how I can fix it? Thanks!

edit retag flag offensive close merge delete

Comments

The real error is further up in the log. "generate subunit fail" is just a very generic consequence. Perhaps it's the pip error a few lines up, but search for more.

Also post your local.conf file and let us know which version you are trying to install.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-03 05:13:23 -0500 )edit