Ask Your Question
0

Test running DevStack on Ubuntu Server 16.04

asked 2017-01-28 05:36:21 -0500

vgeorga gravatar image

I am new to the OpenStack technologies so, in order to get familiarized, for the last two days I am trying to test run the DevStack single node installation on a 16.04 Ubuntu Server virtual machine on VirtualBox. Currently the local.conf file looks something like this:

[[local|localrc]]
ADMIN_PASSWORD=<password>
DATABASE_PASSWORD=<password>
RABBIT_PASSWORD=<password>
SERVICE_PASSWORD=<password>
HOST_IP=192.168.1.6 <--- (Server VM is Bridged so I get this address)
#HOST_IPV6=2001:db8::7
LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data
FLOATING_RANGE=192.168.1.224/27
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=enp0s3

But every time I try to run stack.sh, the execution exits and I get this output on the shell screen:

2017-01-28 10:47:37.791 | No matching distribution found for hacking<0.13,>=0.12.0 (from -r /opt/stack/tempest/test-requirements.txt (line 4))
2017-01-28 10:47:38.006 | +inc/python:pip_install:1                  exit_trap
2017-01-28 10:47:38.017 | +./stack.sh:exit_trap:487                  local r=1
2017-01-28 10:47:38.031 | ++./stack.sh:exit_trap:488                  jobs -p
2017-01-28 10:47:38.056 | +./stack.sh:exit_trap:488                  jobs=
2017-01-28 10:47:38.070 | +./stack.sh:exit_trap:491                  [[ -n '' ]]
2017-01-28 10:47:38.082 | +./stack.sh:exit_trap:497                  kill_spinner
2017-01-28 10:47:38.097 | +./stack.sh:kill_spinner:383               '[' '!' -z '' ']'
2017-01-28 10:47:38.109 | +./stack.sh:exit_trap:499                  [[ 1 -ne 0 ]]
2017-01-28 10:47:38.123 | +./stack.sh:exit_trap:500                  echo 'Error on exit'
2017-01-28 10:47:38.123 | Error on exit
2017-01-28 10:47:38.135 | +./stack.sh:exit_trap:501                  generate-subunit 1485599019 1439 fail
2017-01-28 10:47:39.459 | +./stack.sh:exit_trap:502                  [[ -z /opt/stack/logs ]]
2017-01-28 10:47:39.489 | +./stack.sh:exit_trap:505                  /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2017-01-28 10:47:40.630 | +./stack.sh:exit_trap:511                  exit 1

Any thoughts on what might be the case for this problem? And for that matter, can anyone suggest a guide I can use for DevStack that works with current ubuntu and devstack distributions? (I am aware of the OpenStack guide from 2014, but it doesn't seem to work anymore).

Thank you for your time in advance.

edit retag flag offensive close merge delete

Comments

2

The "hacking" error may be a consequence of an earlier error. Search the output or the log for other messages.

http://docs.openstack.org/developer/d... is based on current versions.

IMO, devstack is easy when it works. When it doesn't, it's not for newbies.

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-28 17:11:41 -0500 )edit

Thank you for your information, If it helps, I will try to add more information on a secondary capture. Also I will try this suggested guide one more time.

vgeorga gravatar imagevgeorga ( 2017-01-29 03:27:19 -0500 )edit

You were right, it worked this time! I guess I did something terribly wrong the previous time..

vgeorga gravatar imagevgeorga ( 2017-01-29 11:17:11 -0500 )edit

how did you solve it, i have the same problem

soumel gravatar imagesoumel ( 2017-04-01 08:25:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-28 15:11:19 -0500

luz-cazares gravatar image

Add INSTALL_TEMPEST="False" to the local.conf

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: 2017-01-28 05:36:21 -0500

Seen: 200 times

Last updated: Feb 28 '17