Ask Your Question
1

Install devstack with xenserver failed

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

c-mutz gravatar image

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

Hello,

I used Xenserver 6.2 fresh install. I'm trying to install devstack with script install_os_domU.sh. 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 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.

A idea ?

Thanks a lot.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

c-mutz gravatar image

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

I find my error. https://bugs.launchpad.net/python-secretstorage/+bug/1301884

apt-get remove python-secretstorage
su stack
cd ~
./run.sh

That worked.

Is It a bug ?

Thanks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
1 follower

Stats

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

Seen: 145 times

Last updated: May 28 '14