Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508150 - sys-auth/keystone-9999 - pkg_config(): ImportError: cannot import name messaging
Summary: sys-auth/keystone-9999 - pkg_config(): ImportError: cannot import name messaging
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-19 17:43 UTC by Thomas Capricelli
Modified: 2014-04-21 01:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2014-04-19 17:43:42 UTC
just installed sys-auth/keystone-9999 as of today, and it tells me :
 * You might want to run:
 * emerge --config =sys-auth/keystone-9999
 * if this is a new install.

So i did (first install), and it fails with :

%  emerge --config =sys-auth/keystone-9999


Ready to configure sys-auth/keystone-9999? [Yes/No] yes

 * Press ENTER to configure the keystone PKI, or Control-C to abort now...

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/keystone-manage", line 37, in <module>
    from keystone import cli
  File "/usr/lib64/python2.7/site-packages/keystone/cli.py", line 27, in <module>
    from keystone import token
  File "/usr/lib64/python2.7/site-packages/keystone/token/__init__.py", line 15, in <module>
    from keystone.token import controllers  # noqa
  File "/usr/lib64/python2.7/site-packages/keystone/token/controllers.py", line 21, in <module>
    from keystone.common import controller
  File "/usr/lib64/python2.7/site-packages/keystone/common/controller.py", line 18, in <module>
    from keystone.common import authorization
  File "/usr/lib64/python2.7/site-packages/keystone/common/authorization.py", line 19, in <module>
    from keystone.contrib import federation
  File "/usr/lib64/python2.7/site-packages/keystone/contrib/federation/__init__.py", line 15, in <module>
    from keystone.contrib.federation.core import *  # noqa
  File "/usr/lib64/python2.7/site-packages/keystone/contrib/federation/core.py", line 19, in <module>
    from keystone.common import dependency
  File "/usr/lib64/python2.7/site-packages/keystone/common/dependency.py", line 29, in <module>
    from keystone import notifications
  File "/usr/lib64/python2.7/site-packages/keystone/notifications.py", line 21, in <module>
    from oslo import messaging
ImportError: cannot import name messaging

Reproducible: Always
Comment 1 Thomas Capricelli 2014-04-19 17:45:52 UTC
keystone ebuilds all depend on "oslo-config". I checked and it is installed on my system, i don't see any probleme. From ipython

"import oslo" works
"oslo.<tab>" gives nothing (auto-completion)
"oslo.messaging" gives an error :

AttributeError: 'module' object has no attribute 'messaging'
Comment 2 Thomas Capricelli 2014-04-19 17:50:28 UTC
Just tested with sys-auth/keystone-2013.2.3-r1 instead, and this one works well. I didn't unmask or keywords anything, keystone-9999 is what you get by default on a ~amd64 system.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-04-21 01:13:40 UTC
we don't support 9999 releases, also it'll get updated when I update everything to icehouse
Comment 4 Mike Gilbert gentoo-dev 2014-04-21 01:30:38 UTC
+  21 Apr 2014; Mike Gilbert <floppym@gentoo.org> keystone-2013.2.9999.ebuild,
+  keystone-9999.ebuild:
+  Drop KEYWORDS on live ebuilds, bug 508150.