[Bug 1260017] [NEW] UncryptedFileKeyring broken

Scott Moser smoser at ubuntu.com
Wed Dec 11 17:20:41 UTC 2013


Public bug reported:

$ cat .local/share/python_keyring/keyringrc.cfg 
[backend]
default-keyring=keyring.backend.UncryptedFileKeyring

$ nova boot --flavor=m1.tiny --image=882f8369-b7ae-41bb-bdb3-28c2588eabfe inst-20131211-171805Traceback (most recent call last):
  File "/usr/bin/nova", line 6, in <module>
    from novaclient.shell import main
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 38, in <module>
    import keyring
  File "/usr/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/lib/python2.7/dist-packages/keyring/core.py", line 180, in <module>
    init_backend()
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 59, in init_backend
    set_keyring(load_config() or _get_best_keyring())
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 130, in load_config
    keyring = load_keyring(None, keyring_name)
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 89, in load_keyring
    class_ = getattr(module, class_name)
AttributeError: 'module' object has no attribute 'UncryptedFileKeyring'

$ dpkg-query --show python-keyring python-novaclient
python-keyring  3.3-1
python-novaclient       1:2.15.0-0ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-keyring 3.3-1
ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
Uname: Linux 3.12.0-5-generic x86_64
ApportVersion: 2.12.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Dec 11 12:15:39 2013
InstallationDate: Installed on 2011-10-19 (784 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
SourcePackage: python-keyring
UpgradeStatus: Upgraded to trusty on 2013-05-20 (205 days ago)

** Affects: python-keyring (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug trusty

** Changed in: python-keyring (Ubuntu)
       Status: New => Confirmed

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

Title:
  UncryptedFileKeyring broken

Status in “python-keyring” package in Ubuntu:
  Confirmed

Bug description:
  $ cat .local/share/python_keyring/keyringrc.cfg 
  [backend]
  default-keyring=keyring.backend.UncryptedFileKeyring

  $ nova boot --flavor=m1.tiny --image=882f8369-b7ae-41bb-bdb3-28c2588eabfe inst-20131211-171805Traceback (most recent call last):
    File "/usr/bin/nova", line 6, in <module>
      from novaclient.shell import main
    File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 38, in <module>
      import keyring
    File "/usr/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/lib/python2.7/dist-packages/keyring/core.py", line 180, in <module>
      init_backend()
    File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 59, in init_backend
      set_keyring(load_config() or _get_best_keyring())
    File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 130, in load_config
      keyring = load_keyring(None, keyring_name)
    File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 89, in load_keyring
      class_ = getattr(module, class_name)
  AttributeError: 'module' object has no attribute 'UncryptedFileKeyring'

  $ dpkg-query --show python-keyring python-novaclient
  python-keyring  3.3-1
  python-novaclient       1:2.15.0-0ubuntu1

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python-keyring 3.3-1
  ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
  Uname: Linux 3.12.0-5-generic x86_64
  ApportVersion: 2.12.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Dec 11 12:15:39 2013
  InstallationDate: Installed on 2011-10-19 (784 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  SourcePackage: python-keyring
  UpgradeStatus: Upgraded to trusty on 2013-05-20 (205 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1260017/+subscriptions



More information about the foundations-bugs mailing list