Ask Your Question

ben@folks's profile - activity

2016-02-12 11:04:50 -0600 received badge  Teacher (source)
2016-02-11 23:38:02 -0600 answered a question devstack installation is failing in bootstrap_keystone

Having exactly the same issue on a fresh install of Ubuntu 14.04.

When I look in the key.log file, I am seeing errors:

mod_wsgi (pid=49330): Target WSGI script '/usr/local/bin/keystone-wsgi-public' cannot be loaded as Python module.
mod_wsgi (pid=49330): Exception occurred processing WSGI script '/usr/local/bin/keystone-wsgi-public'.
Traceback (most recent call last):
  File "/usr/local/bin/keystone-wsgi-public", line 6, in <module>
    from keystone.server.wsgi import initialize_public_application
  File "/opt/stack/keystone/keystone/server/wsgi.py", line 31, in <module>
    from keystone.version import service as keystone_service
  File "/opt/stack/keystone/keystone/version/service.py", line 20, in <module>
    from paste import deploy
ImportError: cannot import name deploy
mod_wsgi (pid=49336): Target WSGI script '/usr/local/bin/keystone-wsgi-admin' cannot be loaded as Python module.
mod_wsgi (pid=49336): Exception occurred processing WSGI script '/usr/local/bin/keystone-wsgi-admin'.
Traceback (most recent call last):
  File "/usr/local/bin/keystone-wsgi-admin", line 6, in <module>
    from keystone.server.wsgi import initialize_admin_application
  File "/opt/stack/keystone/keystone/server/wsgi.py", line 31, in <module>
    from keystone.version import service as keystone_service
  File "/opt/stack/keystone/keystone/version/service.py", line 20, in <module>
    from paste import deploy
ImportError: cannot import name deploy

I've tried running clean.sh, and a few other things I found in other threads about this error such as commenting out the

export OS_USER_DOMAIN_ID=default
export OS_PROJECT_DOMAIN_ID=default

lines. Nothing I have tried makes a difference.