[ovirt-users] Failed upgrade from 4.1.9 to 4.2.x
nicolas at devels.es
nicolas at devels.es
Mon Feb 5 14:08:36 UTC 2018
El 2018-02-05 14:03, Simone Tiraboschi escribió:
> On Mon, Feb 5, 2018 at 2:46 PM, <nicolas at devels.es> wrote:
>> 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  we run the
>> 'engine-setup' command and it fails with:
>> [ INFO ] Rolling back to the previous PostgreSQL instance
>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to
>> [ INFO ] Yum Performing yum transaction rollback
>> [ INFO ] Stage: Clean up
>> Log file is located at
>> [ INFO ] Generating answer file
>> '/var/lib/ovirt-engine/setup/answers/20180205133354-setup.co nf'
>> [ INFO ] Stage: Pre-termination
>> [ INFO ] Stage: Termination
>> [ ERROR ] Execution of setup failed
>> As of the
>> file I could see this:
>> * upgrading from 'postgresql.service' to
>> 'rh-postgresql95-postgresql.se rvice'
>> * Upgrading database.
>> ERROR: pg_upgrade tool failed
>> ERROR: Upgrade failed.
>> * See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log for
>> And this file contains this information:
>> Performing Consistency Checks
>> Checking cluster versions
>> Checking database user is the install user
>> Checking database connection settings
>> Checking for prepared transactions
>> Checking for reg* system OID user data types
>> Checking for contrib/isn with bigint-passing mismatch
>> Checking for invalid "line" user columns
>> Creating dump of global objects
>> Creating dump of database schemas
>> Checking for presence of required libraries
>> Your installation references loadable libraries that are missing
>> from the
>> new installation. You can add these libraries to the new
>> or remove the functions using them from the old installation.
>> A list of
>> problem libraries is in the file:
>> Failure, exiting
>> 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).
>> Could someone shed some light on this error and how to debug it?
> can you please attach also loadable_libraries.txt ?
Could not load library "$libdir/plpython2"
ERROR: could not access file "$libdir/plpython2": No such file or
Well, definitely it has to do with the triggers... The trigger uses
plpython2u to replicate some entries in a different database. Is there a
way I can get rid of this error other than disabling plpython2 before
upgrading and re-enabling it after the upgrade?
>> : https://www.ovirt.org/release/4.2.0/ 
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users 
>  http://20180205133354-setup.co
>  http://rh-postgresql95-postgresql.se
>  https://www.ovirt.org/release/4.2.0/
>  http://lists.ovirt.org/mailman/listinfo/users
More information about the Users