ImportError: cannot import name i18n

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

kennethham gravatar image

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

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: 10.xxx.217.xxx_keystone.pp
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/10.xxx.217.xxx_keystone.pp.log
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 10.xxx.217.xxx. To use the command line tools you need to source the file.
edit retag flag offensive close merge delete

Comments

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

dbaxps gravatar imagedbaxps ( 2015-07-15 01:32:22 -0500 )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 -0500 )edit

Have you CONFIG_KEYSTONE_SERVICE_NAME=httpd ?

dbaxps gravatar imagedbaxps ( 2015-07-15 02:22:10 -0500 )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 -0500 )edit

Check what is CONFIG_KEYSTONE_SERVICE_NAME in answer-file.

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