[ovirt-users] AIO UPG Error from 3.5 to 3.6

Yedidyah Bar David didi at redhat.com
Thu Nov 5 07:17:19 UTC 2015


On Wed, Nov 4, 2015 at 11:32 PM, Christian Rebel <christian.rebel at gmx.at> wrote:
> Hi Guys,
>
> the workaround with hashing "ovirt-engine-xxx" under "/etc/yum/pluginconf.d/versionlock.list" seems to be working...

I wouldn't recommend this.

Engine upgrade should only be done using 'enigne-setup'.

If you disable versionlock and update the engine package, you end up
running an updated engine against an un-updated database.
'engine-setup' updates both.

As mentioned on the linked bug, the correct upgrade procedure is:

1. Have a 3.5 engine and repos, and a machine fully updated

2. Add 3.6 repos

3. yum update 'ovirt-engine-setup*' (only these!)

4. engine-setup

5. If you feel like it, 'yum update' (to get updates for 3.6 packages
not updated by engine-setup).

It seems like you ran 'yum update' with 3.6 repos before updating the engine.

If you still have problems, try to yum update the setup packages and
run 'engine-setup'.

If you already updated the engine packages with versionlock disabled,
you can try running 'engine-setup'.
I think it will manage to upgrade your database, didn't check that.

Best,

