yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38199
[Bug 1492951] [NEW] Juno keystone installation fail to import oslo_i18n
Public bug reported:
Test keystone installation on stable/juno recently, but failed to import
module oslo_i18n
+ keystone-manage db_sync
Traceback (most recent call last):
File "/usr/bin/keystone-manage", line 30, in <module>
from keystone import cli
File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 22, in <module>
from keystone import assignment
File "/usr/lib/python2.7/site-packages/keystone/assignment/__init__.py", line 15, in <module>
from keystone.assignment import controllers # noqa
File "/usr/lib/python2.7/site-packages/keystone/assignment/controllers.py", line 26, in <module>
from keystone.common import controller
File "/usr/lib/python2.7/site-packages/keystone/common/controller.py", line 21, in <module>
from keystone.common import utils
File "/usr/lib/python2.7/site-packages/keystone/common/utils.py", line 26, in <module>
from oslo.utils import strutils
File "/usr/lib/python2.7/site-packages/oslo/utils/strutils.py", line 13, in <module>
from oslo_utils.strutils import * # noqa
File "/usr/lib/python2.7/site-packages/oslo_utils/strutils.py", line 26, in <module>
from oslo_utils._i18n import _
File "/usr/lib/python2.7/site-packages/oslo_utils/_i18n.py", line 21, in <module>
import oslo_i18n
ImportError: No module named oslo_i18n
I checked global requirements for stable/juno
http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt?h=stable/juno
I found oslo.utils is below
oslo.utils>=1.4.0,<1.5.0 # Apache-2.0
But oslo.i18n still below
oslo.i18n>=1.0.0,<=1.3.1 # Apache-2.0
And from requirements of oslo.utils 1.4.0
http://git.openstack.org/cgit/openstack/oslo.utils/tree/requirements.txt?id=1.4.0
If we install oslo.utils version 1.4.0, it will require oslo.i18n >= 1.3.0
oslo.i18n>=1.3.0 # Apache-2.0
So if we only install oslo.i18n 1.0.0, it will output can not find
module oslo_i18n
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1492951
Title:
Juno keystone installation fail to import oslo_i18n
Status in Keystone:
New
Bug description:
Test keystone installation on stable/juno recently, but failed to
import module oslo_i18n
+ keystone-manage db_sync
Traceback (most recent call last):
File "/usr/bin/keystone-manage", line 30, in <module>
from keystone import cli
File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 22, in <module>
from keystone import assignment
File "/usr/lib/python2.7/site-packages/keystone/assignment/__init__.py", line 15, in <module>
from keystone.assignment import controllers # noqa
File "/usr/lib/python2.7/site-packages/keystone/assignment/controllers.py", line 26, in <module>
from keystone.common import controller
File "/usr/lib/python2.7/site-packages/keystone/common/controller.py", line 21, in <module>
from keystone.common import utils
File "/usr/lib/python2.7/site-packages/keystone/common/utils.py", line 26, in <module>
from oslo.utils import strutils
File "/usr/lib/python2.7/site-packages/oslo/utils/strutils.py", line 13, in <module>
from oslo_utils.strutils import * # noqa
File "/usr/lib/python2.7/site-packages/oslo_utils/strutils.py", line 26, in <module>
from oslo_utils._i18n import _
File "/usr/lib/python2.7/site-packages/oslo_utils/_i18n.py", line 21, in <module>
import oslo_i18n
ImportError: No module named oslo_i18n
I checked global requirements for stable/juno
http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt?h=stable/juno
I found oslo.utils is below
oslo.utils>=1.4.0,<1.5.0 # Apache-2.0
But oslo.i18n still below
oslo.i18n>=1.0.0,<=1.3.1 # Apache-2.0
And from requirements of oslo.utils 1.4.0
http://git.openstack.org/cgit/openstack/oslo.utils/tree/requirements.txt?id=1.4.0
If we install oslo.utils version 1.4.0, it will require oslo.i18n >= 1.3.0
oslo.i18n>=1.3.0 # Apache-2.0
So if we only install oslo.i18n 1.0.0, it will output can not find
module oslo_i18n
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1492951/+subscriptions
Follow ups