<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">&lt;<a href="mailto:jon@rosslug.org.uk" target="_blank">jon@rosslug.org.uk</a>&gt;</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&#39;m seeing with the upgrade process from 3.5 to 3.6 b5.<br>
<br>
when running engine-setup on the hosted-engine I&#39;m seeing an error saying that lc_messages should be en_US.utf8.<br>
<br>
problem is that isn&#39;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: [{&#39;lc_messages&#39;: &#39;en_GB.UTF-8&#39;}]<br>
2015-09-14 00:05:29 DEBUG otopi.ovirt_engine_setup.engine_common.database database._checkDbConf:914 Mismatch: key=&#39;lc_messages&#39;, current=&#39;en_GB.UTF-8&#39;, expected=&#39;&#39;en_US.UTF-8&#39;&#39;<br>
2015-09-14 00:05:29 DEBUG otopi.context context._executeMethod:152 method exception<br>
Traceback (most recent call last):<br>
  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 142, in _executeMethod<br>
    method[&#39;method&#39;]()<br>
  File &quot;/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/connection.py&quot;, line 115, in _customization<br>
    show_create_msg=True,<br>
  File &quot;/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py&quot;, line 1174, in getCredentials<br>
    self._checkDbConf(environment=dbenv, name=name)<br>
  File &quot;/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/database.py&quot;, line 922, in _checkDbConf<br>
    name=name<br>
RuntimeError: Engine requires lc_messages to be &#39;en_US.UTF-8&#39;. Please fix lc_messages before you continue.<br>
2015-09-14 00:05:29 ERROR otopi.context context._executeMethod:161 Failed to execute stage &#39;Environment customization&#39;: Engine requires lc_messages to be &#39;en_US.UTF-8&#39;. 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:&#39;True&#39;<br>
2015-09-14 00:05:29 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/exceptionInfo=list:&#39;[(&lt;type &#39;exceptions.RuntimeError&#39;&gt;, RuntimeError(&quot;Engine requires lc_messages to be &#39;en_US.UTF-8&#39;. Please fix lc_messages before you continue.&quot;,), &lt;traceback object at 0x6c0e3b0&gt;)]&#39;<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>