2013-10-22 02:23:44 |
Lorin Hochstein |
description |
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 (server edition) 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. |
|