Ask Your Question
0

Error during OpenStack installation: ./stack.sh:exit_trap:539 echo 'Error on exit'

asked 2018-02-07 05:22:50 -0600

scampo gravatar image

updated 2018-02-27 11:41:18 -0600

I am new to OpenStack. While installing devstack on my Ubuntu 16.04 VM, during the execution of

./stack.sh

I got the following error:

+lib/etcd3:install_etcd3:121               echo ' /opt/stack/devstack/files/etcd-v3.1.7-linux-arm64.tar.gz'
+lib/etcd3:install_etcd3:123               sha256sum -c /opt/stack/devstack/files/etcd.sha256sum
sha256sum: /opt/stack/devstack/files/etcd.sha256sum: no properly formatted SHA256 checksum lines found
+lib/etcd3:install_etcd3:1                 exit_trap
+./stack.sh:exit_trap:521                  local r=1
++./stack.sh:exit_trap:522                  jobs -p
+./stack.sh:exit_trap:522                  jobs=
+./stack.sh:exit_trap:525                  [[ -n '' ]]
+./stack.sh:exit_trap:531                  '[' -f '' ']'
+./stack.sh:exit_trap:536                  kill_spinner
+./stack.sh:kill_spinner:417               '[' '!' -z '' ']'
+./stack.sh:exit_trap:538                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:539                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540                  generate-subunit 1517844452 85 fail
+./stack.sh:exit_trap:541                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:544                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2018-02-05-152857.txt for details
+./stack.sh:exit_trap:550                  exit 1

I also checked the worlddump file, but I didn't see nothing strange, in my opinion.

I strictly followed the steps described in the devstack openstack guide.

Any tips, please? Thanks!

edit retag flag offensive close merge delete

Comments

1

Did you clone the master branch? If so, it might be a bug. The first line in your error output shows that ETCD_SHA256 is empty. Clone a stable version of devstack and try again, for example

git clone http..... -b stable/pike
Bernd Bausch gravatar imageBernd Bausch ( 2018-02-27 13:16:13 -0600 )edit

The SHA should be set in stackrc https://github.com/openstack-dev/devs.... This seems to fail in your case.

Bernd Bausch gravatar imageBernd Bausch ( 2018-02-27 13:23:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-09-24 03:41:22 -0600

ArcturusBlack gravatar image

Hi There, Bernd has pointed out the right file in his comment, please change v3.2.17 to 3.1.17 and things will most probably work.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-02-07 05:22:50 -0600

Seen: 868 times

Last updated: Feb 27 '18