Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

devstack installation failed - Ubuntu 16.04 LTS

I'm new to openstack. I tried to install devstack pack on Ubuntu 16.04 LTS machine. But its failed with below error.

its fresh ubuntu machine[16.04 LTS] with 1vCPU, 6GB Ram. I used "Mitaka" stable version.


+./                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:372  local admin_tenant
++lib/keystone:create_keystone_accounts:373  openstack project show admin -f value -c id
Traceback (most recent call last):
  File "/usr/local/bin/openstack", line 7, in <module>
    from import main
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/", line 32, in <module>
    from openstackclient.common import clientmanager
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/", line 293, in <module>
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/", line 264, in get_plugin_modules
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/network/", line 16, in <module>
    from openstack import connection
  File "/usr/local/lib/python2.7/dist-packages/openstack/", line 68, in <module>
    from openstack import session as _session
  File "/usr/local/lib/python2.7/dist-packages/openstack/", line 29, in <module>
    DEFAULT_USER_AGENT = "openstacksdk/%s" % openstack.__version__
AttributeError: 'module' object has no attribute '__version__'
+lib/keystone:create_keystone_accounts:373  admin_tenant=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./                  local r=1
++./                  jobs -p
+./                  jobs=
+./                  [[ -n '' ]]
+./                  kill_spinner
+./               '[' '!' -z '' ']'
+./                  [[ 1 -ne 0 ]]
+./                  echo 'Error on exit'
Error on exit
+./                  generate-subunit 1482066295 177 fail
+./                  [[ -z /opt/stack/logs ]]
+./                  /home/ubundu/devstack/tools/ -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2016-12-18-130752.txt for details
+./                  exit 1