nova command failing with no keyring daemon error

Bug #1154634 reported by Jose Castro Leon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Davanum Srinivas (DIMS)

Bug Description

When nova is launched from a session without gnome-keyring-daemon running aka terminal,
nova command failed with 'NoKeyringDaemonError'

$ nova --debug list

** (process:22817): WARNING **: g_set_application_name not set.
DEBUG (shell:739)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 736, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 634, in main
    tenant_id, auth_token, management_url = (helper.tenant_id,
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 183, in tenant_id
    block = keyring.get_password('novaclient_auth', self._make_key())
  File "/usr/lib/python2.6/site-packages/keyring/core.py", line 34, in get_password
    return _keyring_backend.get_password(service_name, username)
  File "/usr/lib/python2.6/site-packages/keyring/backend.py", line 154, in get_password
    items = gnomekeyring.find_network_password_sync(username, service)
NoKeyringDaemonError
ERROR:

This happens with python-novaclient-2.11.1-2.el6 on rhel6

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Changed in python-novaclient:
status: New → In Progress
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
Revision history for this message
Neela Shah (neela) wrote :

Should this be backported to grizzly? Seems to be a problem there as well.

tags: added: grizzly-backport-potential
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

@Neela:

There are no maintained stable branches of the client libraries, removing the 'grizzly-backport-potential'. I'd recommend using a more recent package that includes the fix merged to master.

tags: removed: grizzly-backport-potential
Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.18.0
Michael Still (mikal)
Changed in python-novaclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.