Ask Your Question
0

Devstack Openstack installation on Ubuntu 14.04.4 LTS - error

asked 2016-03-14 06:13:45 -0500

Doney gravatar image

Hi, I’m trying to set up an Openstack lab and need your assistance.

As a start, I tried installing Openstack Devstack on Ubuntu 14.04.4 LTS.

While executing the stack.sh, it got failed with the below error.

    Traceback (most recent call last):
  File "/opt/stack/requirements/.venv/bin/pip", line 7, in <module>
    from pip import main
  File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/__init__.py", line 13, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 15, in <module>
    import zipfile
  File "/usr/lib/python2.7/zipfile.py", line 6, in <module>
    import io
  File "/usr/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: No module named _io
+ exit_trap
+ local r=1
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 1 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ generate-subunit 1457942630 81 fail
+ [[ -z /opt/stack/logs ]]
+ /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2016-03-14-080511.txt for details
+ exit 1

Have you seen this error and do you know the fix?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-03-09 10:19:59 -0500

you may try it for the installation

Create the stack user

adduser stack
apt-get install sudo -y || yum install -y sudo echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

Logout from current user and login back as stack user

Install git : sudo apt-get install git -y || sudo yum install -y git
Download devstack: git clone https://git.openstack.org/openstack-dev/devstack

Enter the directory by cd devstack Run ./stack.sh i hope it works for you

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: 2016-03-14 06:13:45 -0500

Seen: 288 times

Last updated: Mar 14 '16