ImportError of i18n under oslo.i18n

Bug #1440478 reported by nitesh jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned

Bug Description

When I am trying to build keystone I am encountering the following problem and on opening site-packages I couldn't find anything the folder.

Error:

File "/usr/lib/python2.7/keystone/.venv/lib/python2.7/site-packages/keystoneclient/openstack/common/_i18n.py", line 19, in <module>
    import oslo.i18n
ImportError: No module named i18n

Please guide me.Thanks.

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

What do you mean by building keystone?

The error seems referencing to missing oslo.i18n package, check if you virtual environment have: /usr/lib/python2.7/keystone/.venv/lib/python2.7/site-packages/oslo.i18n

This seems more of a setup issue, and not a bug. Please post your question to https://ask.openstack.org

Changed in keystone:
status: New → Invalid
Revision history for this message
nitesh jain (niteshcsenit) wrote : Re: [Bug 1440478] Re: ImportError of i18n under oslo.i18n

I am actually facing this problem when i run keystone-all..

Traceback (most recent call last):
  File "bin/keystone-all", line 32, in <module>
    from keystone.server import eventlet as eventlet_server
  File "/keystone/keystone/server/eventlet.py", line 20, in <module>
    from oslo_concurrency import processutils
ImportError: No module named oslo_concurrency

On Tue, Apr 7, 2015 at 12:16 PM, Lin Hua Cheng <email address hidden>
wrote:

> What do you mean by building keystone?
>
> The error seems referencing to missing oslo.i18n package, check if you
> virtual environment have:
> /usr/lib/python2.7/keystone/.venv/lib/python2.7/site-packages/oslo.i18n
>
> This seems more of a setup issue, and not a bug. Please post your
> question to https://ask.openstack.org
>
> ** Changed in: keystone
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1440478
>
> Title:
> ImportError of i18n under oslo.i18n
>
> Status in OpenStack Identity (Keystone):
> Invalid
>
> Bug description:
> When I am trying to build keystone I am encountering the following
> problem and on opening site-packages I couldn't find anything the
> folder.
>
> Error:
>
> File
> "/usr/lib/python2.7/keystone/.venv/lib/python2.7/site-packages/keystoneclient/openstack/common/_i18n.py",
> line 19, in <module>
> import oslo.i18n
> ImportError: No module named i18n
>
> Please guide me.Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/keystone/+bug/1440478/+subscriptions
>

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

the oslo packages are not installed correctly.

I suggest when posting your question, provide as much details as you can so that people can understand your setup. Like version of keystone, what command are you running, how are you running it, enviroment: devstack or custom deployment, stacktrace in the log, etc. You'll get response faster that way.

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.