> I will perform some system sanity during the next days and let you know the final result, so far everything looks fine now!
>
> Thanks,
> Christian
>
> -----Original Message-----
> From: Christian Rebel [mailto:christian.rebel at gmx.at]
> Sent: Mittwoch, 04. November 2015 21:38
> To: 'Martin Perina'; 'Ondra Machacek'
> Cc: 'Artyom Lukianov'; 'users at ovirt.org'
> Subject: RE: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>
> Hi Guys,
>
> I have this Problem on 3 different Systems (all of them Ovirt AIO), the Dependency Problem is appearing during the “yum update” command. (see attached Logfiles)
>
> In the meantime I found another guy which had the same issue, look at https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1276651
>
> PS: Hope you can help….
>
> Thanks,
> Christian
>
> -----Original Message-----
> From: Martin Perina [mailto:mperina at redhat.com]
> Sent: Mittwoch, 04. November 2015 21:29
> To: Ondra Machacek
> Cc: Christian Rebel; Artyom Lukianov; users at ovirt.org
> Subject: Re: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>
>
>
> ----- Original Message -----
>> From: "Ondra Machacek" <omachace at redhat.com>
>> To: "Christian Rebel" <christian.rebel at gmx.at>, "Artyom Lukianov"
>> <alukiano at redhat.com>
>> Cc: users at ovirt.org
>> Sent: Wednesday, November 4, 2015 9:07:59 PM
>> Subject: Re: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>>
>> AFAIK ovirt-engine-setup shouldn't update vdsm-jsonrpc, as it does not
>> depend on ovirt-engine-backend, so please try yum clean all && yum
>> update ovirt-engine-setup
>
> Shouldn't it be
>
>   yum clean all && yum update 'ovirt-engine-setup*'
>
> ?
>
> And when done execute
>
>   engine-setup
>
>>
>> or you get the error , when running engine-setup ?
>>
>> On 11/04/2015 08:40 PM, Christian Rebel wrote:
>>
>>
>>
>>
>>
>> same Dependency Problem, I think its related to the following:
>>
>>
>>
>> [root at ovirt-test yum.repos.d]# rpm -qR ovirt-engine-backend | grep
>> ^vdsm-jsonrpc-java
>>
>> vdsm-jsonrpc-java >= 1.0.15
>>
>> vdsm-jsonrpc-java < 1.1.0
>>
>>
>>
>> [root at ovirt-test yum.repos.d]# yum list updates | grep
>> vdsm-jsonrpc-java
>>
>> vdsm-jsonrpc-java.noarch 1.1.5-1.el7.centos ovirt-3.6
>>
>>
>>
>>
>> From: Ondra Machacek [ mailto:omachace at redhat.com ]
>> Sent: Mittwoch, 04. November 2015 20:35
>> To: Christian Rebel; 'Artyom Lukianov'
>> Cc: users at ovirt.org
>> Subject: Re: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>>
>>
>>
>>
>> Try:
>>
>> yum update ovirt-engine-setup
>>
>> and then
>>
>> engine-setup
>>
>>
>> On 11/04/2015 08:16 PM, Christian Rebel wrote:
>>
>>
>>
>>
>> Seems not to be working, any other ideas?
>>
>>
>>
>> yum update --skip-broken:
>>
>> Skipped (dependency problems):
>>
>> glusterfs.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-api.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-cli.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-client-xlators.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-fuse.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-libs.x86_64 0:3.7.5-1.el7
>>
>> glusterfs-rdma.x86_64 0:3.7.5-1.el7
>>
>> gperftools-libs.x86_64 0:2.4-7.el7
>>
>> ipxe-roms-qemu.noarch 0:20130517-7.gitc4bce43.el7
>>
>> libunwind.x86_64 0:1.1-10.el7
>>
>> ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7
>>
>> ovirt-engine-extensions-api-impl.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup-base.noarch 0:3.5.5-1.el7.centos
>>
>> ovirt-engine-setup-base.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup-plugin-allinone.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup-plugin-ovirt-engine.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup-plugin-ovirt-engine-common.noarch
>> 0:3.5.5-1.el7.centos
>>
>> ovirt-engine-setup-plugin-ovirt-engine-common.noarch
>> 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-setup-plugin-websocket-proxy.noarch 0:3.5.5-1.el7.centos
>>
>> ovirt-engine-setup-plugin-websocket-proxy.noarch
>> 0:3.6.0.3-1.el7.centos
>>
>> ovirt-engine-websocket-proxy.noarch 0:3.5.5-1.el7.centos
>>
>> ovirt-engine-websocket-proxy.noarch 0:3.6.0.3-1.el7.centos
>>
>> ovirt-host-deploy-offline.x86_64 0:1.4.0-1.el7.centos
>>
>> ovirt-vmconsole.noarch 0:1.0.0-1.el7.centos
>>
>> ovirt-vmconsole-host.noarch 0:1.0.0-1.el7.centos
>>
>> python-cpopen.x86_64 0:1.4-0.el7
>>
>> qemu-img-ev.x86_64 10:2.3.0-29.1.el7
>>
>> qemu-kvm-common-ev.x86_64 10:2.3.0-29.1.el7
>>
>> qemu-kvm-ev.x86_64 10:2.3.0-29.1.el7
>>
>> safelease.x86_64 0:1.0-5.el7
>>
>> seabios-bin.noarch 0:1.7.5-11.el7
>>
>> seavgabios-bin.noarch 0:1.7.5-11.el7
>>
>> vdsm.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-cli.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-infra.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-jsonrpc.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-jsonrpc-java.noarch 0:1.1.5-1.el7.centos
>>
>> vdsm-python.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-python-zombiereaper.noarch 0:4.16.27-0.el7.centos
>>
>> vdsm-xmlrpc.noarch 0:4.17.10.1-0.el7.centos
>>
>> vdsm-yajsonrpc.noarch 0:4.17.10.1-0.el7.centos
>>
>>
>>
>> engine-setup:
>>
>> [ ERROR ] Yum: [u'ovirt-host-deploy-offline-1.4.0-1.el7.centos.x86_64
>> requires iptables-services',
>> u'ovirt-engine-3.6.0.3-1.el7.centos.noarch
>> requires slf4j >= 1.7.0',
>> u'vdsm-jsonrpc-java-1.1.5-1.el7.centos.noarch
>> requires mvn(org.slf4j:slf4j-api)',
>> u'vdsm-jsonrpc-java-1.1.5-1.el7.centos.noarch requires slf4j >=
>> 1.6.1']
>>
>> [ ERROR ] Failed to execute stage 'Environment customization':
>> [u'ovirt-host-deploy-offline-1.4.0-1.el7.centos.x86_64 requires
>> iptables-services', u'ovirt-engine-3.6.0.3-1.el7.centos.noarch
>> requires slf4j >= 1.7.0',
>> u'vdsm-jsonrpc-java-1.1.5-1.el7.centos.noarch requires
>> mvn(org.slf4j:slf4j-api)',
>> u'vdsm-jsonrpc-java-1.1.5-1.el7.centos.noarch
>> requires slf4j >= 1.6.1']
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Artyom Lukianov [ mailto:alukiano at redhat.com ]
>> Sent: Mittwoch, 04. November 2015 19:44
>> To: Christian Rebel
>> Cc: users at ovirt.org
>> Subject: Re: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>>
>>
>>
>> Run yum update --skip-broken and after engine-setup.
>>
>> engine-setup will download and upgrade all necessary packages.
>>
>>
>>
>> ----- Original Message -----
>>
>> From: "Christian Rebel" <christian.rebel at gmx.at>
>>
>> To: users at ovirt.org
>>
>> Sent: Wednesday, November 4, 2015 8:15:18 PM
>>
>> Subject: [ovirt-users] AIO UPG Error from 3.5 to 3.6
>>
>>
>>
>>
>>
>>
>>
>> Getting the following Error on an AIO Upgrade from 3.5 to 3.6, any ideas?
>>
>>
>>
>>
>>
>>
>>
>> --> Processing Dependency: vdsm-jsonrpc-java < 1.1.0 for package:
>> ovirt-engine-backend-3.5.4.2-1.el7.centos.noarch
>>
>>
>>
>> --> Finished Dependency Resolution
>>
>>
>>
>>
>>
>>
>>
>> Error: Package: ovirt-engine-backend-3.5.4.2-1.el7.centos.noarch
>> (@ovirt-3.5)
>>
>>
>>
>> Requires: vdsm-jsonrpc-java < 1.1.0
>>
>>
>>
>> Removing: vdsm-jsonrpc-java-1.0.15-1.el7.noarch (@ovirt-3.5)
>>
>>
>>
>> vdsm-jsonrpc-java = 1.0.15-1.el7
>>
>>
>>
>> Updated By: vdsm-jsonrpc-java-1.1.5-1.el7.centos.noarch (ovirt-3.6)
>>
>>
>>
>> vdsm-jsonrpc-java = 1.1.5-1.el7.centos
>>
>>
>>
>> Available: vdsm-jsonrpc-java-1.0.14-1.el7.noarch (ovirt-3.5)
>>
>>
>>
>> vdsm-jsonrpc-java = 1.0.14-1.el7
>>
>>
>>
>> _______________________________________________
>>
>> Users mailing list
>>
>> Users at ovirt.org
>>
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi



More information about the Users mailing list