[ovirt-users] RPM conflicts when upgrading from 4.1.9 to 4.2.2

Matthias Leopold matthias.leopold at meduniwien.ac.at
Mon Apr 23 10:49:50 UTC 2018



Am 2018-04-23 um 12:08 schrieb Matthias Leopold:
> 
> 
> Am 2018-04-23 um 11:44 schrieb Matthias Leopold:
>> Hi,
>>
>> i tried to upgrade my oVirt 4.1.9 test environment to version 4.2.2.
>> this failed on the engine host with messages like
>>
>> 2018-04-23 11:10:57,716+0200 ERROR 
>> otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum 
>> Test-Transaktionsfehler:   file 
>> /usr/share/ansible/roles/ovirt-manageiq from install of 
>> ovirt-ansible-roles-1.0.4-1.el7.centos.noarch conflicts with file from 
>> package ovirt-ansible-manageiq-1.1.6-1.el7.centos.noarch
>>    file /usr/share/ansible/roles/ovirt-image-template from install of 
>> ovirt-ansible-roles-1.0.4-1.el7.centos.noarch conflicts with file from 
>> package ovirt-ansible-image-template-1.1.5-1.el7.centos.noarch
>>    file /usr/share/ansible/roles/ovirt-infra from install of 
>> ovirt-ansible-roles-1.0.4-1.el7.centos.noarch conflicts with file from 
>> package ovirt-ansible-infra-1.1.4-1.el7.centos.noarch
>>    file /usr/share/ansible/roles/ovirt-vm-infra from install of 
>> ovirt-ansible-roles-1.0.4-1.el7.centos.noarch conflicts with file from 
>> package ovirt-ansible-vm-infra-1.1.5-1.el7.centos.noarch
>>    file /usr/share/ansible/roles/ovirt-cluster-upgrade from install of 
>> ovirt-ansible-roles-1.0.4-1.el7.centos.noarch conflicts with file from 
>> package ovirt-ansible-cluster-upgrade-1.1.6-1.el7.centos.noarch
> 
> OK, now i found https://bugzilla.redhat.com/show_bug.cgi?id=1519301 
> which describes the problem, but doesn't give a solution...
> 
> it sounds like removing the "optional in 4.1.9" package 
> ovirt-ansible-roles before the upgrade would prevent the error, but i 
> would like to finish the upgrade in my test environment where i didn't 
> do this. how can i do that?
> 

i finally resolved the situation by force removing (rpm -e --nodeps) the 
ovirt-ansible-* packages, after that engine-setup finishes ok, in the 
end i execute "yum install ovirt-ansible-roles". this _seems_ to work...

thx matthias







More information about the Users mailing list