[ovirt-users] failing update ovirt-engine on centos 7
Yedidyah Bar David
didi at redhat.com
Thu May 26 10:49:55 UTC 2016
On Thu, May 26, 2016 at 1:21 PM, Pavel Gashev <Pax at acronis.com> wrote:
> I had an issue with updating to 3.6.6. There were errors during engine-setup:
> [ ERROR ] Yum Non-fatal POSTUN scriptlet failure in rpm package ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> [ ERROR ] Yum Transaction close failed: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/miniyum.py", line 778, in endTransaction self.processTransaction() File "/usr/lib/python2.7/site-packages/otopi/miniyum.py", line 1064, in processTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed
> ovirt-vmconsole has the following uninstall script:
> postuninstall scriptlet (using /bin/sh):
> if [ "$1" -ge "1" ]; then
> semodule -i "/usr/share/selinux/packages/ovirt-vmconsole/ovirt_vmconsole.pp"
> In other words you can't update if you have SELINUX disabled.
> The workaround is the following:
> ln -fs /bin/true /usr/sbin/semodule
Thanks for the report. Adding Francesco.
> On 26/05/16 08:43, "users-bounces at ovirt.org on behalf of Yedidyah Bar David" <users-bounces at ovirt.org on behalf of didi at redhat.com> wrote:
>>On Wed, May 25, 2016 at 9:11 PM, Fabrice Bacchella
>><fabrice.bacchella at orange.fr> wrote:
>>> Le 25 mai 2016 à 17:25, Kapetanakis Giannis <bilias at edu.physics.uoc.gr> a
>>> écrit :
>>> On 25/05/16 17:59, Fabrice Bacchella wrote:
>>> I have an dedicated machin to run ovirt-engine (not hosted). It's an up to
>>> date centos 7.2.1511
>>> I installed ovirt 3.6.6 a few weeks ago (May 10 17:56:44 tells me yum.log)
>>> Now, I'm trying a full yum update and getting :
>>> # yum update
>>> Error: Package: ovirt-engine-tools-220.127.116.11-1.el7.centos.noarch (@ovirt-3.6)
>>> Requires: ovirt-engine-tools-backup = 18.104.22.168-1.el7.centos
>>> Removing: ovirt-engine-tools-backup-22.214.171.124-1.el7.centos.noarch
>>> ovirt-engine-tools-backup = 126.96.36.199-1.el7.centos
>>> Updated By: ovirt-engine-tools-backup-188.8.131.52-1.el7.centos.noarch
>>> ovirt-engine-tools-backup = 184.108.40.206-1.el7.centos
>>> Follow 3.6.6 release notes to update:
>>> yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
>>> yum update ovirt\*setup\*
>>> and then run
>>> engine-setup to update the rest of the packages.
>>> I have seen this doc.
>>> It updates a few components and what about the others ? The readme talk
>>> about running engine-setup, but not that it will updates other packages. I
>>> thought that ovirt-engine is for engine setup, not upgrading.
>>After engine-setup finishes, you should 'yum update' to update the rest.
>>And BTW, this specific issue about tools-backup was fixed in . So a
>>future 'yum update' should not emit this error - although the update
>>sequence is still the same - add repos, update setup packages, engine-setup,
>>update the rest.
>>Users mailing list
>>Users at ovirt.org
More information about the Users