[ovirt-users] Upgrade path from Fedora 20 oVirt 3.5 to Fedora 22 oVirt 3.6

David Marzal Canovas dmc at asambleamurcia.es
Thu Nov 12 10:26:25 EST 2015


Hi Sandro, thanks for the tips.

After a few problems, I think everything is working OK.

I already had an image of my server so I tried the path that you 
suggested and this is what I found:

yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
fedup --network 22 --product=server


This show a warning but the upgrade is successful :

WARNING: potential problems with upgrade
  ovirt-engine-backend-3.5.4.2-1.fc20.noarch (no replacement) requires 
vdsm-jsonrpc-java-1.0.15-1.fc20.noarch (replaced by 
vdsm-jsonrpc-java-1.1.5-1.fc22.noarch)
   ovirt-engine-3.5.4.2-1.fc20.noarch (no replacement) requires 
1:java-1.7.0-openjdk-1.7.0.79-2.5.5.0.fc20.x86_64 (replaced by 
1:java-1.8.0-openjdk-1.8.0.65-3.b17.fc22.x86_64)
Continue with the upgrade at your own risk.



After reboot the system is upgraded but perl is broken due to some 
packages not being up to date. This can be fixed with (after allowing 
dnf in the firewall )

dnf distro-sync --setopt=deltarpm=0


Upgrade the DB and change the configuration (ovirt 3.6 needs lc_messages 
= 'en_US.UTF-8' )

postgresql-setup --upgrade
vim /var/lib/pgsql/data/postgresql.conf

/var/lib/pgsql/data/pg_hba.conf


Check the rest of configuration files

rpmconf -a


Then check the services because nfs has some bug and dies on startup
https://bugzilla.redhat.com/show_bug.cgi?id=1192501
https://bugzilla.redhat.com/show_bug.cgi?id=1178720

systemctl status postgresql.service nfs

until you execute

systemctl enable nfs-server.service



And now we finally can upgrade oVirt

engine-setup


It will show a warning about versionlock:

DNF Failed loading plugin: versionlock

But it would upgrade oVirt correctly.

At my first attempt I don't have any problem with the

fedup --network 22 --product=server

but I didn't modify all the necessary files and fix the nfs so at one 
pont y restore the image of the server and start over.
In the second attempt (the next day) the command complaint about 
ovirt-release35-006-1

Downloading failed: El paquete ovirt-release35-006-1.noarch.rpm no está 
firmado (is not signed)

I had to remove this package and the files on /etc/yum.repos.d to be 
able to upgrade Fedora to 22

yum remove ovirt-release35
rm /etc/yum.repos.d/ovirt-3.5*

I also test before trying to use fedup to just yum upgrade the system 
but end with the same error so finally I delete ovirt-release35 and 
could continue with the process described.
I hope this is useful if someone needs to upgrade their systems.
And thanks for an incredible product. :)


PD: Sorry for the (lack of) formating



More information about the Users mailing list