[Users] Some updates show up, and some don´t

Karli Sjöberg Karli.Sjoberg at slu.se
Mon Feb 11 01:17:34 EST 2013


sön 2013-02-10 klockan 11:06 +0200 skrev Alex Lourie:


On Fri 08 Feb 2013 10:27:15 AM IST, Karli Sjöberg wrote:
> Hi,
>
> my engine have these packages installed after a yum update:
> # rpm -qa | grep ovirt-engine | sort -n
> ovirt-engine-3.1.0-2.fc17.noarch
> ovirt-engine-backend-3.1.0-2.fc17.noarch
> ovirt-engine-cli-3.2.0.5-1.fc17.noarch
> ovirt-engine-config-3.1.0-2.fc17.noarch
> ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
> ovirt-engine-genericapi-3.1.0-2.fc17.noarch
> ovirt-engine-notification-service-3.1.0-2.fc17.noarch
> ovirt-engine-restapi-3.1.0-2.fc17.noarch
> ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
> ovirt-engine-setup-3.1.0-4.fc17.noarch
> ovirt-engine-tools-common-3.1.0-2.fc17.noarch
> ovirt-engine-userportal-3.1.0-2.fc17.noarch
> ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
>
> And when issuing check update:
> # yum check-update
> ...
> ovirt-engine-dbscripts.noarch                                           3.1.0-4.fc17
> ovirt-stable
>
> But from any other machine, like my laptop or any other Host all
> packages show up with version "3.1.0-4.fc17 ". Look at this:
>
> the engine# yum list ovirt-engine*
> ...
> Installed packages
> ovirt-engine.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-backend.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-cli.noarch
> 3.2.0.5-1.fc17                                    @updates
> ovirt-engine-config.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-dbscripts.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-genericapi.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-notification-service.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-restapi.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-sdk.noarch
> 3.2.0.2-1.fc17                                    @updates
> ovirt-engine-setup.noarch
> 3.1.0-4.fc17                                      @ovirt-engine-3.1
> ovirt-engine-tools-common.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-userportal.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> ovirt-engine-webadmin-portal.noarch
> 3.1.0-2.fc17                                      @ovirt-engine-3.1
> Available packages
> ovirt-engine-dbscripts.noarch
> 3.1.0-4.fc17                                      ovirt-stable
> ovirt-engine-iso-uploader.noarch
> 3.0.0.0001-15.fc17                                updates
> ovirt-engine-javadoc.noarch
> 3.0.0.0001-15.fc17                                updates
> ovirt-engine-log-collector.noarch
> 3.0.0.0001-15.fc17                                updates
> ovirt-engine-setup-plugin-allinone.noarch
> 3.1.0-4.fc17                                      ovirt-stable
>
> a Host# yum list ovirt-engine*
> ...
> Available packages
> ovirt-engine.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-backend.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-cli.noarch
> 3.1.0.6-1.fc17                                     ovirt-engine-3.1
> ovirt-engine-config.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-dbscripts.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-genericapi.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-iso-uploader.noarch
> 3.0.0.0001-15.fc17                                 updates
> ovirt-engine-javadoc.noarch
> 3.0.0.0001-15.fc17                                 updates
> ovirt-engine-log-collector.noarch
> 3.0.0.0001-15.fc17                                 updates
> ovirt-engine-notification-service.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-restapi.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-sdk.noarch
> 3.1.0.4-1.fc17                                     ovirt-engine-3.1
> ovirt-engine-setup.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-setup-plugin-allinone.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-tools-common.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-userportal.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
> ovirt-engine-webadmin-portal.noarch
> 3.1.0-4.fc17                                       ovirt-engine-3.1
>
>
> And I can´t seem persuade my engine otherwise. There are lots of
> updates available and now engine doesn´t run because of these version
> inconsistencies! I have tried "yum clean all" and tried to rerun but
> my engine still doesn´t think there are any updates available. I
> noticed that my repo file slightly differed from what´s in the one
> that gets installed by the repo.rpm at ovirt.org so I changed it to
> exactly match it, but to no avail. What can I do?
>
> Best Regards
> Karli Sjöberg
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org<mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users

Karli

As soon as engine is installed, it's rpm's are locked within yum, and
are not visible for manual upgrade. It is done to prevent updating RPMs
separately and not as an application.


Aha, so that´s what it was! Well, OK, I can understand the reasoning but as you can see it doesn´t quite work in practice since I was just updating packages as usual with "yum update" and as you can see, some packages were updated, while most weren´t. As for me, thanks to the backup-script provided by Sven Knoshalla, I actually took the plunge to backup eveything up, deinstall all of the packages, reinstall them again(with new version), and then restore config files back as they were. Thanks Sven!=)

I thought that "engine-upgrade" only was for major upgrades, and use yum for regular patches and such.

/Karli



If all you want is to upgrade engine, simply run 'engine-upgrade'.

Let us know how it goes.

--
Alex Lourie.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130211/fe25148e/attachment.html>


More information about the Users mailing list