<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 1:13 AM, Jon Archer <span dir="ltr"><<a href="mailto:jon@rosslug.org.uk" target="_blank">jon@rosslug.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all,<br>
<br>
just wanted to share an error i'm seeing with the upgrade process from 3.5 to 3.6 b5.<br>
<br>
when running engine-setup on the hosted-engine I'm seeing an error saying that lc_messages should be en_US.utf8.<br>
<br>
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<br>
<br>
Install log shows the following<br>
<br>
2015-09-14 00:05:29 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:221 Result: [{'lc_messages': 'en_GB.UTF-8'}]<br>
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''<br>
2015-09-14 00:05:29 DEBUG otopi.context context._executeMethod:152 method exception<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod<br>
method['method']()<br>
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/connection.py", line 115, in _customization<br>
show_create_msg=True,<br>
File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py", line 1174, in getCredentials<br>
self._checkDbConf(environment=dbenv, name=name)<br>
File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py", line 922, in _checkDbConf<br>
name=name<br>
RuntimeError: Engine requires lc_messages to be 'en_US.UTF-8'. Please fix lc_messages before you continue.<br>
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.<br>
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:490 ENVIRONMENT DUMP - BEGIN<br>
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/error=bool:'True'<br>
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>)]'<br>
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:504 ENVIRONMENT DUMP - END<br>
<br>
<br>
Should i file a bugzilla?<br></blockquote><div><br></div><div>No, this is by design, see <a href="https://bugzilla.redhat.com/1176457">https://bugzilla.redhat.com/1176457</a> for more references.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Thanks<br>
<br>
Jon<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</div></div>