Install Openstack error

asked 2014-10-01 02:05:27 -0600

jokohp gravatar image

Dear All, I try to install openstack using centos 6.5 and from documentation ( When i want to install the keystone, it was error when doing:

[root@controller ~]# su -s /bin/sh -c "keystone-manage db_sync" keystone Traceback (most recent call last): File "/usr/bin/keystone-manage", line 37, in <module> from keystone import cli File "/usr/lib/python2.6/site-packages/keystone/", line 21, in <module> from keystone.common import openssl File "/usr/lib/python2.6/site-packages/keystone/common/", line 18, in <module> from keystone.common import environment File "/usr/lib/python2.6/site-packages/keystone/common/environment/", line 20, in <module> from keystone.openstack.common import log File "/usr/lib/python2.6/site-packages/keystone/openstack/common/", line 435, in <module> class LogConfigError(Exception): File "/usr/lib/python2.6/site-packages/keystone/openstack/common/", line 437, in LogConfigError message = _('Error loading logging config %(log_config)s: %(err_msg)s') File "/usr/lib/python2.6/site-packages/keystone/openstack/common/", line 68, in _ return Message(msg, domain='keystone') File "/usr/lib/python2.6/site-packages/keystone/openstack/common/", line 168, in __new__ msgtext = Message._translate_msgid(msgid, domain) File "/usr/lib/python2.6/site-packages/keystone/openstack/common/", line 207, in _translate_msgid system_locale = locale.getdefaultlocale() File "/usr/lib64/python2.6/", line 478, in getdefaultlocale return _parse_localename(localename) File "/usr/lib64/python2.6/", line 410, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: UTF-8

Please help how to troubleshoot this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-01 05:54:09 -0600

You can change LC_ALL local variable to force every applications use your enforced language:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

Or try this one:

export LC_ALL="en_GB.utf8"

Hint: Be cautious for every applications on your system(If existed) that use languages other than what you prompt by setting LC_ALL variable(e.g. chines, ...).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-01 02:03:42 -0600

Seen: 1,093 times

Last updated: Oct 01 '14