Tried to install Openstack using devstack on saucy inside of vagrant, and got the following error:
++ keystone tenant-create --name admin
Traceback (most recent call last):
File "/usr/local/bin/keystone", line 6, in <module>
from keystoneclient.shell import main
File "/opt/stack/python-keystoneclient/keystoneclient/shell.py", line 36, in <module>
from keystoneclient.contrib.bootstrap import shell as shell_bootstrap
File "/opt/stack/python-keystoneclient/keystoneclient/contrib/bootstrap/shell.py", line 16, in <module>
from keystoneclient.v2_0 import client
File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/__init__.py", line 2, in <module>
from keystoneclient.v2_0.client import Client
File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/client.py", line 18, in <module>
from keystoneclient import httpclient
File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 32, in <module>
import keyring
File "/usr/local/lib/python2.7/dist-packages/keyring/__init__.py", line 9, in <module>
from core import (set_keyring, get_keyring, set_password, get_password,
File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 166, in <module>
init_backend()
File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 65, in init_backend
keyrings.sort(key = lambda x: -x.supported())
File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 65, in <lambda>
keyrings.sort(key = lambda x: -x.supported())
File "/usr/local/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 18, in supported
bus = secretstorage.dbus_init()
File "/usr/lib/python2.7/dist-packages/secretstorage/__init__.py", line 42, in dbus_init
return dbus.SessionBus()
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", 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.
Tried to install Openstack using devstack on saucy inside of vagrant, and got the following error:
++ keystone tenant-create --name admin bin/keystone" , line 6, in <module> shell import main python- keystoneclient/ keystoneclient/ shell.py" , line 36, in <module> contrib. bootstrap import shell as shell_bootstrap python- keystoneclient/ keystoneclient/ contrib/ bootstrap/ shell.py" , line 16, in <module> python- keystoneclient/ keystoneclient/ v2_0/__ init__. py", line 2, in <module> v2_0.client import Client python- keystoneclient/ keystoneclient/ v2_0/client. py", line 18, in <module> python- keystoneclient/ keystoneclient/ httpclient. py", line 32, in <module> lib/python2. 7/dist- packages/ keyring/ __init_ _.py", line 9, in <module> lib/python2. 7/dist- packages/ keyring/ core.py" , line 166, in <module> lib/python2. 7/dist- packages/ keyring/ core.py" , line 65, in init_backend sort(key = lambda x: -x.supported()) lib/python2. 7/dist- packages/ keyring/ core.py" , line 65, in <lambda> sort(key = lambda x: -x.supported()) lib/python2. 7/dist- packages/ keyring/ backends/ SecretService. py", line 18, in supported dbus_init( ) python2. 7/dist- packages/ secretstorage/ __init_ _.py", line 42, in dbus_init python2. 7/dist- packages/ dbus/_dbus. py", line 211, in __new__ mainloop) python2. 7/dist- packages/ dbus/_dbus. py", line 100, in __new__ __new__ (subclass, bus_type, mainloop=mainloop) python2. 7/dist- packages/ dbus/bus. py", line 122, in __new__ for_bus( address_ or_type, mainloop=mainloop) .DBusException: org.freedesktop .DBus.Error. NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Traceback (most recent call last):
File "/usr/local/
from keystoneclient.
File "/opt/stack/
from keystoneclient.
File "/opt/stack/
from keystoneclient.v2_0 import client
File "/opt/stack/
from keystoneclient.
File "/opt/stack/
from keystoneclient import httpclient
File "/opt/stack/
import keyring
File "/usr/local/
from core import (set_keyring, get_keyring, set_password, get_password,
File "/usr/local/
init_backend()
File "/usr/local/
keyrings.
File "/usr/local/
keyrings.
File "/usr/local/
bus = secretstorage.
File "/usr/lib/
return dbus.SessionBus()
File "/usr/lib/
mainloop=
File "/usr/lib/
bus = BusConnection.
File "/usr/lib/
bus = cls._new_
dbus.exceptions
Same error if I try to invoke a keystone command from the shell.