[ovirt-users] Unable to upgrade ovirt-engine 3.5.5 to 3.6.1 on EL6

Yedidyah Bar David didi at redhat.com
Wed Jan 6 06:45:06 UTC 2016


On Tue, Jan 5, 2016 at 6:47 PM, Frank Wall <fw at moov.de> wrote:
> On Tue, Jan 05, 2016 at 05:37:08PM +0200, Yedidyah Bar David wrote:
>> Perhaps to aid debugging you can try this, but _do_not_ press Enter:
>>
>> yum --disableplugin=versionlock update ovirt-engine
>>
>> Kill it (or reply 'no').
>>
>> What does it output?
>
> Basically the same dependency error. I've attached the full output to this e-mail.
>
> To answer your other questions:
>
>> 16:43 <didi> fraenki: what happens when you try yum update slf4j?
>
> It is not currently installed (on oVirt 3.5.5) and only the inappropiate version
> is available:

But I assume you do have 3.6 repos enabled, right?

>
> # yum --showduplicates list slf4j
> [...]
> Available Packages
> slf4j.noarch       1.5.8-8.el6              centos-base
>
>
>> 16:44 <didi> fraenki: also for vdsm-jsonrpc-java
>
> # yum update vdsm-jsonrpc-java
> [...]
> --> Running transaction check
> ---> Package vdsm-jsonrpc-java.noarch 0:1.0.15-1.el6 will be updated
> --> Processing Dependency: vdsm-jsonrpc-java < 1.1.0 for package: ovirt-engine-backend-3.5.5-1.el6.noarch
> ---> Package vdsm-jsonrpc-java.noarch 0:1.1.5-1.el6 will be an update
> --> Processing Dependency: slf4j >= 1.6.1 for package: vdsm-jsonrpc-java-1.1.5-1.el6.noarch
> [...]
> Error: Package: vdsm-jsonrpc-java-1.1.5-1.el6.noarch (ovirt-3.6)
>            Requires: slf4j >= 1.6.1
>            Available: slf4j-1.5.8-8.el6.noarch (centos-base)
>                slf4j = 1.5.8-8.el6
> [...]
>
> Very similar (of not the same) output to the `yum update ovirt-engine` command.
>
> Where should I get "slf4j >= 1.6.1" from?

As Martin already replied,

http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/

Now verified that this works for me on a centos6 machine:

yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
yum --showduplicates list slf4j
=> shows (also) 1.7.7-1.el6

> It does not seem to be available from
> the "centos-base" repository (there's only slf4j = 1.5.8-8.el6 available):
> http://mirror.centos.org/centos/6/os/x86_64/Packages/
>
>> 16:46 <didi> fraenki: if it still fails for you after the usual things, e.g.
>> yum clean all, check repos etc., I'll try to reproduce
>
> Yeah, tried this. Already wiped my repos and reinstalled ovirt-release36.rpm.

Perhaps a mirror/proxy issue?

>
> FWIW, I've noticed that a more recent slf4j is available from the SL6 repo at:
> http://ftp.scientificlinux.org/linux/scientific/6x/external_products/maven/$basearch/
> But I fear that this will break things in the long run (and it would replace
> several other packages as well, very likely to break ovirt-engine completely).
>
>> > I'd switch my Hosted-Engine VM to EL7 if it wouldn't be such a pain. The only
>> > "Upgrade Guide" I could find for Engine VM is this:
>> > http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore
>> > No fun. :(
>>
>> This one does not deal with upgrading the engine OS. For that Sandro
>> started [1] but gave up after having some issues.
>
> Yeah, I wasn't really expecting that an in-place upgrade EL6->EL7 would work
> in this case. That's why I was thinking about the Backup/Restore method...

Didn't try that myself, but I think it should work.
It only deals with the engine, though. Whatever other stuff you had on the
engine machine, including an iso domain, extra packages/services/conf/etc.,
you'll have to recreate (or copy if relevant).
-- 
Didi



More information about the Users mailing list