ImportError: cannot import name i18n

asked 2015-07-14 22:36:10 -0600

kennethham gravatar image

updated 2015-07-15 01:32:47 -0600

dbaxps gravatar image

I am deploying OpenStack with Packstack. This is the error I got. I have tried to pip install i18n and yum install the dependencies, but I am still getting this eror.

ERROR : Error appeared during Puppet run:
Notice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: ImportError: cannot import name i18n
You will find full trace in log /var/tmp/packstack/20150715-115533-qU0b15/manifests/
Please check log file /var/tmp/packstack/20150715-115533-qU0b15/openstack-setup.log for more information
Additional information:
 * File /root/keystonerc_admin has been created on OpenStack client host To use the command line tools you need to source the file.
edit retag flag offensive close merge delete


Would try yum install python-oslo-i18n and rerun packstack via created answer-file-xxxxxx.

dbaxps gravatar imagedbaxps ( 2015-07-15 01:32:22 -0600 )edit

Yes it has already been instaalled, and I am still getting the same issue. Any idea what could that be wrong?

kennethham gravatar imagekennethham ( 2015-07-15 01:55:46 -0600 )edit


dbaxps gravatar imagedbaxps ( 2015-07-15 02:22:10 -0600 )edit

No, where do I do that? Right now, I am using openstack-packstack to install based on an answer-file. So all those are automated which throws me an error.

Please advise what am I missing or I should do. Thank you

kennethham gravatar imagekennethham ( 2015-07-15 02:54:47 -0600 )edit

Check what is CONFIG_KEYSTONE_SERVICE_NAME in answer-file.

dbaxps gravatar imagedbaxps ( 2015-07-15 05:02:19 -0600 )edit