<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 5, 2018 at 2:46 PM, <span dir="ltr"><<a href="mailto:nicolas@devels.es" target="_blank">nicolas@devels.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
We're trying to upgrade from 4.1.9 to 4.2.x and we're bumping into an error we don't know how to solve. As per [1] we run the 'engine-setup' command and it fails with:<br>
<br>
[ INFO ] Rolling back to the previous PostgreSQL instance (postgresql).<br>
[ ERROR ] Failed to execute stage 'Misc configuration': Command '/opt/rh/rh-postgresql95/root/<wbr>usr/bin/postgresql-setup' failed to execute<br>
[ INFO ] Yum Performing yum transaction rollback<br>
[ INFO ] Stage: Clean up<br>
Log file is located at /var/log/ovirt-engine/setup/ov<wbr>irt-engine-setup-2018020513311<wbr>6-sm2xd1.log<br>
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/a<wbr>nswers/<a href="http://20180205133354-setup.co">20180205133354-setup.co</a><wbr>nf'<br>
[ INFO ] Stage: Pre-termination<br>
[ INFO ] Stage: Termination<br>
[ ERROR ] Execution of setup failed<br>
<br>
As of the /var/log/ovirt-engine/setup/ov<wbr>irt-engine-setup-2018020513311<wbr>6-sm2xd1.log file I could see this:<br>
<br>
* upgrading from 'postgresql.service' to '<a href="http://rh-postgresql95-postgresql.se">rh-postgresql95-postgresql.se</a><wbr>rvice'<br>
* Upgrading database.<br>
ERROR: pg_upgrade tool failed<br>
ERROR: Upgrade failed.<br>
* See /var/lib/pgsql/upgrade_rh-post<wbr>gresql95-postgresql.log for details.<br>
<br>
And this file contains this information:<br>
<br>
Performing Consistency Checks<br>
-----------------------------<br>
Checking cluster versions ok<br>
Checking database user is the install user ok<br>
Checking database connection settings ok<br>
Checking for prepared transactions ok<br>
Checking for reg* system OID user data types ok<br>
Checking for contrib/isn with bigint-passing mismatch ok<br>
Checking for invalid "line" user columns ok<br>
Creating dump of global objects ok<br>
Creating dump of database schemas<br>
django<br>
engine<br>
ovirt_engine_history<br>
postgres<br>
template1<br>
ok<br>
Checking for presence of required libraries fatal<br>
<br>
Your installation references loadable libraries that are missing from the<br>
new installation. You can add these libraries to the new installation,<br>
or remove the functions using them from the old installation. A list of<br>
problem libraries is in the file:<br>
loadable_libraries.txt<br>
<br>
Failure, exiting<br>
<br>
I'm attaching full logs FWIW. Also, I'd like to mention that we created two custom triggers on the engine's 'users' table, but as I understand from the error this is not the issue (We upgraded several times within the same minor and we had no issues with that).<br>
<br>
Could someone shed some light on this error and how to debug it?<br></blockquote><div><br></div><div>Hi,</div><div>can you please attach also loadable_libraries.txt ?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks.<br>
<br>
[1]: <a href="https://www.ovirt.org/release/4.2.0/" rel="noreferrer" target="_blank">https://www.ovirt.org/release/<wbr>4.2.0/</a><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>