Devstack Openstack installation on Ubuntu 14.04.4 LTS - error

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

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, 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/", 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/", line 15, in <module>
    import zipfile
  File "/usr/lib/python2.7/", line 6, in <module>
    import io
  File "/usr/lib/python2.7/", 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/ -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

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

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

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-14 06:13:45 -0600

Seen: 403 times

Last updated: Mar 14 '16