Keyring Broken may be Mac only thing

Bug #1271987 reported by Terry Howe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Terry Howe

Bug Description

(.venv)Terrys-MacBook-Pro:openstackclient terry$ openstack image list --debug
ERROR: cliff.app 'str' object has no attribute 'core'
Traceback (most recent call last):
  File "/Users/terry/hp/openstackclient/.venv/lib/python2.7/site-packages/cliff/app.py", line 275, in run_subcommand
    self.prepare_to_run_command(cmd)
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 418, in prepare_to_run_command
    self.authenticate_user()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 269, in authenticate_user
    self.get_password_from_keyring()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 320, in get_password_from_keyring
    backend = self.init_keyring_backend()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 314, in init_keyring_backend
    return openstackkeyring.os_keyring()
  File "/Users/terry/hp/openstackclient/openstackclient/common/openstackkeyring.py", line 60, in os_keyring
    return keyring.core.load_keyring(None, keyring)
AttributeError: 'str' object has no attribute 'core'
ERROR: openstackclient.shell Traceback (most recent call last):
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 125, in run
    return super(OpenStackShell, self).run(argv)
  File "/Users/terry/hp/openstackclient/.venv/lib/python2.7/site-packages/cliff/app.py", line 217, in run
    result = self.run_subcommand(remainder)
  File "/Users/terry/hp/openstackclient/.venv/lib/python2.7/site-packages/cliff/app.py", line 275, in run_subcommand
    self.prepare_to_run_command(cmd)
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 418, in prepare_to_run_command
    self.authenticate_user()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 269, in authenticate_user
    self.get_password_from_keyring()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 320, in get_password_from_keyring
    backend = self.init_keyring_backend()
  File "/Users/terry/hp/openstackclient/openstackclient/shell.py", line 314, in init_keyring_backend
    return openstackkeyring.os_keyring()
  File "/Users/terry/hp/openstackclient/openstackclient/common/openstackkeyring.py", line 60, in os_keyring
    return keyring.core.load_keyring(None, keyring)
AttributeError: 'str' object has no attribute 'core'

(.venv)Terrys-MacBook-Pro:openstackclient terry$

Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/68687

Revision history for this message
Terry Howe (thowe-g) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/68687
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=bc2395eb473a203d11df52d48968b6ab61e2c95e
Submitter: Jenkins
Branch: master

commit bc2395eb473a203d11df52d48968b6ab61e2c95e
Author: Terry Howe <email address hidden>
Date: Thu Jan 23 09:33:06 2014 -0700

    Fix keyring issue where there were name space problems

    The import of keyring conflicted with a string named keyring

    Change-Id: I7416ea1cf453a126dd03dba8bc2900cad35ed2da
    Closes-bug: #1271987

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m3
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.