On Mon, Jun 11, 2018 at 6:34 PM, Michael Watters <wattersm(a)watters.ws> wrote:
I actually managed to fix it. The ovirt-engine package was still on
version
4.1,
That's normal. 'engine-setup' should upgrade the engine if it's
successful.
after running yum update to upgrade everything to version 4.2 the
engine-setup script was able to upgrade postgresql.
I assume you disabled the versionlock plugin? That's generally not a
good idea, although I didn't try this for a long time now. If you left
the engine down, it might not be a big risk. Otherwise, you ran a new
engine (4.2) against an old database, which is not supposed to work
well.
On 06/11/2018 11:31 AM, Simone Tiraboschi wrote:
On Mon, Jun 11, 2018 at 4:31 PM, Michael Watters <wattersm(a)watters.ws>
wrote:
>
> After installing the ovirt 4.2 repository and running engine-setup the
> upgrade script fails with an error as shown below.
>
> [ ERROR ] Postgresql client version is '9.5.9', whereas the version on
> 'localhost' is '9.2.23'. Please use a PostgreSQL server of version
> '9.5.9'.
The message will be fixed in 4.2.4:
https://bugzilla.redhat.com/1578276
> Please note the following required changes in
postgresql.conf
> on 'localhost':
>
> postgresql.conf is usually in /var/lib/pgsql/data,
> /var/opt/rh/rh-postgresql95/lib/pgsql/data, or somewhere under
> /etc/postgresql* . You have to restart PostgreSQL after making these
> changes.
> Engine database host []:
This is a bit weird. We'll need setup logs, if we want to try to understand
what happened.
>
>
> The setup script is supposed to take care of this automatically however
> it fails before even attempting to upgrade postgres. Does anybody know
> how to work around this?
Yes, engine-setup is supposed to care of it by itself if the DBMS is on the
same machine as in your case.
Can you please attach setup logs?
Thanks for the report!
Best regards,
--
Didi