Install devstack with xenserver failed

asked 2014-05-21 11:34:53 -0600

c-mutz gravatar image

updated 2014-05-21 11:55:27 -0600


I used Xenserver 6.2 fresh install. I'm trying to install devstack with script Installation failed with package keyring (maybe ?).

keystone tenant-create --name admin
Traceback (most recent call last):
  File "/usr/local/bin/keystone", line 6, in <module>
    from import main
  File "/opt/stack/python-keystoneclient/keystoneclient/", line 36, in <module>
    from keystoneclient.contrib.bootstrap import shell as shell_bootstrap
  File "/opt/stack/python-keystoneclient/keystoneclient/contrib/bootstrap/", line 16, in <module>
    from keystoneclient.v2_0 import client
  File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/", line 2, in <module>
    from keystoneclient.v2_0.client import Client
  File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/", line 18, in <module>
    from keystoneclient import httpclient
  File "/opt/stack/python-keystoneclient/keystoneclient/", line 32, in <module>
    import keyring
  File "/usr/local/lib/python2.7/dist-packages/keyring/", line 9, in <module>
    from core import (set_keyring, get_keyring, set_password, get_password,
  File "/usr/local/lib/python2.7/dist-packages/keyring/", line 166, in <module>
  File "/usr/local/lib/python2.7/dist-packages/keyring/", line 65, in init_backend
    keyrings.sort(key = lambda x: -x.supported())
  File "/usr/local/lib/python2.7/dist-packages/keyring/", line 65, in <lambda>
    keyrings.sort(key = lambda x: -x.supported())
  File "/usr/local/lib/python2.7/dist-packages/keyring/backends/", line 18, in supported
    bus = secretstorage.dbus_init()
  File "/usr/lib/python2.7/dist-packages/secretstorage/", line 42, in dbus_init
    return dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/", line 211, in __new__
  File "/usr/lib/python2.7/dist-packages/dbus/", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

Same error if I try to invoke a keystone command from the shell.

A idea ?

Thanks a lot.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-28 03:51:45 -0600

c-mutz gravatar image

updated 2014-05-28 04:08:17 -0600

I find my error.

apt-get remove python-secretstorage
su stack
cd ~

That worked.

Is It a bug ?


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-21 11:34:53 -0600

Seen: 387 times

Last updated: May 28 '14