-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Finally.

After some major issues that comes and goes I end up in a situation
where I am unable to upgrade my oVirt.

I think this is the base of my problem and if I cannot solve this I
will have strange issues for the rest....

Its seems to be exact same problem as in this thread
http://lists.ovirt.org/pipermail/users/2012-August/008799.html.

I run an "engine-upgrade" and got

Loaded plugins: fastestmirror, versionlock
Checking for updates... (This may take several minutes)
Loading mirror speeds from cached hostfile
 * base: ftp.availo.se
 * epel: mirror.nsc.liu.se
 * extras: ftp.availo.se
 * updates: ftp.availo.se
11 Updates available:
 * ovirt-engine-3.1.0-3.19.el6.noarch
 * ovirt-engine-backend-3.1.0-3.19.el6.noarch
 * ovirt-engine-config-3.1.0-3.19.el6.noarch
 * ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 * ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 * ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-setup-3.1.0-3.19.el6.noarch
 * ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 * ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 * ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch

Error: New ovirt-engine-setup rpm available via yum.
Please execute `yum update ovirt-engine-setup`, then re-execute
'ovirt-engine-upgrade'.
To use the current ovirt-engine-setup rpm, execute
'ovirt-engine-upgrade --force-current-setup-rpm'.

So I did.

[root@ovirt ~]# yum update ovirt-engine-setup
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
 * base: ftp.availo.se
 * epel: mirror.nsc.liu.se
 * extras: ftp.availo.se
 * updates: ftp.availo.se
Setting up Update Process
No Packages marked for Update

I also checked which version i have.

[root@ovirt ~]# rpm -q ovirt-engine-setup
ovirt-engine-setup-3.1.0_0001-1.8.el6.x86_64

Then I start....

Becuase the installed package was missing in repos I did...

[root@ovirt ~]# engine-upgrade --force-current-setup-rpm --no-yum-rollback
Loaded plugins: fastestmirror, versionlock
Checking for updates... (This may take several minutes)
Loading mirror speeds from cached hostfile
 * base: ftp.availo.se
 * epel: mirror.nsc.liu.se
 * extras: ftp.availo.se
 * updates: ftp.availo.se
11 Updates available:
 * ovirt-engine-3.1.0-3.19.el6.noarch
 * ovirt-engine-backend-3.1.0-3.19.el6.noarch
 * ovirt-engine-config-3.1.0-3.19.el6.noarch
 * ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 * ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 * ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-setup-3.1.0-3.19.el6.noarch
 * ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 * ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 * ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch

During the upgrade process, oVirt-Engine  will not be accessible.
All existing running virtual machines will continue but you will not
be able to
start or stop any new virtual machines during the process.

Would you like to proceed? (yes|no): yes
Stopping JBoss Service...                                [ DONE ]
Backing Up Database...                                   [ DONE ]
Rename Database...                                       [ DONE ]
Updating rpms...                                         [ DONE ]
Updating Database...                                     [ DONE ]
Restore Database name...                                 [ DONE ]
Running post install configuration...                    [ DONE ]
Starting JBoss...                                        [ DONE ]

oVirt-Engine upgrade completed successfully!

To complete the upgrade (last line) I have to restart jboss-as service
 in another session.

I then repeat the first step and got this...

[root@ovirt ~]# engine-upgrade
Loaded plugins: fastestmirror, versionlock
Checking for updates... (This may take several minutes)
Loading mirror speeds from cached hostfile
 * base: ftp.availo.se
 * epel: mirror.nsc.liu.se
 * extras: ftp.availo.se
 * updates: ftp.availo.se
11 Updates available:
 * ovirt-engine-3.1.0-3.19.el6.noarch
 * ovirt-engine-backend-3.1.0-3.19.el6.noarch
 * ovirt-engine-config-3.1.0-3.19.el6.noarch
 * ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 * ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 * ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 * ovirt-engine-setup-3.1.0-3.19.el6.noarch
 * ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 * ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 * ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch

Error: New ovirt-engine-setup rpm available via yum.
Please execute `yum update ovirt-engine-setup`, then re-execute
'ovirt-engine-upgrade'.
To use the current ovirt-engine-setup rpm, execute
'ovirt-engine-upgrade --force-current-setup-rpm'.
[root@ovirt ~]# rpm -q ovirt-engine-setup
ovirt-engine-setup-3.1.0_0001-1.8.el6.x86_64

Is there a proper way to recover from this error and start to get the
latest (almost) packages from repos?

There will be problems for me to export all VMs and the recreate the
whole cluster as there is critical VMs in it.

Today I have problem with VMs that have problems to start,
live-snapshots that sometimes work sometimes dont ,delete snapshots
etc, etc and first thing first I think.

I attached my ovirt-engine-upgrade-log

Regards //Ricky
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDkgNAACgkQOap81biMC2PCIACeJzYygAvsmq0ipkwAe74GgQVd
+WAAn0psp6GrEDpoyS41Yr8c/qknEGzZ
=EjW0
-----END PGP SIGNATURE-----

Attachment: 0xB88C0B63.asc
Description: application/pgp-keys

Attachment: ovirt-engine-upgrade_2013_01_02_19_23_17.log.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to