Ask Your Question
0

Apex under-cloud installation failing because Locale

asked 2016-07-21 10:48:16 -0800

jmguzmanc@gmail.com gravatar image

updated 2016-07-21 11:28:49 -0800

During the undercloud installation, with Apex, the installation is failing because an "unknown locale: UTF-8"

Notice: /Stage[main]/Heat::Deps/Anchor[heat::db::end]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Heat::Deps/Anchor[heat::dbsync::begin]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/bin/heat-manage", line 6, in <module>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     from heat.cmd.manage import main
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/heat/cmd/manage.py", line 23, in <module>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     from oslo_log import log
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 50, in <module>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     from oslo_log import _options
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_log/_options.py", line 17, in <module>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     from oslo_log import versionutils
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_log/versionutils.py", line 52, in <module>
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     class deprecated(object):
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_log/versionutils.py", line 125, in deprecated
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     '%(what)s is deprecated as of %(as_of)s in favor of '
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_i18n/_factory.py", line 83, in f
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     return _message.Message(msg, domain=domain)
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_i18n/_message.py", line 59, in __new__
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     msgtext = Message._translate_msgid(msgid, domain)
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib/python2.7/site-packages/oslo_i18n/_message.py", line 103, in _translate_msgid
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     system_locale = locale.getdefaultlocale()
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib64/python2.7/locale.py", line 511, in getdefaultlocale
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     return _parse_localename(localename)
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:   File "/usr/lib64/python2.7/locale.py", line 443, in _parse_localename
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns:     raise ValueError, 'unknown locale: %s' % localename
Notice: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]/returns: ValueError: unknown locale: UTF-8
Error: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]: Failed to call refresh: heat-manage --config-file /etc/heat/heat.conf db_sync returned 1 instead of one of [0]
Error: /Stage[main]/Heat::Db::Sync/Exec[heat-dbsync]: heat-manage --config-file /etc/heat/heat.conf db_sync returned ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-22 09:12:41 -0800

trozet gravatar image

updated 2016-11-22 09:14:03 -0800

https://jira.opnfv.org/browse/APEX-211

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2016-07-21 10:48:16 -0800

Seen: 2,197 times

Last updated: Nov 22 '16