[ovirt-users] lc_messages issue in 3.6 beta 5 upgrade

Jon Archer jon at rosslug.org.uk
Sun Sep 13 23:13:07 UTC 2015


Hi all,

just wanted to share an error i'm seeing with the upgrade process from 
3.5 to 3.6 b5.

when running engine-setup on the hosted-engine I'm seeing an error 
saying that lc_messages should be en_US.utf8.

problem is that isn't my locale, nor would it be the case in quite a lot 
of other installations. My lc_messages is set to en_GB.utf8

Install log shows the following

2015-09-14 00:05:29 DEBUG 
otopi.ovirt_engine_setup.engine_common.database database.execute:221 
Result: [{'lc_messages': 'en_GB.UTF-8'}]
2015-09-14 00:05:29 DEBUG 
otopi.ovirt_engine_setup.engine_common.database 
database._checkDbConf:914 Mismatch: key='lc_messages', 
current='en_GB.UTF-8', expected=''en_US.UTF-8''
2015-09-14 00:05:29 DEBUG otopi.context context._executeMethod:152 
method exception
Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, 
in _executeMethod
     method['method']()
   File 
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/connection.py", 
line 115, in _customization
     show_create_msg=True,
   File 
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py", 
line 1174, in getCredentials
     self._checkDbConf(environment=dbenv, name=name)
   File 
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py", 
line 922, in _checkDbConf
     name=name
RuntimeError: Engine requires lc_messages to be 'en_US.UTF-8'. Please 
fix lc_messages before you continue.
2015-09-14 00:05:29 ERROR otopi.context context._executeMethod:161 
Failed to execute stage 'Environment customization': Engine requires 
lc_messages to be 'en_US.UTF-8'. Please fix lc_messages before you continue.
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:490 
ENVIRONMENT DUMP - BEGIN
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:500 ENV 
BASE/error=bool:'True'
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:500 ENV 
BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, 
RuntimeError("Engine requires lc_messages to be 'en_US.UTF-8'. Please 
fix lc_messages before you continue.",), <traceback object at 0x6c0e3b0>)]'
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:504 
ENVIRONMENT DUMP - END


Should i file a bugzilla?

Thanks

Jon



More information about the Users mailing list