I am still getting this.  I have the most recent keyring:

$ pip show keyring
---
Name: keyring
Version: 3.4
Location: /usr/local/lib/python2.7/dist-packages
Requires: 


This is a DevStack install of OpenStack onto an Ubuntu 13.10 machine.  This 
shows the vintage of the python-keystoneclient (it was around Feb 12):

$ git branch -v
* master 5b3342d Merge "Fix debug curl commands for included data"


Here is a typescript showing the problem happening:

$ keystone help
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 37, 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 
19, in <module>
    from keystoneclient import httpclient
  File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 
29, in <module>
    import keyring
  File "/usr/local/lib/python2.7/dist-packages/keyring/__init__.py", line 12, 
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 180, in 
<module>
    init_backend()
  File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 59, in 
init_backend
    set_keyring(load_config() or _get_best_keyring())
  File "/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 67, in 
_get_best_keyring
    keyrings = backend.get_all_keyring()
  File "/usr/local/lib/python2.7/dist-packages/keyring/util/__init__.py", line 
24, in wrapper
    func.always_returns = func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keyring/backend.py", line 127, 
in get_all_keyring
    exceptions=TypeError))
  File "/usr/local/lib/python2.7/dist-packages/keyring/util/__init__.py", line 
35, in suppress_exceptions
    for callable in callables:
  File "/usr/local/lib/python2.7/dist-packages/keyring/backend.py", line 119, 
in is_class_viable
    keyring_cls.priority
  File "/usr/local/lib/python2.7/dist-packages/keyring/util/properties.py", 
line 22, in __get__
    return self.fget.__get__(None, owner)()
  File 
"/usr/local/lib/python2.7/dist-packages/keyring/backends/SecretService.py", 
line 29, in priority
    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


** Changed in: python-keystoneclient (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242992

Title:
  Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-openstackclient/+bug/1242992/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to