Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Apex under-cloud installation failing becuase Locale

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 1 instead of one of [0]

Do you know how to fix it in the distribution?

Apex under-cloud installation failing becuase because Locale

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 1 instead of one of [0]

Do you know how to fix it in the distribution?