On Mon, Sep 14, 2015 at 1:13 AM, Jon Archer <jon@rosslug.org.uk> wrote:
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?

No, this is by design, see https://bugzilla.redhat.com/1176457 for more references.


 

Thanks

Jon
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com