Re: [ovirt-users] oVirt Node ng upgrade failed

Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum install ovirt-node-ng-image-update" from the CLI instead of engine so we can get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com> wrote:
---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org" <Users@ovirt.org>
Hi,
just tried to upgrade from
ovirt-node-ng-4.1.1.1-0.20170504.0+1
to
ovirt-node-ng-4.1.7-0.20171108.0+1
but it failed:
###
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/4: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos - u
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/4: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/4: ovirt-node-ng-image-update.noarch 0:4.1.1.1-1.el7.centos - ud
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages
self._miniyum.processTransaction()
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in processTransaction
_('One or more elements within Yum transaction failed')
RuntimeError: One or more elements within Yum transaction failed
2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': One or more elements within Yum transaction failed
2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db (0%)
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db 374 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db 53 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db 18 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db 7.6 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(76%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(100%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db 6.5 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db 851 (100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db 312 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)
2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Transaction close failed: Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in endTransaction
if self._yb.history_undo(transactionCurrent):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in history_undo
if self.install(pkgtup=pkg.pkgtup):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in install
raise Errors.InstallError, _('No package(s) available to install')
InstallError: Kein(e) Paket(e) zum Installieren verfügbar.
###
Some more information on my system:
###
$ mount
...
/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw,relatime,discard,stripe=128,data=ordered)
$ imgbase layout
ovirt-node-ng-4.1.1.1-0.20170406.0
ovirt-node-ng-4.1.1.1-0.20170504.0
+- ovirt-node-ng-4.1.1.1-0.20170504.0+1
ovirt-node-ng-4.1.7-0.20171108.0
+- ovirt-node-ng-4.1.7-0.20171108.0+1
$ rpm -q ovirt-node-ng-image
Das Paket ovirt-node-ng-image ist nicht installiert
$ nodectl check
Status: OK
Bootloader ... OK
Layer boot entries ... OK
Valid boot entries ... OK
Mount points ... OK
Separate /var ... OK
Discard is used ... OK
Basic storage ... OK
Initialized VG ... OK
Initialized Thin Pool ... OK
Initialized LVs ... OK
Thin storage ... OK
Checking available space in thinpool ... OK
Checking thinpool auto-extend ... OK
vdsmd ... OK
###
I can restart my Node and VMs are running, but oVirt Engine tells me no update is available. It seems 4.1.7 is installed, but Node still boots the old 4.1.1 image.
Can i force run the upgrade again or is there another way to fix this?
Thanks
Greets
Kilian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
lev@redhat.com | lveyde@redhat.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA <https://www.redhat.com/> rbarry@redhat.com M: +1-651-815-9306 <javascript:void(0);> IM: rbarry <https://red.ht/sig>

--_000_d4395724541744f6bafecb36b395cd99kilianriesde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is the imgbased.log: https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0 Ok, i'll try your steps and come back later ... ________________________________ Von: Ryan Barry <rbarry@redhat.com> Gesendet: Donnerstag, 23. November 2017 23:33:34 An: Kilian Ries; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum = install ovirt-node-ng-image-update" from the CLI instead of engine so we ca= n get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com<mailto:lveyde@re= dhat.com>> wrote: ---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de<mailto:mail@kilian-ries.de>> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org<mailto:Users@ovirt.org>" <Users@ovirt.org<mailto:Users= @ovirt.org>> Hi, just tried to upgrade from ovirt-node-ng-4.1.1.1-0.20170504.0+1 to ovirt-node-ng-4.1.7-0.20171108.0+1 but it failed: ### 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 1/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.7-1.el7.centos - u 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 2/4: ovirt-node-ng-imag= e-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 3/4: ovirt-node-ng-imag= e.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 4/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.1.1-1.el7.centos - ud 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Transaction processed 2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method e= xception Traceback (most recent call last): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _ex= ecuteMethod method['method']() File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py"= , line 261, in _packages self._miniyum.processTransaction() File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in pr= ocessTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed 2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed t= o execute stage 'Package installation': One or more elements within Yum tra= nsaction failed 2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting = 'Yum Transaction' 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Performing yum transaction roll= back 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db (0%) 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db 374 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = 53 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db 18 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= 7.6 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(7= 6%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(1= 00%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db (0%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db 6.5 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db 851 (100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= 312 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%= ) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 = k(100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k= (100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100= %) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%) 2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpack= ager.error:85 Yum Transaction close failed: Traceback (most recent call las= t): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in end= Transaction if self._yb.history_undo(transactionCurrent): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in hi= story_undo if self.install(pkgtup=3Dpkg.pkgtup): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in in= stall raise Errors.InstallError, _('No package(s) available to install') InstallError: Kein(e) Paket(e) zum Installieren verf?gbar. ### Some more information on my system: ### $ mount ... /dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw= ,relatime,discard,stripe=3D128,data=3Dordered) $ imgbase layout ovirt-node-ng-4.1.1.1-0.20170406.0 ovirt-node-ng-4.1.1.1-0.20170504.0 +- ovirt-node-ng-4.1.1.1-0.20170504.0+1 ovirt-node-ng-4.1.7-0.20171108.0 +- ovirt-node-ng-4.1.7-0.20171108.0+1 $ rpm -q ovirt-node-ng-image Das Paket ovirt-node-ng-image ist nicht installiert $ nodectl check Status: OK Bootloader ... OK Layer boot entries ... OK Valid boot entries ... OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK ### I can restart my Node and VMs are running, but oVirt Engine tells me no upd= ate is available. It seems 4.1.7 is installed, but Node still boots the old= 4.1.1 image. Can i force run the upgrade again or is there another way to fix this? Thanks Greets Kilian _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Lev Veyde Software Engineer, RHCE | RHCVA | MCITP Red Hat Israel <https://www.redhat.com> lev@redhat.com<mailto:lev@redhat.com> | lveyde@redhat.com<mailto:lveyde@red= hat.com> [https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-bl= ack.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> -- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA<https://www.redhat.com/> rbarry@redhat.com<mailto:rbarry@redhat.com> M: +1-651-815-9306<javascrip= t:void(0);> IM: rbarry [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/si= g> --_000_d4395724541744f6bafecb36b395cd99kilianriesde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>This is the imgbased.log:</p> <p><br> </p> <p><a href=3D"https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz= ?dl=3D0" class=3D"OWAAutoLink" id=3D"LPlnk215706">https://www.dropbox.com/s= /v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0</a><br> <br> </p> <p>Ok, i'll try your steps and come back later ...</p> <p><br> </p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Ryan Barry <rbarry@= redhat.com><br> <b>Gesendet:</b> Donnerstag, 23. November 2017 23:33:34<br> <b>An:</b> Kilian Ries; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div> <div dir=3D"auto">Can you grab imgbased.log?</div> <div dir=3D"auto"><br> </div> <div dir=3D"auto">To retry, "rpm -e ovirt-node-ng-image-update" a= nd remove the new LVs. "yum install ovirt-node-ng-image-update" f= rom the CLI instead of engine so we can get full logs would be useful</div> <br> <div class=3D"gmail_quote"> <div>On Thu, Nov 23, 2017 at 16:01 Lev Veyde <<a href=3D"mailto:lveyde@r= edhat.com">lveyde@redhat.com</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div><br> <div class=3D"gmail_quote">---------- Forwarded message ----------<br> From: <b class=3D"gmail_sendername">Kilian Ries</b> <span><<a href=3D"ma= ilto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ries.de</a>></sp= an><br> Date: Thu, Nov 23, 2017 at 5:16 PM<br> Subject: [ovirt-users] oVirt Node ng upgrade failed<br> To: "<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">User= s@ovirt.org</a>><br> <br> <br> <div> <div id=3D"m_8500358924454763051m_8666893865273150534divtagdefaultwrapper" = style=3D"font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,s= ans-serif"> <p>Hi,</p> <p><br> </p> <p>just tried to upgrade from </p> <p><br> </p> <p>ovirt-node-ng-4.1.1.1-0.20170504.0+1<br> </p> <p><br> </p> <p>to</p> <p><br> </p> <p>ovirt-node-ng-4.1.7-0.20171108.0+1<br> </p> <p><br> </p> <p>but it failed:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager <a hr= ef=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 1/4: ovirt-node-ng-image-update.noarch = 0:4.1.7-1.el7.centos - u</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager <a hr= ef=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 2/4: ovirt-node-ng-image-update-placeho= lder.noarch 0:4.1.1.1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager <a hr= ef=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1= .1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager <a hr= ef=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 4/4: ovirt-node-ng-image-update.noarch = 0:4.1.1.1-1.el7.centos - ud</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Transaction processed</p> <p>2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 metho= d exception</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py"= , line 132, in _executeMethod</p> <p> method['method']()</p> <p> File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yu= mpackager.py", line 261, in _packages</p> <p> self._miniyum.processTransaction()</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py"= , line 1049, in processTransaction</p> <p> _('One or more elements within Yum transaction failed')</p=
<p>RuntimeError: One or more elements within Yum transaction failed</p> <p>2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Faile= d to execute stage 'Package installation': One or more elements within Yum = transaction failed</p> <p>2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborti= ng 'Yum Transaction'</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager <a hr= ef=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Performing yum transaction rollback</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/fileli= sts_db (0%)</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/fileli= sts_db 374 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_= db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_= db 53 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)</p=
<p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filel= ists_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filel= ists_db 18 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other= _db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other= _db 7.6 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)= </p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 = M(76%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 = M(100%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(10= 0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_6= 4/filelists_db (0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_6= 4/filelists_db 6.5 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_6= 4/other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_6= 4/other_db 851 (100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists= _db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists= _db 312 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db = (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db = 84 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0= %)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.= 5 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)</= p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(= 100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(10= 0%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yump= ackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)<= /p> <p>2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yump= ackager.error:85 Yum Transaction close failed: Traceback (most recent call = last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py"= , line 761, in endTransaction</p> <p> if self._yb.history_undo(transactionCurrent):</p> <p> File "/usr/lib/python2.7/site-packages/yum/__init__.py"= , line 6086, in history_undo</p> <p> if self.install(pkgtup=3Dpkg.pkgtup):</p> <p> File "/usr/lib/python2.7/site-packages/yum/__init__.py"= , line 4910, in install</p> <p> raise Errors.InstallError, _('No package(s) available to i= nstall')</p> <p>InstallError: Kein(e) Paket(e) zum Installieren verfügbar.</p> <p><br> </p> <p>###</p> <p><br> </p> <p><br> </p> <p>Some more information on my system:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>$ mount</p> <p>...</p> <p>/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type e= xt4 (rw,relatime,discard,stripe=3D128,data=3Dordered)</p> <p><br> </p> <p><br> </p> <p>$ imgbase layout</p> <p>ovirt-node-ng-4.1.1.1-0.20170406.0</p> <p>ovirt-node-ng-4.1.1.1-0.20170504.0</p> <p> +- ovirt-node-ng-4.1.1.1-0.20170504.0+1</p> <p>ovirt-node-ng-4.1.7-0.20171108.0</p> <p> +- ovirt-node-ng-4.1.7-0.20171108.0+1</p> <p> </p> <p> <span style=3D"font-size:12pt"> </span></p> <p>$ rpm -q ovirt-node-ng-image</p> <p>Das Paket ovirt-node-ng-image ist nicht installiert</p> <p><br> </p> <p><br> </p> <p>$ nodectl check</p> <p>Status: OK</p> <p>Bootloader ... OK</p> <p> Layer boot entries ... OK</p> <p> Valid boot entries ... OK</p> <p>Mount points ... OK</p> <p> Separate /var ... OK</p> <p> Discard is used ... OK</p> <p>Basic storage ... OK</p> <p> Initialized VG ... OK</p> <p> Initialized Thin Pool ... OK</p> <p> Initialized LVs ... OK</p> <p>Thin storage ... OK</p> <p> Checking available space in thinpool ... OK</p> <p> Checking thinpool auto-extend ... OK</p> <p></p> <p>vdsmd ... OK</p> <p></p> <p><br> </p> <p>###</p> <p><br> </p> <p>I can restart my Node and VMs are running, but oVirt Engine tells me no = update is available. It seems 4.1.7 is installed, but Node still boots the = old 4.1.1 image. </p> <p><br> </p> <p>Can i force run the upgrade again or is there another way to fix this?</= p> <p><br> </p> <p>Thanks</p> <p>Greets</p> <span class=3D"m_8500358924454763051HOEnZb"><font color=3D"#888888"> <p>Kilian</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> </font></span></div> </div> <br> _______________________________________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </div> <br> <br clear=3D"all"> <br> </div> <div>-- <br> <div class=3D"m_8500358924454763051gmail_signature" data-smartmail=3D"gmail= _signature"> <div> <div> <div> <div> <div> <div> <div> <div><br> <div> <p style=3D"font-weight:bold;margin:0;padding:0;font-size:14px;text-transfo= rm:uppercase;margin-bottom:0"> <span>Lev</span> <span>Veyde</span></p> <p style=3D"font-weight:normal;font-size:10px;margin:0px 0px 4px;text-trans= form:uppercase"> <span>Software Engineer</span><span style=3D"color:rgb(204,204,204)">, <spa= n style=3D"font-weight:normal;color:#aaa;margin:0"> RHCE | RHCVA | MCITP</span></span></p> <p style=3D"font-weight:normal;margin:0;font-size:10px;color:#999"><a style= =3D"color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:= 'overpass',sans-serif" href=3D"https://www.redhat.com" target=3D"_blank">Re= d Hat <span>Israel<br> <br> </span></a></p> <p style=3D"font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(= 153,153,153)"> <span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088ce;font-size:= 10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href= =3D"mailto:lev@redhat.com" target=3D"_blank">lev@redhat.com</a> | </span><span><span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088= ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans= -serif" href=3D"mailto:lveyde@redhat.com" target=3D"_blank">lveyde@redhat.c= om</a></span></span> </p> <a href=3D"https://red.ht/sig" target=3D"_blank"><img height=3D"auto" width= =3D"90" src=3D"https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/l= ogo-red-hat-black.png"></a> <div><a href=3D"https://redhat.com/trusted" style=3D"text-decoration:none;c= olor:#c00;font-weight:bold" target=3D"_blank">TRIED. TESTED. TRUSTED.</a></= div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> </div> <div dir=3D"ltr">-- <br> </div> <div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"> <div dir=3D"ltr"> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bo= ld;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"> <span>RYAN</span> <span>BARRY</span></p> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px= ;margin:0px 0px 4px;text-transform:uppercase"> <span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR</span></p> <p style=3D"font-family:overpass,sans-serif;margin:0px;font-size:10px;color= :rgb(153,153,153)"> <a href=3D"https://www.redhat.com/" style=3D"color:rgb(0,136,206);margin:0p= x" target=3D"_blank">Red Hat <span>NA</span></a></p> <p style=3D"font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10= px;color:rgb(153,153,153)"> <span style=3D"margin:0px;padding:0px"><a href=3D"mailto:rbarry@redhat.com"= style=3D"color:rgb(0,136,206);margin:0px" target=3D"_blank">rbarry@redhat.= com</a> </span> <span>M: <a href=3D"javascript:void(0= );" style=3D"color:rgb(0,136,206);font-size:11px;margin:0px" target=3D"_bla= nk">+1-651-815-9306</a> </span> <span>IM: <span>rbarry</span></span></p> <table border=3D"0" style=3D"color:rgb(0,0,0);font-family:overpass,sans-ser= if;font-size:medium"> <tbody> <tr> <td width=3D"100px"><a href=3D"https://red.ht/sig" target=3D"_blank"><img w= idth=3D"90" height=3D"auto" src=3D"https://www.redhat.com/files/brand/email= /sig-redhat.png"></a></td> </tr> </tbody> </table> </div> </div> </div> </body> </html> --_000_d4395724541744f6bafecb36b395cd99kilianriesde_--

Hi, Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and share your output ? Thanks, Yuval On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de> wrote:
This is the imgbased.log:
https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=0
Ok, i'll try your steps and come back later ...
------------------------------ *Von:* Ryan Barry <rbarry@redhat.com> *Gesendet:* Donnerstag, 23. November 2017 23:33:34 *An:* Kilian Ries; Lev Veyde; users *Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Can you grab imgbased.log?
To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum install ovirt-node-ng-image-update" from the CLI instead of engine so we can get full logs would be useful
On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com> wrote:
---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org" <Users@ovirt.org>
Hi,
just tried to upgrade from
ovirt-node-ng-4.1.1.1-0.20170504.0+1
to
ovirt-node-ng-4.1.7-0.20171108.0+1
but it failed:
###
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/4: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos - u
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/4: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/4: ovirt-node-ng-image-update.noarch 0:4.1.1.1-1.el7.centos - ud
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages
self._miniyum.processTransaction()
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in processTransaction
_('One or more elements within Yum transaction failed')
RuntimeError: One or more elements within Yum transaction failed
2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': One or more elements within Yum transaction failed
2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db (0%)
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db 374 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db 53 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db 18 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db 7.6 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(76%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(100%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db 6.5 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db 851 (100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db 312 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)
2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Transaction close failed: Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in endTransaction
if self._yb.history_undo(transactionCurrent):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in history_undo
if self.install(pkgtup=pkg.pkgtup):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in install
raise Errors.InstallError, _('No package(s) available to install')
InstallError: Kein(e) Paket(e) zum Installieren verfügbar.
###
Some more information on my system:
###
$ mount
...
/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw,relatime,discard,stripe=128,data=ordered)
$ imgbase layout
ovirt-node-ng-4.1.1.1-0.20170406.0
ovirt-node-ng-4.1.1.1-0.20170504.0
+- ovirt-node-ng-4.1.1.1-0.20170504.0+1
ovirt-node-ng-4.1.7-0.20171108.0
+- ovirt-node-ng-4.1.7-0.20171108.0+1
$ rpm -q ovirt-node-ng-image
Das Paket ovirt-node-ng-image ist nicht installiert
$ nodectl check
Status: OK
Bootloader ... OK
Layer boot entries ... OK
Valid boot entries ... OK
Mount points ... OK
Separate /var ... OK
Discard is used ... OK
Basic storage ... OK
Initialized VG ... OK
Initialized Thin Pool ... OK
Initialized LVs ... OK
Thin storage ... OK
Checking available space in thinpool ... OK
Checking thinpool auto-extend ... OK
vdsmd ... OK
###
I can restart my Node and VMs are running, but oVirt Engine tells me no update is available. It seems 4.1.7 is installed, but Node still boots the old 4.1.1 image.
Can i force run the upgrade again or is there another way to fix this?
Thanks
Greets
Kilian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
lev@redhat.com | lveyde@redhat.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
--
RYAN BARRY
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
Red Hat NA <https://www.redhat.com/>
rbarry@redhat.com M: +1-651-815-9306 IM: rbarry <https://red.ht/sig>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--_000_fad3c017cc0d467196e6955f73cee64ckilianriesde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable @Yuval Turgeman ### [17:27:10][root@vm5:~]$semanage permissive -a setfiles_t SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). OSError: No such file or directory ### @Ryan Barry Manual yum upgrade finished without any error but imgbased.log still shows = me the following: ### 2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': T= rue, 'size': '1G'} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--no= headings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open fil= e '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheading= s', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr= ': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home onn/tmp onn/var_log onn/var_log_audit 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', '/etc'],) {} 2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/e= tc'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc Traceback (most recent call last): File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 109, in on_new_layer check_nist_layout(imgbase, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 179, in check_nist_layout v.create(t, paths[t]["size"], paths[t]["attach"]) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume= .py", line 48, in create "Path is already a volume: %s" % where AssertionError: Path is already a volume: /home 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main= __.py", line 53, in <module> CliApplication() File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init= __.py", line 82, in CliApplication app.hooks.emit("post-arg-parse", args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 56, in post_argparse base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.FILENAME) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 118, in extract "%s" % size, nvr) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 99, in add_base_with_tree new_layer_lv =3D self.imgbase.add_layer(new_base) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbas= e.py", line 191, in add_layer self.hooks.emit("new-layer-added", prev_lv, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 123, in on_new_layer raise ConfigMigrationError() imgbased.plugins.osupdater.ConfigMigrationError ### ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com> Gesendet: Sonntag, 26. November 2017 17:23:55 An: Kilian Ries Cc: Ryan Barry; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Hi, Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ? Thanks, Yuval On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de<mailto:m= ail@kilian-ries.de>> wrote: This is the imgbased.log: https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0 Ok, i'll try your steps and come back later ... ________________________________ Von: Ryan Barry <rbarry@redhat.com<mailto:rbarry@redhat.com>> Gesendet: Donnerstag, 23. November 2017 23:33:34 An: Kilian Ries; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum = install ovirt-node-ng-image-update" from the CLI instead of engine so we ca= n get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com<mailto:lveyde@re= dhat.com>> wrote: ---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de<mailto:mail@kilian-ries.de>> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org<mailto:Users@ovirt.org>" <Users@ovirt.org<mailto:Users= @ovirt.org>> Hi, just tried to upgrade from ovirt-node-ng-4.1.1.1-0.20170504.0+1 to ovirt-node-ng-4.1.7-0.20171108.0+1 but it failed: ### 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 1/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.7-1.el7.centos - u 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 2/4: ovirt-node-ng-imag= e-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 3/4: ovirt-node-ng-imag= e.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 4/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.1.1-1.el7.centos - ud 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Transaction processed 2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method e= xception Traceback (most recent call last): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _ex= ecuteMethod method['method']() File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py"= , line 261, in _packages self._miniyum.processTransaction() File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in pr= ocessTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed 2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed t= o execute stage 'Package installation': One or more elements within Yum tra= nsaction failed 2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting = 'Yum Transaction' 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Performing yum transaction roll= back 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db (0%) 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db 374 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = 53 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db 18 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= 7.6 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(7= 6%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(1= 00%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db (0%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db 6.5 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db 851 (100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= 312 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%= ) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 = k(100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k= (100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100= %) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%) 2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpack= ager.error:85 Yum Transaction close failed: Traceback (most recent call las= t): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in end= Transaction if self._yb.history_undo(transactionCurrent): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in hi= story_undo if self.install(pkgtup=3Dpkg.pkgtup): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in in= stall raise Errors.InstallError, _('No package(s) available to install') InstallError: Kein(e) Paket(e) zum Installieren verf?gbar. ### Some more information on my system: ### $ mount ... /dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw= ,relatime,discard,stripe=3D128,data=3Dordered) $ imgbase layout ovirt-node-ng-4.1.1.1-0.20170406.0 ovirt-node-ng-4.1.1.1-0.20170504.0 +- ovirt-node-ng-4.1.1.1-0.20170504.0+1 ovirt-node-ng-4.1.7-0.20171108.0 +- ovirt-node-ng-4.1.7-0.20171108.0+1 $ rpm -q ovirt-node-ng-image Das Paket ovirt-node-ng-image ist nicht installiert $ nodectl check Status: OK Bootloader ... OK Layer boot entries ... OK Valid boot entries ... OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK ### I can restart my Node and VMs are running, but oVirt Engine tells me no upd= ate is available. It seems 4.1.7 is installed, but Node still boots the old= 4.1.1 image. Can i force run the upgrade again or is there another way to fix this? Thanks Greets Kilian _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Lev Veyde Software Engineer, RHCE | RHCVA | MCITP Red Hat Israel <https://www.redhat.com> lev@redhat.com<mailto:lev@redhat.com> | lveyde@redhat.com<mailto:lveyde@red= hat.com> [https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-bl= ack.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> -- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA<https://www.redhat.com/> rbarry@redhat.com<mailto:rbarry@redhat.com> M: +1-651-815-9306 IM: r= barry [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/si= g> _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users --_000_fad3c017cc0d467196e6955f73cee64ckilianriesde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>@Yuval Turgeman</p> <p><br> </p> <p>###</p> <p><br> </p> <p>[17:27:10][root@vm5:~]$semanage permissive -a setfiles_t</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/policy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/policy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_policy: load_policy returned error code 2. (= No such file or directory).</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/policy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/policy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_policy: load_policy returned error code 2. (= No such file or directory).</p> <p>OSError: No such file or directory</p> <p><br> </p> <p>###</p> <p><br> </p> <p>@Ryan Barry</p> <p><br> </p> <p>Manual yum upgrade finished without any error but imgbased.log still sho= ws me the following:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach'= : True, 'size': '1G'}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '-= -noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <op= en file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--nohead= ings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'std= err': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home &= nbsp; </p> <p> onn/tmp </p> <p> onn/var_log </p> <p> onn/var_log_audit</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', '/etc'],) {}</p> <p>2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', = '/etc'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 109, in on_new_layer</p> <p> check_nist_layout(imgbase, new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 179, in check_nist_layout</p> <p> v.create(t, paths[t]["size"], paths[t]["att= ach"])</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/volume.py", line 48, in create</p> <p> "Path is already a volume: %s" % where</p> <p>AssertionError: Path is already a volume: /home</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: </p> <p>Traceback (most recent call last):</p> <p> File "/usr/lib64/python2.7/runpy.py", line 162, in _run= _module_as_main</p> <p> "__main__", fname, loader, pkg_name)</p> <p> File "/usr/lib64/python2.7/runpy.py", line 72, in _run_= code</p> <p> exec code in run_globals</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/__main__.py", line 53, in <module></p> <p> CliApplication()</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/__init__.py", line 82, in CliApplication</p> <p> app.hooks.emit("post-arg-parse", args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 56, in post_argparse</p> <p> base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.= FILENAME)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 118, in extract</p> <p> "%s" % size, nvr)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 99, in add_base_with_tree</p> <p> new_layer_lv =3D self.imgbase.add_layer(new_base)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/imgbase.py", line 191, in add_layer</p> <p> self.hooks.emit("new-layer-added", prev_lv, new_= lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 123, in on_new_layer</p> <p> raise ConfigMigrationError()</p> <p>imgbased.plugins.osupdater.ConfigMigrationError</p> <p><br> </p> <p>###</p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Yuval Turgeman <yuv= alt@redhat.com><br> <b>Gesendet:</b> Sonntag, 26. November 2017 17:23:55<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> Ryan Barry; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div dir=3D"ltr"> <div> <div>Hi,<br> <br> Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ?<br> <br> </div> Thanks,<br> </div> Yuval<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <s= pan dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_3225153557063564599divtagdefaultwrapper" style=3D"font-size:12= pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif"> <p>This is the imgbased.log:</p> <p><br> </p> <p><a href=3D"https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz= ?dl=3D0" class=3D"m_3225153557063564599OWAAutoLink" id=3D"m_322515355706356= 4599LPlnk215706" target=3D"_blank">https://www.dropbox.com/s/<wbr>v9dmgz14c= pzfcsn/imgbased.log.<wbr>tar.gz?dl=3D0</a><br> <br> </p> <p>Ok, i'll try your steps and come back later ...</p> <p><br> </p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_3225153557063564599divRplyFwdMsg" dir=3D"ltr"><font style=3D"f= ont-size:11pt" face=3D"Calibri, sans-serif" color=3D"#000000"><b>Von:</b> R= yan Barry <<a href=3D"mailto:rbarry@redhat.com" target=3D"_blank">rbarry= @redhat.com</a>><br> <b>Gesendet:</b> Donnerstag, 23. November 2017 23:33:34<br> <b>An:</b> Kilian Ries; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div class=3D"h5"> <div> <div> <div dir=3D"auto">Can you grab imgbased.log?</div> <div dir=3D"auto"><br> </div> <div dir=3D"auto">To retry, "rpm -e ovirt-node-ng-image-update" a= nd remove the new LVs. "yum install ovirt-node-ng-image-update" f= rom the CLI instead of engine so we can get full logs would be useful</div> <br> <div class=3D"gmail_quote"> <div>On Thu, Nov 23, 2017 at 16:01 Lev Veyde <<a href=3D"mailto:lveyde@r= edhat.com" target=3D"_blank">lveyde@redhat.com</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div><br> <div class=3D"gmail_quote">---------- Forwarded message ----------<br> From: <b class=3D"gmail_sendername">Kilian Ries</b> <span><<a href=3D"ma= ilto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ries.de</a>></sp= an><br> Date: Thu, Nov 23, 2017 at 5:16 PM<br> Subject: [ovirt-users] oVirt Node ng upgrade failed<br> To: "<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">User= s@ovirt.org</a>><br> <br> <br> <div> <div id=3D"m_3225153557063564599m_8500358924454763051m_8666893865273150534d= ivtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font-family:Cali= bri,Arial,Helvetica,sans-serif"> <p>Hi,</p> <p><br> </p> <p>just tried to upgrade from </p> <p><br> </p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0+1<br> </p> <p><br> </p> <p>to</p> <p><br> </p> <p>ovirt-node-ng-4.1.7-0.<wbr>20171108.0+1<br> </p> <p><br> </p> <p>but it failed:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 1/4: ovirt-node-ng-image-update.<wbr>no= arch 0:4.1.7-1.el7.centos - u</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 2/4: ovirt-node-ng-image-update-<wbr>pl= aceholder.noarch 0:4.1.1.1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1= .1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 4/4: ovirt-node-ng-image-update.<wbr>no= arch 0:4.1.1.1-1.el7.centos - ud</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Transaction processed</p> <p>2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 metho= d exception</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/context.py&= quot;, line 132, in _executeMethod</p> <p> method['method']()</p> <p> File "/tmp/ovirt-3JI9q14aGS/otopi-<wbr>plugins/otopi/package= rs/<wbr>yumpackager.py", line 261, in _packages</p> <p> self._miniyum.<wbr>processTransaction()</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/miniyum.py&= quot;, line 1049, in processTransaction</p> <p> _('One or more elements within Yum transaction failed')</p=
<p>RuntimeError: One or more elements within Yum transaction failed</p> <p>2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Faile= d to execute stage 'Package installation': One or more elements within Yum = transaction failed</p> <p>2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborti= ng 'Yum Transaction'</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Performing yum transaction rollback</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr=
64/filelists_db (0%)</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/filelists_db 374 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db 53 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)<= /p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100= %)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)</p=
<p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)</= p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/filelists_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/filelists_db 18 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/other_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/other_db 7.6 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db (0%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db 7.5 M(76%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db 9.9 M(100%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%= )</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9= M(100%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/filelists_db (0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/filelists_db 6.5 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/other_db 851 (100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr=
filelists_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db 312 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db 84 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/<wbr>filel= ists_db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/<wbr>filel= ists_db 4.5 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db 1.4 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%= )</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9= k(100%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)</p=
<p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(1= 00%)</p> <p>2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.error:85 Yum Transaction close failed: Traceback (most recent = call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/miniyum.py&= quot;, line 761, in endTransaction</p> <p> if self._yb.history_undo(<wbr>transactionCurrent):</p> <p> File "/usr/lib/python2.7/site-<wbr>packages/yum/__init__.py&= quot;, line 6086, in history_undo</p> <p> if self.install(pkgtup=3Dpkg.<wbr>pkgtup):</p> <p> File "/usr/lib/python2.7/site-<wbr>packages/yum/__init__.py&= quot;, line 4910, in install</p> <p> raise Errors.InstallError, _('No package(s) available to i= nstall')</p> <p>InstallError: Kein(e) Paket(e) zum Installieren verfügbar.</p> <p><br> </p> <p>###</p> <p><br> </p> <p><br> </p> <p>Some more information on my system:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>$ mount</p> <p>...</p> <p>/dev/mapper/onn-ovirt--node--<wbr>ng--4.1.1.1--0.20170504.0+1 on / t= ype ext4 (rw,relatime,discard,stripe=3D<wbr>128,data=3Dordered)</p> <p><br> </p> <p><br> </p> <p>$ imgbase layout</p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170406.0</p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0</p> <p> +- ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0+1</p> <p>ovirt-node-ng-4.1.7-0.<wbr>20171108.0</p> <p> +- ovirt-node-ng-4.1.7-0.<wbr>20171108.0+1</p> <p> </p> <p> <span style=3D"font-size:12pt"> </span></p> <p>$ rpm -q ovirt-node-ng-image</p> <p>Das Paket ovirt-node-ng-image ist nicht installiert</p> <p><br> </p> <p><br> </p> <p>$ nodectl check</p> <p>Status: OK</p> <p>Bootloader ... OK</p> <p> Layer boot entries ... OK</p> <p> Valid boot entries ... OK</p> <p>Mount points ... OK</p> <p> Separate /var ... OK</p> <p> Discard is used ... OK</p> <p>Basic storage ... OK</p> <p> Initialized VG ... OK</p> <p> Initialized Thin Pool ... OK</p> <p> Initialized LVs ... OK</p> <p>Thin storage ... OK</p> <p> Checking available space in thinpool ... OK</p> <p> Checking thinpool auto-extend ... OK</p> <p></p> <p>vdsmd ... OK</p> <p></p> <p><br> </p> <p>###</p> <p><br> </p> <p>I can restart my Node and VMs are running, but oVirt Engine tells me no = update is available. It seems 4.1.7 is installed, but Node still boots the = old 4.1.1 image. </p> <p><br> </p> <p>Can i force run the upgrade again or is there another way to fix this?</= p> <p><br> </p> <p>Thanks</p> <p>Greets</p> <span class=3D"m_3225153557063564599m_8500358924454763051HOEnZb"><font colo= r=3D"#888888"> <p>Kilian</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> </font></span></div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><= br> <br> </div> <br> <br clear=3D"all"> <br> </div> <div>-- <br> <div class=3D"m_3225153557063564599m_8500358924454763051gmail_signature" da= ta-smartmail=3D"gmail_signature"> <div> <div> <div> <div> <div> <div> <div> <div><br> <div> <p style=3D"font-weight:bold;margin:0;padding:0;font-size:14px;text-transfo= rm:uppercase;margin-bottom:0"> <span>Lev</span> <span>Veyde</span></p> <p style=3D"font-weight:normal;font-size:10px;margin:0px 0px 4px;text-trans= form:uppercase"> <span>Software Engineer</span><span style=3D"color:rgb(204,204,204)">, <spa= n style=3D"font-weight:normal;color:#aaa;margin:0"> RHCE | RHCVA | MCITP</span></span></p> <p style=3D"font-weight:normal;margin:0;font-size:10px;color:#999"><a style= =3D"color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:= 'overpass',sans-serif" href=3D"https://www.redhat.com" target=3D"_blank">Re= d Hat <span>Israel<br> <br> </span></a></p> <p style=3D"font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(= 153,153,153)"> <span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088ce;font-size:= 10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href= =3D"mailto:lev@redhat.com" target=3D"_blank">lev@redhat.com</a> | </span><span><span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088= ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans= -serif" href=3D"mailto:lveyde@redhat.com" target=3D"_blank">lveyde@redhat.c= om</a></span></span> </p> <a href=3D"https://red.ht/sig" target=3D"_blank"><img width=3D"90" height= =3D"auto" src=3D"https://www.redhat.com/profiles/rh/themes/redhatdotcom/img= /logo-red-hat-black.png"></a> <div><a href=3D"https://redhat.com/trusted" style=3D"text-decoration:none;c= olor:#c00;font-weight:bold" target=3D"_blank">TRIED. TESTED. TRUSTED.</a></= div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> </div> <div dir=3D"ltr">-- <br> </div> <div class=3D"m_3225153557063564599gmail_signature" data-smartmail=3D"gmail= _signature"> <div dir=3D"ltr"> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bo= ld;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"> <span>RYAN</span> <span>BARRY</span></p> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px= ;margin:0px 0px 4px;text-transform:uppercase"> <span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR</span></p> <p style=3D"font-family:overpass,sans-serif;margin:0px;font-size:10px;color= :rgb(153,153,153)"> <a href=3D"https://www.redhat.com/" style=3D"color:rgb(0,136,206);margin:0p= x" target=3D"_blank">Red Hat <span>NA</span></a></p> <p style=3D"font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10= px;color:rgb(153,153,153)"> <span style=3D"margin:0px;padding:0px"><a href=3D"mailto:rbarry@redhat.com"= style=3D"color:rgb(0,136,206);margin:0px" target=3D"_blank">rbarry@redhat.= com</a> </span> <span>M: <a style=3D"color:rgb(0,136,= 206);font-size:11px;margin:0px">+1-651-815-9306</a> <= /span> <span>IM: <span>rbarry</span></span></p> <table style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:= medium" border=3D"0"> <tbody> <tr> <td width=3D"100px"><a href=3D"https://red.ht/sig" target=3D"_blank"><img w= idth=3D"90" height=3D"auto" src=3D"https://www.redhat.com/files/brand/email= /sig-redhat.png"></a></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </body> </html> --_000_fad3c017cc0d467196e6955f73cee64ckilianriesde_--

--_000_591e091f6afb491b966ebd51e7bd9982kilianriesde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable @Ryan Barry ok, i think i have to remove ALL new lvs ... but for example tmp is mounted= : ### /usr/share/ovirt-node-ng/image/ovirt-node-ng-4.1.5-0.20171108.0.el7.squashf= s.img (deleted) on /tmp/tmp.ipxGZrbQEi type squashfs (ro,relatime) /tmp/tmp.ipxGZrbQEi/LiveOS/rootfs.img on /tmp/tmp.ipxGZrbQEi type ext4 (ro,= relatime,data=3Dordered) /usr/share/ovirt-node-ng/image/ovirt-node-ng-4.1.5-0.20171108.0.el7.squashf= s.img (deleted) on /tmp/tmp.1KX8MH6TKC type squashfs (ro,relatime) /tmp/tmp.1KX8MH6TKC/LiveOS/rootfs.img on /tmp/tmp.1KX8MH6TKC type ext4 (ro,= relatime,data=3Dordered) ### Is it safe to unmount & delete all of the new lvs? - home - tmp - var_log - var_log_audit ________________________________ Von: Kilian Ries Gesendet: Dienstag, 28. November 2017 17:31:32 An: Yuval Turgeman Cc: Ryan Barry; Lev Veyde; users Betreff: AW: [ovirt-users] oVirt Node ng upgrade failed @Yuval Turgeman ### [17:27:10][root@vm5:~]$semanage permissive -a setfiles_t SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). OSError: No such file or directory ### @Ryan Barry Manual yum upgrade finished without any error but imgbased.log still shows = me the following: ### 2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': T= rue, 'size': '1G'} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--no= headings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open fil= e '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheading= s', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr= ': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home onn/tmp onn/var_log onn/var_log_audit 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', '/etc'],) {} 2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/e= tc'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc Traceback (most recent call last): File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 109, in on_new_layer check_nist_layout(imgbase, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 179, in check_nist_layout v.create(t, paths[t]["size"], paths[t]["attach"]) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume= .py", line 48, in create "Path is already a volume: %s" % where AssertionError: Path is already a volume: /home 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main= __.py", line 53, in <module> CliApplication() File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init= __.py", line 82, in CliApplication app.hooks.emit("post-arg-parse", args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 56, in post_argparse base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.FILENAME) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 118, in extract "%s" % size, nvr) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 99, in add_base_with_tree new_layer_lv =3D self.imgbase.add_layer(new_base) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbas= e.py", line 191, in add_layer self.hooks.emit("new-layer-added", prev_lv, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 123, in on_new_layer raise ConfigMigrationError() imgbased.plugins.osupdater.ConfigMigrationError ### ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com> Gesendet: Sonntag, 26. November 2017 17:23:55 An: Kilian Ries Cc: Ryan Barry; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Hi, Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ? Thanks, Yuval On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de<mailto:m= ail@kilian-ries.de>> wrote: This is the imgbased.log: https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0 Ok, i'll try your steps and come back later ... ________________________________ Von: Ryan Barry <rbarry@redhat.com<mailto:rbarry@redhat.com>> Gesendet: Donnerstag, 23. November 2017 23:33:34 An: Kilian Ries; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum = install ovirt-node-ng-image-update" from the CLI instead of engine so we ca= n get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com<mailto:lveyde@re= dhat.com>> wrote: ---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de<mailto:mail@kilian-ries.de>> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org<mailto:Users@ovirt.org>" <Users@ovirt.org<mailto:Users= @ovirt.org>> Hi, just tried to upgrade from ovirt-node-ng-4.1.1.1-0.20170504.0+1 to ovirt-node-ng-4.1.7-0.20171108.0+1 but it failed: ### 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 1/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.7-1.el7.centos - u 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 2/4: ovirt-node-ng-imag= e-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 3/4: ovirt-node-ng-imag= e.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 4/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.1.1-1.el7.centos - ud 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Transaction processed 2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method e= xception Traceback (most recent call last): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _ex= ecuteMethod method['method']() File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py"= , line 261, in _packages self._miniyum.processTransaction() File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in pr= ocessTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed 2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed t= o execute stage 'Package installation': One or more elements within Yum tra= nsaction failed 2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting = 'Yum Transaction' 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Performing yum transaction roll= back 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db (0%) 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db 374 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = 53 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db 18 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= 7.6 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(7= 6%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(1= 00%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db (0%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db 6.5 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db 851 (100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= 312 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%= ) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 = k(100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k= (100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100= %) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%) 2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpack= ager.error:85 Yum Transaction close failed: Traceback (most recent call las= t): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in end= Transaction if self._yb.history_undo(transactionCurrent): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in hi= story_undo if self.install(pkgtup=3Dpkg.pkgtup): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in in= stall raise Errors.InstallError, _('No package(s) available to install') InstallError: Kein(e) Paket(e) zum Installieren verf?gbar. ### Some more information on my system: ### $ mount ... /dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw= ,relatime,discard,stripe=3D128,data=3Dordered) $ imgbase layout ovirt-node-ng-4.1.1.1-0.20170406.0 ovirt-node-ng-4.1.1.1-0.20170504.0 +- ovirt-node-ng-4.1.1.1-0.20170504.0+1 ovirt-node-ng-4.1.7-0.20171108.0 +- ovirt-node-ng-4.1.7-0.20171108.0+1 $ rpm -q ovirt-node-ng-image Das Paket ovirt-node-ng-image ist nicht installiert $ nodectl check Status: OK Bootloader ... OK Layer boot entries ... OK Valid boot entries ... OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK ### I can restart my Node and VMs are running, but oVirt Engine tells me no upd= ate is available. It seems 4.1.7 is installed, but Node still boots the old= 4.1.1 image. Can i force run the upgrade again or is there another way to fix this? Thanks Greets Kilian _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Lev Veyde Software Engineer, RHCE | RHCVA | MCITP Red Hat Israel <https://www.redhat.com> lev@redhat.com<mailto:lev@redhat.com> | lveyde@redhat.com<mailto:lveyde@red= hat.com> [https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-bl= ack.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> -- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA<https://www.redhat.com/> rbarry@redhat.com<mailto:rbarry@redhat.com> M: +1-651-815-9306 IM: r= barry [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/si= g> _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users --_000_591e091f6afb491b966ebd51e7bd9982kilianriesde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>@Ryan Barry</p> <p><br> </p> <p>ok, i think i have to remove ALL new lvs ... but for example tmp is moun= ted:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>/usr/share/ovirt-node-ng/image/ovirt-node-ng-4.1.5-0.20171108.0.el7.squa= shfs.img (deleted) on /tmp/tmp.ipxGZrbQEi type squashfs (ro,relatime)</p> <p>/tmp/tmp.ipxGZrbQEi/LiveOS/rootfs.img on /tmp/tmp.ipxGZrbQEi type ext4 (= ro,relatime,data=3Dordered)</p> <p>/usr/share/ovirt-node-ng/image/ovirt-node-ng-4.1.5-0.20171108.0.el7.squa= shfs.img (deleted) on /tmp/tmp.1KX8MH6TKC type squashfs (ro,relatime)</p> <p>/tmp/tmp.1KX8MH6TKC/LiveOS/rootfs.img on /tmp/tmp.1KX8MH6TKC type ext4 (= ro,relatime,data=3Dordered)</p> <p><br> </p> <p>###</p> <p><br> </p> <p>Is it safe to unmount & delete all of the new lvs?</p> <p><br> </p> <p>- home</p> <p>- tmp</p> <p>- var_log</p> <p>- var_log_audit</p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Kilian Ries<br> <b>Gesendet:</b> Dienstag, 28. November 2017 17:31:32<br> <b>An:</b> Yuval Turgeman<br> <b>Cc:</b> Ryan Barry; Lev Veyde; users<br> <b>Betreff:</b> AW: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div><style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;= margin-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>@Yuval Turgeman</p> <p><br> </p> <p>###</p> <p><br> </p> <p>[17:27:10][root@vm5:~]$semanage permissive -a setfiles_t</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/policy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/policy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_policy: load_policy returned error code 2. (= No such file or directory).</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/policy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/policy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_policy: load_policy returned error code 2. (= No such file or directory).</p> <p>OSError: No such file or directory</p> <p><br> </p> <p>###</p> <p><br> </p> <p>@Ryan Barry</p> <p><br> </p> <p>Manual yum upgrade finished without any error but imgbased.log still sho= ws me the following:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach'= : True, 'size': '1G'}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '-= -noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <op= en file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--nohead= ings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'std= err': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home &= nbsp; </p> <p> onn/tmp </p> <p> onn/var_log </p> <p> onn/var_log_audit</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', '/etc'],) {}</p> <p>2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', = '/etc'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 109, in on_new_layer</p> <p> check_nist_layout(imgbase, new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 179, in check_nist_layout</p> <p> v.create(t, paths[t]["size"], paths[t]["att= ach"])</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/volume.py", line 48, in create</p> <p> "Path is already a volume: %s" % where</p> <p>AssertionError: Path is already a volume: /home</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: </p> <p>Traceback (most recent call last):</p> <p> File "/usr/lib64/python2.7/runpy.py", line 162, in _run= _module_as_main</p> <p> "__main__", fname, loader, pkg_name)</p> <p> File "/usr/lib64/python2.7/runpy.py", line 72, in _run_= code</p> <p> exec code in run_globals</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/__main__.py", line 53, in <module></p> <p> CliApplication()</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/__init__.py", line 82, in CliApplication</p> <p> app.hooks.emit("post-arg-parse", args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 56, in post_argparse</p> <p> base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.= FILENAME)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 118, in extract</p> <p> "%s" % size, nvr)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/update.py", line 99, in add_base_with_tree</p> <p> new_layer_lv =3D self.imgbase.add_layer(new_base)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/imgbase.py", line 191, in add_layer</p> <p> self.hooks.emit("new-layer-added", prev_lv, new_= lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/im= gbased/plugins/osupdater.py", line 123, in on_new_layer</p> <p> raise ConfigMigrationError()</p> <p>imgbased.plugins.osupdater.ConfigMigrationError</p> <p><br> </p> <p>###</p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Yuval Turgeman <yuv= alt@redhat.com><br> <b>Gesendet:</b> Sonntag, 26. November 2017 17:23:55<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> Ryan Barry; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div dir=3D"ltr"> <div> <div>Hi,<br> <br> Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ?<br> <br> </div> Thanks,<br> </div> Yuval<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <s= pan dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_3225153557063564599divtagdefaultwrapper" style=3D"font-size:12= pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif"> <p>This is the imgbased.log:</p> <p><br> </p> <p><a href=3D"https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz= ?dl=3D0" class=3D"m_3225153557063564599OWAAutoLink" id=3D"m_322515355706356= 4599LPlnk215706" target=3D"_blank">https://www.dropbox.com/s/<wbr>v9dmgz14c= pzfcsn/imgbased.log.<wbr>tar.gz?dl=3D0</a><br> <br> </p> <p>Ok, i'll try your steps and come back later ...</p> <p><br> </p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_3225153557063564599divRplyFwdMsg" dir=3D"ltr"><font style=3D"f= ont-size:11pt" face=3D"Calibri, sans-serif" color=3D"#000000"><b>Von:</b> R= yan Barry <<a href=3D"mailto:rbarry@redhat.com" target=3D"_blank">rbarry= @redhat.com</a>><br> <b>Gesendet:</b> Donnerstag, 23. November 2017 23:33:34<br> <b>An:</b> Kilian Ries; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div class=3D"h5"> <div> <div> <div dir=3D"auto">Can you grab imgbased.log?</div> <div dir=3D"auto"><br> </div> <div dir=3D"auto">To retry, "rpm -e ovirt-node-ng-image-update" a= nd remove the new LVs. "yum install ovirt-node-ng-image-update" f= rom the CLI instead of engine so we can get full logs would be useful</div> <br> <div class=3D"gmail_quote"> <div>On Thu, Nov 23, 2017 at 16:01 Lev Veyde <<a href=3D"mailto:lveyde@r= edhat.com" target=3D"_blank">lveyde@redhat.com</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div><br> <div class=3D"gmail_quote">---------- Forwarded message ----------<br> From: <b class=3D"gmail_sendername">Kilian Ries</b> <span><<a href=3D"ma= ilto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ries.de</a>></sp= an><br> Date: Thu, Nov 23, 2017 at 5:16 PM<br> Subject: [ovirt-users] oVirt Node ng upgrade failed<br> To: "<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">User= s@ovirt.org</a>><br> <br> <br> <div> <div id=3D"m_3225153557063564599m_8500358924454763051m_8666893865273150534d= ivtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font-family:Cali= bri,Arial,Helvetica,sans-serif"> <p>Hi,</p> <p><br> </p> <p>just tried to upgrade from </p> <p><br> </p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0+1<br> </p> <p><br> </p> <p>to</p> <p><br> </p> <p>ovirt-node-ng-4.1.7-0.<wbr>20171108.0+1<br> </p> <p><br> </p> <p>but it failed:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 1/4: ovirt-node-ng-image-update.<wbr>no= arch 0:4.1.7-1.el7.centos - u</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 2/4: ovirt-node-ng-image-update-<wbr>pl= aceholder.noarch 0:4.1.1.1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1= .1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 4/4: ovirt-node-ng-image-update.<wbr>no= arch 0:4.1.1.1-1.el7.centos - ud</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Transaction processed</p> <p>2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 metho= d exception</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/context.py&= quot;, line 132, in _executeMethod</p> <p> method['method']()</p> <p> File "/tmp/ovirt-3JI9q14aGS/otopi-<wbr>plugins/otopi/package= rs/<wbr>yumpackager.py", line 261, in _packages</p> <p> self._miniyum.<wbr>processTransaction()</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/miniyum.py&= quot;, line 1049, in processTransaction</p> <p> _('One or more elements within Yum transaction failed')</p=
<p>RuntimeError: One or more elements within Yum transaction failed</p> <p>2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Faile= d to execute stage 'Package installation': One or more elements within Yum = transaction failed</p> <p>2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborti= ng 'Yum Transaction'</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Performing yum transaction rollback</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr=
64/filelists_db (0%)</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/filelists_db 374 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db 53 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)<= /p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100= %)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)</p=
<p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)</= p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/filelists_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/filelists_db 18 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/other_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/<wbr>x8= 6_64/other_db 7.6 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db (0%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db 7.5 M(76%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/<wbr>filelis= ts_db 9.9 M(100%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%= )</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9= M(100%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/filelists_db (0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/filelists_db 6.5 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-<wbr>= epel/x86_64/other_db 851 (100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr=
filelists_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db 312 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db 84 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/<wbr>filel= ists_db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/<wbr>filel= ists_db 4.5 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db 1.4 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%= )</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9= k(100%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)</p=
<p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(1= 00%)</p> <p>2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.error:85 Yum Transaction close failed: Traceback (most recent = call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/<wbr>pythonlib/otopi/miniyum.py&= quot;, line 761, in endTransaction</p> <p> if self._yb.history_undo(<wbr>transactionCurrent):</p> <p> File "/usr/lib/python2.7/site-<wbr>packages/yum/__init__.py&= quot;, line 6086, in history_undo</p> <p> if self.install(pkgtup=3Dpkg.<wbr>pkgtup):</p> <p> File "/usr/lib/python2.7/site-<wbr>packages/yum/__init__.py&= quot;, line 4910, in install</p> <p> raise Errors.InstallError, _('No package(s) available to i= nstall')</p> <p>InstallError: Kein(e) Paket(e) zum Installieren verfügbar.</p> <p><br> </p> <p>###</p> <p><br> </p> <p><br> </p> <p>Some more information on my system:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>$ mount</p> <p>...</p> <p>/dev/mapper/onn-ovirt--node--<wbr>ng--4.1.1.1--0.20170504.0+1 on / t= ype ext4 (rw,relatime,discard,stripe=3D<wbr>128,data=3Dordered)</p> <p><br> </p> <p><br> </p> <p>$ imgbase layout</p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170406.0</p> <p>ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0</p> <p> +- ovirt-node-ng-4.1.1.1-0.<wbr>20170504.0+1</p> <p>ovirt-node-ng-4.1.7-0.<wbr>20171108.0</p> <p> +- ovirt-node-ng-4.1.7-0.<wbr>20171108.0+1</p> <p> </p> <p> <span style=3D"font-size:12pt"> </span></p> <p>$ rpm -q ovirt-node-ng-image</p> <p>Das Paket ovirt-node-ng-image ist nicht installiert</p> <p><br> </p> <p><br> </p> <p>$ nodectl check</p> <p>Status: OK</p> <p>Bootloader ... OK</p> <p> Layer boot entries ... OK</p> <p> Valid boot entries ... OK</p> <p>Mount points ... OK</p> <p> Separate /var ... OK</p> <p> Discard is used ... OK</p> <p>Basic storage ... OK</p> <p> Initialized VG ... OK</p> <p> Initialized Thin Pool ... OK</p> <p> Initialized LVs ... OK</p> <p>Thin storage ... OK</p> <p> Checking available space in thinpool ... OK</p> <p> Checking thinpool auto-extend ... OK</p> <p></p> <p>vdsmd ... OK</p> <p></p> <p><br> </p> <p>###</p> <p><br> </p> <p>I can restart my Node and VMs are running, but oVirt Engine tells me no = update is available. It seems 4.1.7 is installed, but Node still boots the = old 4.1.1 image. </p> <p><br> </p> <p>Can i force run the upgrade again or is there another way to fix this?</= p> <p><br> </p> <p>Thanks</p> <p>Greets</p> <span class=3D"m_3225153557063564599m_8500358924454763051HOEnZb"><font colo= r=3D"#888888"> <p>Kilian</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> </font></span></div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><= br> <br> </div> <br> <br clear=3D"all"> <br> </div> <div>-- <br> <div class=3D"m_3225153557063564599m_8500358924454763051gmail_signature" da= ta-smartmail=3D"gmail_signature"> <div> <div> <div> <div> <div> <div> <div> <div><br> <div> <p style=3D"font-weight:bold;margin:0;padding:0;font-size:14px;text-transfo= rm:uppercase;margin-bottom:0"> <span>Lev</span> <span>Veyde</span></p> <p style=3D"font-weight:normal;font-size:10px;margin:0px 0px 4px;text-trans= form:uppercase"> <span>Software Engineer</span><span style=3D"color:rgb(204,204,204)">, <spa= n style=3D"font-weight:normal;color:#aaa;margin:0"> RHCE | RHCVA | MCITP</span></span></p> <p style=3D"font-weight:normal;margin:0;font-size:10px;color:#999"><a style= =3D"color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:= 'overpass',sans-serif" href=3D"https://www.redhat.com" target=3D"_blank">Re= d Hat <span>Israel<br> <br> </span></a></p> <p style=3D"font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(= 153,153,153)"> <span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088ce;font-size:= 10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href= =3D"mailto:lev@redhat.com" target=3D"_blank">lev@redhat.com</a> | </span><span><span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088= ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans= -serif" href=3D"mailto:lveyde@redhat.com" target=3D"_blank">lveyde@redhat.c= om</a></span></span> </p> <a href=3D"https://red.ht/sig" target=3D"_blank"><img width=3D"90" height= =3D"auto" src=3D"https://www.redhat.com/profiles/rh/themes/redhatdotcom/img= /logo-red-hat-black.png"></a> <div><a href=3D"https://redhat.com/trusted" style=3D"text-decoration:none;c= olor:#c00;font-weight:bold" target=3D"_blank">TRIED. TESTED. TRUSTED.</a></= div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> </div> <div dir=3D"ltr">-- <br> </div> <div class=3D"m_3225153557063564599gmail_signature" data-smartmail=3D"gmail= _signature"> <div dir=3D"ltr"> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bo= ld;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"> <span>RYAN</span> <span>BARRY</span></p> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px= ;margin:0px 0px 4px;text-transform:uppercase"> <span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR</span></p> <p style=3D"font-family:overpass,sans-serif;margin:0px;font-size:10px;color= :rgb(153,153,153)"> <a href=3D"https://www.redhat.com/" style=3D"color:rgb(0,136,206);margin:0p= x" target=3D"_blank">Red Hat <span>NA</span></a></p> <p style=3D"font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10= px;color:rgb(153,153,153)"> <span style=3D"margin:0px;padding:0px"><a href=3D"mailto:rbarry@redhat.com"= style=3D"color:rgb(0,136,206);margin:0px" target=3D"_blank">rbarry@redhat.= com</a> </span> <span>M: <a style=3D"color:rgb(0,136,= 206);font-size:11px;margin:0px">+1-651-815-9306</a> <= /span> <span>IM: <span>rbarry</span></span></p> <table style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:= medium" border=3D"0"> <tbody> <tr> <td width=3D"100px"><a href=3D"https://red.ht/sig" target=3D"_blank"><img w= idth=3D"90" height=3D"auto" src=3D"https://www.redhat.com/files/brand/email= /sig-redhat.png"></a></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </div> </body> </html> --_000_591e091f6afb491b966ebd51e7bd9982kilianriesde_--

Looks like selinux is broken on your machine for some reason, can you share /etc/selinux ? Thanks, Yuval. On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <mail@kilian-ries.de> wrote:
@Yuval Turgeman
###
[17:27:10][root@vm5:~]$semanage permissive -a setfiles_t
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
OSError: No such file or directory
###
@Ryan Barry
Manual yum upgrade finished without any error but imgbased.log still shows me the following:
###
2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': True, 'size': '1G'}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home
onn/tmp
onn/var_log
onn/var_log_audit
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-l', '/etc'],) {}
2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/etc'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc
Traceback (most recent call last):
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/ imgbased/plugins/osupdater.py", line 109, in on_new_layer
check_nist_layout(imgbase, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/ imgbased/plugins/osupdater.py", line 179, in check_nist_layout
v.create(t, paths[t]["size"], paths[t]["attach"])
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume.py", line 48, in create
"Path is already a volume: %s" % where
AssertionError: Path is already a volume: /home
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
CliApplication()
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
app.hooks.emit("post-arg-parse", args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 56, in post_argparse
base_lv, _ = LiveimgExtractor(app.imgbase).extract(args.FILENAME)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 118, in extract
"%s" % size, nvr)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 99, in add_base_with_tree
new_layer_lv = self.imgbase.add_layer(new_base)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 191, in add_layer
self.hooks.emit("new-layer-added", prev_lv, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/ imgbased/plugins/osupdater.py", line 123, in on_new_layer
raise ConfigMigrationError()
imgbased.plugins.osupdater.ConfigMigrationError
### ------------------------------ *Von:* Yuval Turgeman <yuvalt@redhat.com> *Gesendet:* Sonntag, 26. November 2017 17:23:55 *An:* Kilian Ries *Cc:* Ryan Barry; Lev Veyde; users
*Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Hi,
Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and share your output ?
Thanks, Yuval
On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de> wrote:
This is the imgbased.log:
https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=0
Ok, i'll try your steps and come back later ...
------------------------------ *Von:* Ryan Barry <rbarry@redhat.com> *Gesendet:* Donnerstag, 23. November 2017 23:33:34 *An:* Kilian Ries; Lev Veyde; users *Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Can you grab imgbased.log?
To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum install ovirt-node-ng-image-update" from the CLI instead of engine so we can get full logs would be useful
On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com> wrote:
---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org" <Users@ovirt.org>
Hi,
just tried to upgrade from
ovirt-node-ng-4.1.1.1-0.20170504.0+1
to
ovirt-node-ng-4.1.7-0.20171108.0+1
but it failed:
###
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/4: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos - u
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/4: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/4: ovirt-node-ng-image-update.noarch 0:4.1.1.1-1.el7.centos - ud
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages
self._miniyum.processTransaction()
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in processTransaction
_('One or more elements within Yum transaction failed')
RuntimeError: One or more elements within Yum transaction failed
2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': One or more elements within Yum transaction failed
2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db (0%)
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db 374 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db 53 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db 18 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db 7.6 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(76%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(100%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db 6.5 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db 851 (100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db 312 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)
2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Transaction close failed: Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in endTransaction
if self._yb.history_undo(transactionCurrent):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in history_undo
if self.install(pkgtup=pkg.pkgtup):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in install
raise Errors.InstallError, _('No package(s) available to install')
InstallError: Kein(e) Paket(e) zum Installieren verfügbar.
###
Some more information on my system:
###
$ mount
...
/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw,relatime,discard,stripe=128,data=ordered)
$ imgbase layout
ovirt-node-ng-4.1.1.1-0.20170406.0
ovirt-node-ng-4.1.1.1-0.20170504.0
+- ovirt-node-ng-4.1.1.1-0.20170504.0+1
ovirt-node-ng-4.1.7-0.20171108.0
+- ovirt-node-ng-4.1.7-0.20171108.0+1
$ rpm -q ovirt-node-ng-image
Das Paket ovirt-node-ng-image ist nicht installiert
$ nodectl check
Status: OK
Bootloader ... OK
Layer boot entries ... OK
Valid boot entries ... OK
Mount points ... OK
Separate /var ... OK
Discard is used ... OK
Basic storage ... OK
Initialized VG ... OK
Initialized Thin Pool ... OK
Initialized LVs ... OK
Thin storage ... OK
Checking available space in thinpool ... OK
Checking thinpool auto-extend ... OK
vdsmd ... OK
###
I can restart my Node and VMs are running, but oVirt Engine tells me no update is available. It seems 4.1.7 is installed, but Node still boots the old 4.1.1 image.
Can i force run the upgrade again or is there another way to fix this?
Thanks
Greets
Kilian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
lev@redhat.com | lveyde@redhat.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
--
RYAN BARRY
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
Red Hat NA <https://www.redhat.com/>
rbarry@redhat.com M: +1-651-815-9306 IM: rbarry <https://red.ht/sig>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Kilian, did you disable selinux by any chance ? (selinux=0 on boot) ? On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman <yuvalt@redhat.com> wrote:
Looks like selinux is broken on your machine for some reason, can you share /etc/selinux ?
Thanks, Yuval.
On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <mail@kilian-ries.de> wrote:
@Yuval Turgeman
###
[17:27:10][root@vm5:~]$semanage permissive -a setfiles_t
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
OSError: No such file or directory
###
@Ryan Barry
Manual yum upgrade finished without any error but imgbased.log still shows me the following:
###
2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': True, 'size': '1G'}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home
onn/tmp
onn/var_log
onn/var_log_audit
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-l', '/etc'],) {}
2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/etc'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc
Traceback (most recent call last):
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 109, in on_new_layer
check_nist_layout(imgbase, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 179, in check_nist_layout
v.create(t, paths[t]["size"], paths[t]["attach"])
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume.py", line 48, in create
"Path is already a volume: %s" % where
AssertionError: Path is already a volume: /home
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
CliApplication()
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
app.hooks.emit("post-arg-parse", args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 56, in post_argparse
base_lv, _ = LiveimgExtractor(app.imgbase).extract(args.FILENAME)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 118, in extract
"%s" % size, nvr)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 99, in add_base_with_tree
new_layer_lv = self.imgbase.add_layer(new_base)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 191, in add_layer
self.hooks.emit("new-layer-added", prev_lv, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 123, in on_new_layer
raise ConfigMigrationError()
imgbased.plugins.osupdater.ConfigMigrationError
### ------------------------------ *Von:* Yuval Turgeman <yuvalt@redhat.com> *Gesendet:* Sonntag, 26. November 2017 17:23:55 *An:* Kilian Ries *Cc:* Ryan Barry; Lev Veyde; users
*Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Hi,
Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and share your output ?
Thanks, Yuval
On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de> wrote:
This is the imgbased.log:
https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=0
Ok, i'll try your steps and come back later ...
------------------------------ *Von:* Ryan Barry <rbarry@redhat.com> *Gesendet:* Donnerstag, 23. November 2017 23:33:34 *An:* Kilian Ries; Lev Veyde; users *Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Can you grab imgbased.log?
To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum install ovirt-node-ng-image-update" from the CLI instead of engine so we can get full logs would be useful
On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com> wrote:
---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org" <Users@ovirt.org>
Hi,
just tried to upgrade from
ovirt-node-ng-4.1.1.1-0.20170504.0+1
to
ovirt-node-ng-4.1.7-0.20171108.0+1
but it failed:
###
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/4: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos - u
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/4: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/4: ovirt-node-ng-image-update.noarch 0:4.1.1.1-1.el7.centos - ud
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages
self._miniyum.processTransaction()
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in processTransaction
_('One or more elements within Yum transaction failed')
RuntimeError: One or more elements within Yum transaction failed
2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': One or more elements within Yum transaction failed
2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db (0%)
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db 374 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db 53 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db 18 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db 7.6 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(76%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(100%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db 6.5 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db 851 (100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db 312 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)
2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Transaction close failed: Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in endTransaction
if self._yb.history_undo(transactionCurrent):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in history_undo
if self.install(pkgtup=pkg.pkgtup):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in install
raise Errors.InstallError, _('No package(s) available to install')
InstallError: Kein(e) Paket(e) zum Installieren verfügbar.
###
Some more information on my system:
###
$ mount
...
/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw,relatime,discard,stripe=128,data=ordered)
$ imgbase layout
ovirt-node-ng-4.1.1.1-0.20170406.0
ovirt-node-ng-4.1.1.1-0.20170504.0
+- ovirt-node-ng-4.1.1.1-0.20170504.0+1
ovirt-node-ng-4.1.7-0.20171108.0
+- ovirt-node-ng-4.1.7-0.20171108.0+1
$ rpm -q ovirt-node-ng-image
Das Paket ovirt-node-ng-image ist nicht installiert
$ nodectl check
Status: OK
Bootloader ... OK
Layer boot entries ... OK
Valid boot entries ... OK
Mount points ... OK
Separate /var ... OK
Discard is used ... OK
Basic storage ... OK
Initialized VG ... OK
Initialized Thin Pool ... OK
Initialized LVs ... OK
Thin storage ... OK
Checking available space in thinpool ... OK
Checking thinpool auto-extend ... OK
vdsmd ... OK
###
I can restart my Node and VMs are running, but oVirt Engine tells me no update is available. It seems 4.1.7 is installed, but Node still boots the old 4.1.1 image.
Can i force run the upgrade again or is there another way to fix this?
Thanks
Greets
Kilian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
lev@redhat.com | lveyde@redhat.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
--
RYAN BARRY
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
Red Hat NA <https://www.redhat.com/>
rbarry@redhat.com M: +1-651-815-9306 IM: rbarry <https://red.ht/sig>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--_000_2d684205159e416da359bc9fb96138c5kilianriesde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, selinux is disabled via /etc/selinux/config; Is that the problem? :/ ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com> Gesendet: Donnerstag, 30. November 2017 09:13:34 An: Kilian Ries Cc: users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Kilian, did you disable selinux by any chance ? (selinux=3D0 on boot) ? On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman <yuvalt@redhat.com<mailto:y= uvalt@redhat.com>> wrote: Looks like selinux is broken on your machine for some reason, can you share= /etc/selinux ? Thanks, Yuval. On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <mail@kilian-ries.de<mailto:ma= il@kilian-ries.de>> wrote: @Yuval Turgeman ### [17:27:10][root@vm5:~]$semanage permissive -a setfiles_t SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). OSError: No such file or directory ### @Ryan Barry Manual yum upgrade finished without any error but imgbased.log still shows = me the following: ### 2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': T= rue, 'size': '1G'} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--no= headings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open fil= e '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheading= s', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr= ': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home onn/tmp onn/var_log onn/var_log_audit 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', '/etc'],) {} 2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/e= tc'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc Traceback (most recent call last): File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 109, in on_new_layer check_nist_layout(imgbase, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 179, in check_nist_layout v.create(t, paths[t]["size"], paths[t]["attach"]) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume= .py", line 48, in create "Path is already a volume: %s" % where AssertionError: Path is already a volume: /home 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main= __.py", line 53, in <module> CliApplication() File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init= __.py", line 82, in CliApplication app.hooks.emit("post-arg-parse", args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 56, in post_argparse base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.FILENAME) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 118, in extract "%s" % size, nvr) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 99, in add_base_with_tree new_layer_lv =3D self.imgbase.add_layer(new_base) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbas= e.py", line 191, in add_layer self.hooks.emit("new-layer-added", prev_lv, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 123, in on_new_layer raise ConfigMigrationError() imgbased.plugins.osupdater.ConfigMigrationError ### ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com<mailto:yuvalt@redhat.com>> Gesendet: Sonntag, 26. November 2017 17:23:55 An: Kilian Ries Cc: Ryan Barry; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Hi, Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ? Thanks, Yuval On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de<mailto:m= ail@kilian-ries.de>> wrote: This is the imgbased.log: https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0 Ok, i'll try your steps and come back later ... ________________________________ Von: Ryan Barry <rbarry@redhat.com<mailto:rbarry@redhat.com>> Gesendet: Donnerstag, 23. November 2017 23:33:34 An: Kilian Ries; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum = install ovirt-node-ng-image-update" from the CLI instead of engine so we ca= n get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com<mailto:lveyde@re= dhat.com>> wrote: ---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de<mailto:mail@kilian-ries.de>> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org<mailto:Users@ovirt.org>" <Users@ovirt.org<mailto:Users= @ovirt.org>> Hi, just tried to upgrade from ovirt-node-ng-4.1.1.1-0.20170504.0+1 to ovirt-node-ng-4.1.7-0.20171108.0+1 but it failed: ### 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 1/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.7-1.el7.centos - u 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 2/4: ovirt-node-ng-imag= e-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 3/4: ovirt-node-ng-imag= e.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 4/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.1.1-1.el7.centos - ud 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Transaction processed 2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method e= xception Traceback (most recent call last): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _ex= ecuteMethod method['method']() File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py"= , line 261, in _packages self._miniyum.processTransaction() File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in pr= ocessTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed 2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed t= o execute stage 'Package installation': One or more elements within Yum tra= nsaction failed 2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting = 'Yum Transaction' 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Performing yum transaction roll= back 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db (0%) 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db 374 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = 53 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db 18 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= 7.6 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(7= 6%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(1= 00%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db (0%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db 6.5 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db 851 (100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= 312 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%= ) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 = k(100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k= (100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100= %) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%) 2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpack= ager.error:85 Yum Transaction close failed: Traceback (most recent call las= t): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in end= Transaction if self._yb.history_undo(transactionCurrent): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in hi= story_undo if self.install(pkgtup=3Dpkg.pkgtup): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in in= stall raise Errors.InstallError, _('No package(s) available to install') InstallError: Kein(e) Paket(e) zum Installieren verf?gbar. ### Some more information on my system: ### $ mount ... /dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw= ,relatime,discard,stripe=3D128,data=3Dordered) $ imgbase layout ovirt-node-ng-4.1.1.1-0.20170406.0 ovirt-node-ng-4.1.1.1-0.20170504.0 +- ovirt-node-ng-4.1.1.1-0.20170504.0+1 ovirt-node-ng-4.1.7-0.20171108.0 +- ovirt-node-ng-4.1.7-0.20171108.0+1 $ rpm -q ovirt-node-ng-image Das Paket ovirt-node-ng-image ist nicht installiert $ nodectl check Status: OK Bootloader ... OK Layer boot entries ... OK Valid boot entries ... OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK ### I can restart my Node and VMs are running, but oVirt Engine tells me no upd= ate is available. It seems 4.1.7 is installed, but Node still boots the old= 4.1.1 image. Can i force run the upgrade again or is there another way to fix this? Thanks Greets Kilian _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Lev Veyde Software Engineer, RHCE | RHCVA | MCITP Red Hat Israel <https://www.redhat.com> lev@redhat.com<mailto:lev@redhat.com> | lveyde@redhat.com<mailto:lveyde@red= hat.com> [https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-bl= ack.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> -- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA<https://www.redhat.com/> rbarry@redhat.com<mailto:rbarry@redhat.com> M: +1-651-815-9306 IM: r= barry [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/si= g> _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users --_000_2d684205159e416da359bc9fb96138c5kilianriesde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>Yes, selinux is disabled via /etc/selinux/config; Is that the problem? := / </p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Yuval Turgeman <yuv= alt@redhat.com><br> <b>Gesendet:</b> Donnerstag, 30. November 2017 09:13:34<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div dir=3D"ltr">Kilian, did you disable selinux by any chance ? (selinux= =3D0 on boot) ?<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman = <span dir=3D"ltr"> <<a href=3D"mailto:yuvalt@redhat.com" target=3D"_blank">yuvalt@redhat.co= m</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div dir=3D"ltr"> <div> <div>Looks like selinux is broken on your machine for some reason, can you = share /etc/selinux ?<br> <br> </div> Thanks,<br> </div> Yuval.<br> </div> <div class=3D"HOEnZb"> <div class=3D"h5"> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <sp= an dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_-1313660588895756320m_9198890517029248108divtagdefaultwrapper"= style=3D"font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,= sans-serif"> <p>@Yuval Turgeman</p> <p><br> </p> <p>###</p> <p><br> </p> <p>[17:27:10][root@vm5:~]$semanag<wbr>e permissive -a setfiles_t</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/p<wbr>olicy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/p<wbr>olicy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_po<wbr>licy: load_policy returned error code= 2. (No such file or directory).</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/p<wbr>olicy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/p<wbr>olicy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_po<wbr>licy: load_policy returned error code= 2. (No such file or directory).</p> <p>OSError: No such file or directory</p> <p><br> </p> <p>###</p> <p><br> </p> <p>@Ryan Barry</p> <p><br> </p> <p>Manual yum upgrade finished without any error but imgbased.log still sho= ws me the following:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach'= : True, 'size': '1G'}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '-= -noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <op= en file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--nohead= ings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'std= err': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home &= nbsp; </p> <p> onn/tmp </p> <p> onn/var_log </p> <p> onn/var_log_audit</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', '/etc'],) {}</p> <p>2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', = '/etc'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc</p> <span> <p>Traceback (most recent call last):</p> </span> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 109, in on_new_layer</p> <p> check_nist_layout(imgbase, new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 179, in check_nist_layout= </p> <p> v.create(t, paths[t]["size"], paths[t]["att= ach"])</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/volume.py", line 48, in create</p> <p> "Path is already a volume: %s" % where</p> <p>AssertionError: Path is already a volume: /home</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: </p> <span> <p>Traceback (most recent call last):</p> </span> <p> File "/usr/lib64/python2.7/runpy.py<wbr>", line 162, in= _run_module_as_main</p> <p> "__main__", fname, loader, pkg_name)</p> <p> File "/usr/lib64/python2.7/runpy.py<wbr>", line 72, in = _run_code</p> <p> exec code in run_globals</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/__main__.py", line 53, in <module></p> <p> CliApplication()</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/__init__.py", line 82, in CliApplication</p> <p> app.hooks.emit("post-arg-parse<wbr>", args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 56, in post_argparse</p> <p> base_lv, _ =3D LiveimgExtractor(app.imgbase).<wbr>extract(= args.FILENAME)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 118, in extract</p> <p> "%s" % size, nvr)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 99, in add_base_with_tree</p=
<p> new_layer_lv =3D self.imgbase.add_layer(new_bas<wbr>e)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/imgbase.py", line 191, in add_layer</p> <p> self.hooks.emit("new-layer-add<wbr>ed", prev_lv,= new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 123, in on_new_layer</p> <p> raise ConfigMigrationError()</p> <p>imgbased.plugins.osupdater.Con<wbr>figMigrationError</p> <p><br> </p> <p>###</p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_-1313660588895756320m_9198890517029248108divRplyFwdMsg" dir=3D= "ltr"><font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"= #000000"><b>Von:</b> Yuval Turgeman <<a href=3D"mailto:yuvalt@redhat.com= " target=3D"_blank">yuvalt@redhat.com</a>><br> <b>Gesendet:</b> Sonntag, 26. November 2017 17:23:55<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> Ryan Barry; Lev Veyde; users <div> <div class=3D"m_-1313660588895756320h5"><br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</div> </div> </font> <div> </div> </div> <div> <div class=3D"m_-1313660588895756320h5"> <div> <div dir=3D"ltr"> <div> <div>Hi,<br> <br> Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ?<br> <br> </div> Thanks,<br> </div> Yuval<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <s= pan dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_-1313660588895756320m_9198890517029248108m_3225153557063564599= divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font-family:Cal= ibri,Arial,Helvetica,sans-serif"> <p>This is the imgbased.log:</p> <p><br> </p> <p><a href=3D"https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz= ?dl=3D0" class=3D"m_-1313660588895756320m_9198890517029248108m_322515355706= 3564599OWAAutoLink" id=3D"m_-1313660588895756320m_9198890517029248108m_3225= 153557063564599LPlnk215706" target=3D"_blank">https://www.dropbox.com/s/v9d= m<wbr>gz14cpzfcsn/imgbased.log.tar.g<wbr>z?dl=3D0</a><br> <br> </p> <p>Ok, i'll try your steps and come back later ...</p> <p><br> </p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_-1313660588895756320m_9198890517029248108m_3225153557063564599= divRplyFwdMsg" dir=3D"ltr"> <font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#00000= 0"><b>Von:</b> Ryan Barry <<a href=3D"mailto:rbarry@redhat.com" target= =3D"_blank">rbarry@redhat.com</a>><br> <b>Gesendet:</b> Donnerstag, 23. November 2017 23:33:34<br> <b>An:</b> Kilian Ries; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div class=3D"m_-1313660588895756320m_9198890517029248108h5"> <div> <div> <div dir=3D"auto">Can you grab imgbased.log?</div> <div dir=3D"auto"><br> </div> <div dir=3D"auto">To retry, "rpm -e ovirt-node-ng-image-update" a= nd remove the new LVs. "yum install ovirt-node-ng-image-update" f= rom the CLI instead of engine so we can get full logs would be useful</div> <br> <div class=3D"gmail_quote"> <div>On Thu, Nov 23, 2017 at 16:01 Lev Veyde <<a href=3D"mailto:lveyde@r= edhat.com" target=3D"_blank">lveyde@redhat.com</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div><br> <div class=3D"gmail_quote">---------- Forwarded message ----------<br> From: <b class=3D"gmail_sendername">Kilian Ries</b> <span><<a href=3D"ma= ilto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ries.de</a>></sp= an><br> Date: Thu, Nov 23, 2017 at 5:16 PM<br> Subject: [ovirt-users] oVirt Node ng upgrade failed<br> To: "<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">User= s@ovirt.org</a>><br> <br> <br> <div> <div id=3D"m_-1313660588895756320m_9198890517029248108m_3225153557063564599= m_8500358924454763051m_8666893865273150534divtagdefaultwrapper" style=3D"fo= nt-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif"> <p>Hi,</p> <p><br> </p> <p>just tried to upgrade from </p> <p><br> </p> <p>ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0+1<br> </p> <p><br> </p> <p>to</p> <p><br> </p> <p>ovirt-node-ng-4.1.7-0.20171108<wbr>.0+1<br> </p> <p><br> </p> <p>but it failed:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 1/4: ovirt-node-ng-image-update.noa<wbr=
rch 0:4.1.7-1.el7.centos - u</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 2/4: ovirt-node-ng-image-update-pla<wbr= ceholder.noarch 0:4.1.1.1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1= .1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 4/4: ovirt-node-ng-image-update.noa<wbr= rch 0:4.1.1.1-1.el7.centos - ud</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Transaction processed</p> <p>2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 metho= d exception</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/context.py&= quot;, line 132, in _executeMethod</p> <p> method['method']()</p> <p> File "/tmp/ovirt-3JI9q14aGS/otopi-p<wbr>lugins/otopi/package= rs/yumpack<wbr>ager.py", line 261, in _packages</p> <p> self._miniyum.processTransacti<wbr>on()</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/miniyum.py&= quot;, line 1049, in processTransaction</p> <p> _('One or more elements within Yum transaction failed')</p=
<p>RuntimeError: One or more elements within Yum transaction failed</p> <p>2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Faile= d to execute stage 'Package installation': One or more elements within Yum = transaction failed</p> <p>2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborti= ng 'Yum Transaction'</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Performing yum transaction rollback</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr=
64/filelists_db (0%)</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/filelists_db 374 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db 53 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)<= /p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100= %)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)</p=
<p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)</= p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr=
_64/filelists_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/filelists_db 18 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/other_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/other_db 7.6 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db (0%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db 7.5 M(76%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db 9.9 M(100%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%= )</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9= M(100%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/filelists_db (0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/filelists_db 6.5 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/other_db 851 (100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db 312 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db 84 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/fileli<wbr= sts_db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/fileli<wbr= sts_db 4.5 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db 1.4 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%= )</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9= k(100%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)</p=
<p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(1= 00%)</p> <p>2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.error:85 Yum Transaction close failed: Traceback (most recent = call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/miniyum.py&= quot;, line 761, in endTransaction</p> <p> if self._yb.history_undo(transact<wbr>ionCurrent):</p> <p> File "/usr/lib/python2.7/site-packa<wbr>ges/yum/__init__.py&= quot;, line 6086, in history_undo</p> <p> if self.install(pkgtup=3Dpkg.pkgtup<wbr>):</p> <p> File "/usr/lib/python2.7/site-packa<wbr>ges/yum/__init__.py&= quot;, line 4910, in install</p> <p> raise Errors.InstallError, _('No package(s) available to i= nstall')</p> <p>InstallError: Kein(e) Paket(e) zum Installieren verfügbar.</p> <p><br> </p> <p>###</p> <p><br> </p> <p><br> </p> <p>Some more information on my system:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>$ mount</p> <p>...</p> <p>/dev/mapper/onn-ovirt--node--n<wbr>g--4.1.1.1--0.20170504.0+1 on / t= ype ext4 (rw,relatime,discard,stripe=3D12<wbr>8,data=3Dordered)</p> <p><br> </p> <p><br> </p> <p>$ imgbase layout</p> <p>ovirt-node-ng-4.1.1.1-0.201704<wbr>06.0</p> <p>ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0</p> <p> +- ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0+1</p> <p>ovirt-node-ng-4.1.7-0.20171108<wbr>.0</p> <p> +- ovirt-node-ng-4.1.7-0.20171108<wbr>.0+1</p> <p> </p> <p> <span style=3D"font-size:12pt"> </span></p> <p>$ rpm -q ovirt-node-ng-image</p> <p>Das Paket ovirt-node-ng-image ist nicht installiert</p> <p><br> </p> <p><br> </p> <p>$ nodectl check</p> <p>Status: OK</p> <p>Bootloader ... OK</p> <p> Layer boot entries ... OK</p> <p> Valid boot entries ... OK</p> <p>Mount points ... OK</p> <p> Separate /var ... OK</p> <p> Discard is used ... OK</p> <p>Basic storage ... OK</p> <p> Initialized VG ... OK</p> <p> Initialized Thin Pool ... OK</p> <p> Initialized LVs ... OK</p> <p>Thin storage ... OK</p> <p> Checking available space in thinpool ... OK</p> <p> Checking thinpool auto-extend ... OK</p> <p></p> <p>vdsmd ... OK</p> <p></p> <p><br> </p> <p>###</p> <p><br> </p> <p>I can restart my Node and VMs are running, but oVirt Engine tells me no = update is available. It seems 4.1.7 is installed, but Node still boots the = old 4.1.1 image. </p> <p><br> </p> <p>Can i force run the upgrade again or is there another way to fix this?</= p> <p><br> </p> <p>Thanks</p> <p>Greets</p> <span class=3D"m_-1313660588895756320m_9198890517029248108m_322515355706356= 4599m_8500358924454763051HOEnZb"><font color=3D"#888888"> <p>Kilian</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> </font></span></div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </div> <br> <br clear=3D"all"> <br> </div> <div>-- <br> <div class=3D"m_-1313660588895756320m_9198890517029248108m_3225153557063564= 599m_8500358924454763051gmail_signature" data-smartmail=3D"gmail_signature"=
<div> <div> <div> <div> <div> <div> <div> <div><br> <div> <p style=3D"font-weight:bold;margin:0;padding:0;font-size:14px;text-transfo= rm:uppercase;margin-bottom:0"> <span>Lev</span> <span>Veyde</span></p> <p style=3D"font-weight:normal;font-size:10px;margin:0px 0px 4px;text-trans= form:uppercase"> <span>Software Engineer</span><span style=3D"color:rgb(204,204,204)">, <spa= n style=3D"font-weight:normal;color:#aaa;margin:0"> RHCE | RHCVA | MCITP</span></span></p> <p style=3D"font-weight:normal;margin:0;font-size:10px;color:#999"><a style= =3D"color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:= 'overpass',sans-serif" href=3D"https://www.redhat.com" target=3D"_blank">Re= d Hat <span>Israel<br> <br> </span></a></p> <p style=3D"font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(= 153,153,153)"> <span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088ce;font-size:= 10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href= =3D"mailto:lev@redhat.com" target=3D"_blank">lev@redhat.com</a> | </span><span><span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088= ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans= -serif" href=3D"mailto:lveyde@redhat.com" target=3D"_blank">lveyde@redhat.c= om</a></span></span> </p> <a href=3D"https://red.ht/sig" target=3D"_blank"><img width=3D"90" height= =3D"auto" src=3D"https://www.redhat.com/profiles/rh/themes/redhatdotcom/img= /logo-red-hat-black.png"></a> <div><a href=3D"https://redhat.com/trusted" style=3D"text-decoration:none;c= olor:#c00;font-weight:bold" target=3D"_blank">TRIED. TESTED. TRUSTED.</a></= div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> </div> <div dir=3D"ltr">-- <br> </div> <div class=3D"m_-1313660588895756320m_9198890517029248108m_3225153557063564= 599gmail_signature" data-smartmail=3D"gmail_signature"> <div dir=3D"ltr"> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bo= ld;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"> <span>RYAN</span> <span>BARRY</span></p> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px= ;margin:0px 0px 4px;text-transform:uppercase"> <span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR</span></p> <p style=3D"font-family:overpass,sans-serif;margin:0px;font-size:10px;color= :rgb(153,153,153)"> <a href=3D"https://www.redhat.com/" style=3D"color:rgb(0,136,206);margin:0p= x" target=3D"_blank">Red Hat <span>NA</span></a></p> <p style=3D"font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10= px;color:rgb(153,153,153)"> <span style=3D"margin:0px;padding:0px"><a href=3D"mailto:rbarry@redhat.com"= style=3D"color:rgb(0,136,206);margin:0px" target=3D"_blank">rbarry@redhat.= com</a> </span> <span>M: <a style=3D"color:rgb(0,136,= 206);font-size:11px;margin:0px">+1-651-815-9306</a> <= /span> <span>IM: <span>rbarry</span></span></p> <table style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:= medium" border=3D"0"> <tbody> <tr> <td width=3D"100px"><a href=3D"https://red.ht/sig" target=3D"_blank"><img w= idth=3D"90" height=3D"auto" src=3D"https://www.redhat.com/files/brand/email= /sig-redhat.png"></a></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </div> </blockquote> </div> <br> </div> </div> </body> </html> --_000_2d684205159e416da359bc9fb96138c5kilianriesde_--

Looks like it, yes - we try to add setfiles_t to permissive, because we assume selinux is on, and if it's disabled, semanage fails with the error you mentioned. Can you open a bug on this ? If you would like to fix the system, you will need to clean the unused LVs, remove the relevant boot entries from grub (if they exist) and /boot/ovirt-node-ng-4.1.7-0.20171108.0+1 (if it exists), then reinstall the rpm. On Thu, Nov 30, 2017 at 10:16 AM, Kilian Ries <mail@kilian-ries.de> wrote:
Yes, selinux is disabled via /etc/selinux/config; Is that the problem? :/ ------------------------------ *Von:* Yuval Turgeman <yuvalt@redhat.com> *Gesendet:* Donnerstag, 30. November 2017 09:13:34 *An:* Kilian Ries *Cc:* users
*Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Kilian, did you disable selinux by any chance ? (selinux=0 on boot) ?
On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman <yuvalt@redhat.com> wrote:
Looks like selinux is broken on your machine for some reason, can you share /etc/selinux ?
Thanks, Yuval.
On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <mail@kilian-ries.de> wrote:
@Yuval Turgeman
###
[17:27:10][root@vm5:~]$semanage permissive -a setfiles_t
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
OSError: No such file or directory
###
@Ryan Barry
Manual yum upgrade finished without any error but imgbased.log still shows me the following:
###
2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': True, 'size': '1G'}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home
onn/tmp
onn/var_log
onn/var_log_audit
2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-l', '/etc'],) {}
2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/etc'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.tuHU8'],) {}
2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc
Traceback (most recent call last):
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 109, in on_new_layer
check_nist_layout(imgbase, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 179, in check_nist_layout
v.create(t, paths[t]["size"], paths[t]["attach"])
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume.py", line 48, in create
"Path is already a volume: %s" % where
AssertionError: Path is already a volume: /home
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.bEW2k'],) {}
2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned:
2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.UB5Yg'],) {}
2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}
2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
CliApplication()
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
app.hooks.emit("post-arg-parse", args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 56, in post_argparse
base_lv, _ = LiveimgExtractor(app.imgbase).extract(args.FILENAME)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 118, in extract
"%s" % size, nvr)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 99, in add_base_with_tree
new_layer_lv = self.imgbase.add_layer(new_base)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 191, in add_layer
self.hooks.emit("new-layer-added", prev_lv, new_lv)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 123, in on_new_layer
raise ConfigMigrationError()
imgbased.plugins.osupdater.ConfigMigrationError
### ------------------------------ *Von:* Yuval Turgeman <yuvalt@redhat.com> *Gesendet:* Sonntag, 26. November 2017 17:23:55 *An:* Kilian Ries *Cc:* Ryan Barry; Lev Veyde; users
*Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Hi,
Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and share your output ?
Thanks, Yuval
On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de> wrote:
This is the imgbased.log:
https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=0
Ok, i'll try your steps and come back later ...
------------------------------ *Von:* Ryan Barry <rbarry@redhat.com> *Gesendet:* Donnerstag, 23. November 2017 23:33:34 *An:* Kilian Ries; Lev Veyde; users *Betreff:* Re: [ovirt-users] oVirt Node ng upgrade failed
Can you grab imgbased.log?
To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum install ovirt-node-ng-image-update" from the CLI instead of engine so we can get full logs would be useful
On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com> wrote:
---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org" <Users@ovirt.org>
Hi,
just tried to upgrade from
ovirt-node-ng-4.1.1.1-0.20170504.0+1
to
ovirt-node-ng-4.1.7-0.20171108.0+1
but it failed:
###
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/4: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos - u
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/4: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1.1-1.el7.centos - od
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/4: ovirt-node-ng-image-update.noarch 0:4.1.1.1-1.el7.centos - ud
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py", line 261, in _packages
self._miniyum.processTransaction()
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in processTransaction
_('One or more elements within Yum transaction failed')
RuntimeError: One or more elements within Yum transaction failed
2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': One or more elements within Yum transaction failed
2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db (0%)
2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists_db 374 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db 53 k(100%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)
2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%)
2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)
2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelists_db 18 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db (0%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db 7.6 k(100%)
2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(76%)
2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(100%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%)
2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db (0%)
2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/filelists_db 6.5 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/other_db 851 (100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db 312 k(100%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%)
2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%)
2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)
2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%)
2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Transaction close failed: Traceback (most recent call last):
File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in endTransaction
if self._yb.history_undo(transactionCurrent):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in history_undo
if self.install(pkgtup=pkg.pkgtup):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in install
raise Errors.InstallError, _('No package(s) available to install')
InstallError: Kein(e) Paket(e) zum Installieren verfügbar.
###
Some more information on my system:
###
$ mount
...
/dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw,relatime,discard,stripe=128,data=ordered)
$ imgbase layout
ovirt-node-ng-4.1.1.1-0.20170406.0
ovirt-node-ng-4.1.1.1-0.20170504.0
+- ovirt-node-ng-4.1.1.1-0.20170504.0+1
ovirt-node-ng-4.1.7-0.20171108.0
+- ovirt-node-ng-4.1.7-0.20171108.0+1
$ rpm -q ovirt-node-ng-image
Das Paket ovirt-node-ng-image ist nicht installiert
$ nodectl check
Status: OK
Bootloader ... OK
Layer boot entries ... OK
Valid boot entries ... OK
Mount points ... OK
Separate /var ... OK
Discard is used ... OK
Basic storage ... OK
Initialized VG ... OK
Initialized Thin Pool ... OK
Initialized LVs ... OK
Thin storage ... OK
Checking available space in thinpool ... OK
Checking thinpool auto-extend ... OK
vdsmd ... OK
###
I can restart my Node and VMs are running, but oVirt Engine tells me no update is available. It seems 4.1.7 is installed, but Node still boots the old 4.1.1 image.
Can i force run the upgrade again or is there another way to fix this?
Thanks
Greets
Kilian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
lev@redhat.com | lveyde@redhat.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
--
RYAN BARRY
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
Red Hat NA <https://www.redhat.com/>
rbarry@redhat.com M: +1-651-815-9306 IM: rbarry <https://red.ht/sig>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--_000_3d77df07f6c94e5e9b9173b88f499764kilianriesde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Bug is opened: https://bugzilla.redhat.com/show_bug.cgi?id=3D1519784 Ok, i try to fix my host next week. Thanks for your help ;) ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com> Gesendet: Donnerstag, 30. November 2017 09:22:39 An: Kilian Ries Cc: users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Looks like it, yes - we try to add setfiles_t to permissive, because we ass= ume selinux is on, and if it's disabled, semanage fails with the error you = mentioned. Can you open a bug on this ? If you would like to fix the system, you will need to clean the unused LVs,= remove the relevant boot entries from grub (if they exist) and /boot/ovirt= -node-ng-4.1.7-0.20171108.0+1 (if it exists), then reinstall the rpm. On Thu, Nov 30, 2017 at 10:16 AM, Kilian Ries <mail@kilian-ries.de<mailto:m= ail@kilian-ries.de>> wrote: Yes, selinux is disabled via /etc/selinux/config; Is that the problem? :/ ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com<mailto:yuvalt@redhat.com>> Gesendet: Donnerstag, 30. November 2017 09:13:34 An: Kilian Ries Cc: users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Kilian, did you disable selinux by any chance ? (selinux=3D0 on boot) ? On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman <yuvalt@redhat.com<mailto:y= uvalt@redhat.com>> wrote: Looks like selinux is broken on your machine for some reason, can you share= /etc/selinux ? Thanks, Yuval. On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <mail@kilian-ries.de<mailto:ma= il@kilian-ries.de>> wrote: @Yuval Turgeman ### [17:27:10][root@vm5:~]$semanage permissive -a setfiles_t SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/poli= cy.30, searching for an older version. SELinux: Could not open policy file <=3D /etc/selinux/targeted/policy/poli= cy.30: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No = such file or directory). OSError: No such file or directory ### @Ryan Barry Manual yum upgrade finished without any error but imgbased.log still shows = me the following: ### 2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach': T= rue, 'size': '1G'} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '--no= headings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <open fil= e '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--noheading= s', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'stderr= ': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>} 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home onn/tmp onn/var_log onn/var_log_audit 2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', '/etc'],) {} 2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', '/e= tc'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.tuHU8'],) {} 2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .tuHU8'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc Traceback (most recent call last): File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 109, in on_new_layer check_nist_layout(imgbase, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 179, in check_nist_layout v.create(t, paths[t]["size"], paths[t]["attach"]) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/volume= .py", line 48, in create "Path is already a volume: %s" % where AssertionError: Path is already a volume: /home 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.bEW2k'],) {} 2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .bEW2k'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount', '-= l', u'/tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/= tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: 2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/= tmp/mnt.UB5Yg'],) {} 2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt= .UB5Yg'],) {'close_fds': True, 'stderr': -2} 2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__main= __.py", line 53, in <module> CliApplication() File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/__init= __.py", line 82, in CliApplication app.hooks.emit("post-arg-parse", args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 56, in post_argparse base_lv, _ =3D LiveimgExtractor(app.imgbase).extract(args.FILENAME) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 118, in extract "%s" % size, nvr) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/update.py", line 99, in add_base_with_tree new_layer_lv =3D self.imgbase.add_layer(new_base) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/imgbas= e.py", line 191, in add_layer self.hooks.emit("new-layer-added", prev_lv, new_lv) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/hooks.= py", line 120, in emit cb(self.context, *args) File "/tmp/tmp.ipxGZrbQEi/usr/lib/python2.7/site-packages/imgbased/plugin= s/osupdater.py", line 123, in on_new_layer raise ConfigMigrationError() imgbased.plugins.osupdater.ConfigMigrationError ### ________________________________ Von: Yuval Turgeman <yuvalt@redhat.com<mailto:yuvalt@redhat.com>> Gesendet: Sonntag, 26. November 2017 17:23:55 An: Kilian Ries Cc: Ryan Barry; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Hi, Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ? Thanks, Yuval On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <mail@kilian-ries.de<mailto:m= ail@kilian-ries.de>> wrote: This is the imgbased.log: https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz?dl=3D0 Ok, i'll try your steps and come back later ... ________________________________ Von: Ryan Barry <rbarry@redhat.com<mailto:rbarry@redhat.com>> Gesendet: Donnerstag, 23. November 2017 23:33:34 An: Kilian Ries; Lev Veyde; users Betreff: Re: [ovirt-users] oVirt Node ng upgrade failed Can you grab imgbased.log? To retry, "rpm -e ovirt-node-ng-image-update" and remove the new LVs. "yum = install ovirt-node-ng-image-update" from the CLI instead of engine so we ca= n get full logs would be useful On Thu, Nov 23, 2017 at 16:01 Lev Veyde <lveyde@redhat.com<mailto:lveyde@re= dhat.com>> wrote: ---------- Forwarded message ---------- From: Kilian Ries <mail@kilian-ries.de<mailto:mail@kilian-ries.de>> Date: Thu, Nov 23, 2017 at 5:16 PM Subject: [ovirt-users] oVirt Node ng upgrade failed To: "Users@ovirt.org<mailto:Users@ovirt.org>" <Users@ovirt.org<mailto:Users= @ovirt.org>> Hi, just tried to upgrade from ovirt-node-ng-4.1.1.1-0.20170504.0+1 to ovirt-node-ng-4.1.7-0.20171108.0+1 but it failed: ### 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 1/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.7-1.el7.centos - u 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 2/4: ovirt-node-ng-imag= e-update-placeholder.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 3/4: ovirt-node-ng-imag= e.noarch 0:4.1.1.1-1.el7.centos - od 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Verify: 4/4: ovirt-node-ng-imag= e-update.noarch 0:4.1.1.1-1.el7.centos - ud 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Transaction processed 2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 method e= xception Traceback (most recent call last): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/context.py", line 132, in _ex= ecuteMethod method['method']() File "/tmp/ovirt-3JI9q14aGS/otopi-plugins/otopi/packagers/yumpackager.py"= , line 261, in _packages self._miniyum.processTransaction() File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 1049, in pr= ocessTransaction _('One or more elements within Yum transaction failed') RuntimeError: One or more elements within Yum transaction failed 2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Failed t= o execute stage 'Package installation': One or more elements within Yum tra= nsaction failed 2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborting = 'Yum Transaction' 2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpacka= ger.info:80<http://yumpackager.info:80> Yum Performing yum transaction roll= back 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db (0%) 2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/filelists= _db 374 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_64/other_db = 53 k(100%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%) 2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%) 2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%) 2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/filelist= s_db 18 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= (0%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86_64/other_db= 7.6 k(100%) 2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db (0%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 7.5 M(7= 6%) 2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelists_db 9.9 M(1= 00%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%) 2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9 M(100%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db (0%) 2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/f= ilelists_db 6.5 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-epel/x86_64/o= ther_db 851 (100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= (0%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/filelists_db= 312 k(100%) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db (0%= ) 2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/other_db 84 = k(100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/filelists_db 4.5 k= (100%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_db 1.4 k(100= %) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%) 2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9 k(100%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%) 2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpack= ager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(100%) 2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.yumpackager yumpack= ager.error:85 Yum Transaction close failed: Traceback (most recent call las= t): File "/tmp/ovirt-3JI9q14aGS/pythonlib/otopi/miniyum.py", line 761, in end= Transaction if self._yb.history_undo(transactionCurrent): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6086, in hi= story_undo if self.install(pkgtup=3Dpkg.pkgtup): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4910, in in= stall raise Errors.InstallError, _('No package(s) available to install') InstallError: Kein(e) Paket(e) zum Installieren verf?gbar. ### Some more information on my system: ### $ mount ... /dev/mapper/onn-ovirt--node--ng--4.1.1.1--0.20170504.0+1 on / type ext4 (rw= ,relatime,discard,stripe=3D128,data=3Dordered) $ imgbase layout ovirt-node-ng-4.1.1.1-0.20170406.0 ovirt-node-ng-4.1.1.1-0.20170504.0 +- ovirt-node-ng-4.1.1.1-0.20170504.0+1 ovirt-node-ng-4.1.7-0.20171108.0 +- ovirt-node-ng-4.1.7-0.20171108.0+1 $ rpm -q ovirt-node-ng-image Das Paket ovirt-node-ng-image ist nicht installiert $ nodectl check Status: OK Bootloader ... OK Layer boot entries ... OK Valid boot entries ... OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK ### I can restart my Node and VMs are running, but oVirt Engine tells me no upd= ate is available. It seems 4.1.7 is installed, but Node still boots the old= 4.1.1 image. Can i force run the upgrade again or is there another way to fix this? Thanks Greets Kilian _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Lev Veyde Software Engineer, RHCE | RHCVA | MCITP Red Hat Israel <https://www.redhat.com> lev@redhat.com<mailto:lev@redhat.com> | lveyde@redhat.com<mailto:lveyde@red= hat.com> [https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-bl= ack.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> -- RYAN BARRY SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR Red Hat NA<https://www.redhat.com/> rbarry@redhat.com<mailto:rbarry@redhat.com> M: +1-651-815-9306 IM: r= barry [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/si= g> _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users --_000_3d77df07f6c94e5e9b9173b88f499764kilianriesde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;"> <p>Bug is opened:</p> <p><br> </p> <p><a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1519784" class= =3D"OWAAutoLink" id=3D"LPlnk880749">https://bugzilla.redhat.com/show_bug.cg= i?id=3D1519784</a><br> </p> <p><br> </p> <p><br> </p> <p>Ok, i try to fix my host next week. Thanks for your help ;)</p> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Yuval Turgeman <yuv= alt@redhat.com><br> <b>Gesendet:</b> Donnerstag, 30. November 2017 09:22:39<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div dir=3D"ltr"> <div> <div>Looks like it, yes - we try to add setfiles_t to permissive, because w= e assume selinux is on, and if it's disabled, semanage fails with the error= you mentioned. Can you open a bug on this ?</div> <div><br> </div> If you would like to fix the system, you will need to clean the unused LVs,= remove the relevant boot entries from grub (if they exist) and /boot/ovirt= -node-ng-4.1.7-0.<wbr>20171108.0+1 (if it exists), then reinstall the r= pm.<br> </div> <br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Thu, Nov 30, 2017 at 10:16 AM, Kilian Ries <s= pan dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_-7401142892985060780divtagdefaultwrapper" style=3D"font-size:1= 2pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif"> <p>Yes, selinux is disabled via /etc/selinux/config; Is that the problem? := / </p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_-7401142892985060780divRplyFwdMsg" dir=3D"ltr"><font style=3D"= font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#000000"><b>Von:</b> = Yuval Turgeman <<a href=3D"mailto:yuvalt@redhat.com" target=3D"_blank">y= uvalt@redhat.com</a>><br> <b>Gesendet:</b> Donnerstag, 30. November 2017 09:13:34<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> users <div> <div class=3D"h5"><br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</div> </div> </font> <div> </div> </div> <div> <div class=3D"h5"> <div> <div dir=3D"ltr">Kilian, did you disable selinux by any chance ? (selinux= =3D0 on boot) ?<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Thu, Nov 30, 2017 at 9:57 AM, Yuval Turgeman = <span dir=3D"ltr"> <<a href=3D"mailto:yuvalt@redhat.com" target=3D"_blank">yuvalt@redhat.co= m</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div dir=3D"ltr"> <div> <div>Looks like selinux is broken on your machine for some reason, can you = share /etc/selinux ?<br> <br> </div> Thanks,<br> </div> Yuval.<br> </div> <div class=3D"m_-7401142892985060780HOEnZb"> <div class=3D"m_-7401142892985060780h5"> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Tue, Nov 28, 2017 at 6:31 PM, Kilian Ries <sp= an dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924810= 8divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font-family:Ca= libri,Arial,Helvetica,sans-serif"> <p>@Yuval Turgeman</p> <p><br> </p> <p>###</p> <p><br> </p> <p>[17:27:10][root@vm5:~]$semanag<wbr>e permissive -a setfiles_t</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/p<wbr>olicy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/p<wbr>olicy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_po<wbr>licy: load_policy returned error code= 2. (No such file or directory).</p> <p>SELinux: Could not downgrade policy file /etc/selinux/targeted/pol= icy/p<wbr>olicy.30, searching for an older version.</p> <p>SELinux: Could not open policy file <=3D /etc/selinux/targeted/= policy/p<wbr>olicy.30: No such file or directory</p> <p>/sbin/load_policy: Can't load policy: No such file or direct= ory</p> <p>libsemanage.semanage_reload_po<wbr>licy: load_policy returned error code= 2. (No such file or directory).</p> <p>OSError: No such file or directory</p> <p><br> </p> <p>###</p> <p><br> </p> <p>@Ryan Barry</p> <p><br> </p> <p>Manual yum upgrade finished without any error but imgbased.log still sho= ws me the following:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-28 17:25:28,372 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Creating /home as {'attach'= : True, 'size': '1G'}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling binary: (['vgs', '-= -noheadings', '@imgbased:volume', '-o', 'lv_full_name'],) {'stderr': <op= en file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,434 [DEBUG] (MainThread) Calling: (['vgs', '--nohead= ings', '@imgbased:volume', '-o', 'lv_full_name'],) {'close_fds': True, 'std= err': <open file '/dev/null', mode 'w' at 0x7fa2d1ad8ed0>}</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Returned: onn/home &= nbsp; </p> <p> onn/tmp </p> <p> onn/var_log </p> <p> onn/var_log_audit</p> <p>2017-11-28 17:25:28,533 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', '/etc'],) {}</p> <p>2017-11-28 17:25:28,534 [DEBUG] (MainThread) Calling: (['umount', '-l', = '/etc'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,539 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,540 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.tuHU8'],) {}</p> <p>2017-11-28 17:25:28,635 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.tuHU8'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:28,640 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:28,641 [ERROR] (MainThread) Failed to migrate etc</p> <span> <p>Traceback (most recent call last):</p> </span> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 109, in on_new_layer</p> <p> check_nist_layout(imgbase, new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 179, in check_nist_layout= </p> <p> v.create(t, paths[t]["size"], paths[t]["att= ach"])</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/volume.py", line 48, in create</p> <p> "Path is already a volume: %s" % where</p> <p>AssertionError: Path is already a volume: /home</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:28,642 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.bEW2k'],) {}</p> <p>2017-11-28 17:25:29,061 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.bEW2k'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling binary: (['umount',= '-l', u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,067 [DEBUG] (MainThread) Calling: (['umount', '-l', = u'/tmp/mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Returned: </p> <p>2017-11-28 17:25:29,625 [DEBUG] (MainThread) Calling binary: (['rmdir', = u'/tmp/mnt.UB5Yg'],) {}</p> <p>2017-11-28 17:25:29,626 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/= mnt.UB5Yg'],) {'close_fds': True, 'stderr': -2}</p> <p>2017-11-28 17:25:29,631 [DEBUG] (MainThread) Returned: </p> <span> <p>Traceback (most recent call last):</p> </span> <p> File "/usr/lib64/python2.7/runpy.py<wbr>", line 162, in= _run_module_as_main</p> <p> "__main__", fname, loader, pkg_name)</p> <p> File "/usr/lib64/python2.7/runpy.py<wbr>", line 72, in = _run_code</p> <p> exec code in run_globals</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/__main__.py", line 53, in <module></p> <p> CliApplication()</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/__init__.py", line 82, in CliApplication</p> <p> app.hooks.emit("post-arg-parse<wbr>", args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 56, in post_argparse</p> <p> base_lv, _ =3D LiveimgExtractor(app.imgbase).<wbr>extract(= args.FILENAME)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 118, in extract</p> <p> "%s" % size, nvr)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/update.py", line 99, in add_base_with_tree</p=
<p> new_layer_lv =3D self.imgbase.add_layer(new_bas<wbr>e)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/imgbase.py", line 191, in add_layer</p> <p> self.hooks.emit("new-layer-add<wbr>ed", prev_lv,= new_lv)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/hooks.py", line 120, in emit</p> <p> cb(self.context, *args)</p> <p> File "/tmp/tmp.ipxGZrbQEi/usr/lib/p<wbr>ython2.7/site-packag= es/imgbase<wbr>d/plugins/osupdater.py", line 123, in on_new_layer</p> <p> raise ConfigMigrationError()</p> <p>imgbased.plugins.osupdater.Con<wbr>figMigrationError</p> <p><br> </p> <p>###</p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924810= 8divRplyFwdMsg" dir=3D"ltr"> <font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#00000= 0"><b>Von:</b> Yuval Turgeman <<a href=3D"mailto:yuvalt@redhat.com" targ= et=3D"_blank">yuvalt@redhat.com</a>><br> <b>Gesendet:</b> Sonntag, 26. November 2017 17:23:55<br> <b>An:</b> Kilian Ries<br> <b>Cc:</b> Ryan Barry; Lev Veyde; users <div> <div class=3D"m_-7401142892985060780m_-1313660588895756320h5"><br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</div> </div> </font> <div> </div> </div> <div> <div class=3D"m_-7401142892985060780m_-1313660588895756320h5"> <div> <div dir=3D"ltr"> <div> <div>Hi,<br> <br> Can you try to run on your 4.1.1 `semanage permissive -a setfiles_t` and sh= are your output ?<br> <br> </div> Thanks,<br> </div> Yuval<br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Fri, Nov 24, 2017 at 11:01 AM, Kilian Ries <s= pan dir=3D"ltr"> <<a href=3D"mailto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ri= es.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div> <div id=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924810= 8m_3225153557063564599divtagdefaultwrapper" style=3D"font-size:12pt;color:#= 000000;font-family:Calibri,Arial,Helvetica,sans-serif"> <p>This is the imgbased.log:</p> <p><br> </p> <p><a href=3D"https://www.dropbox.com/s/v9dmgz14cpzfcsn/imgbased.log.tar.gz= ?dl=3D0" class=3D"m_-7401142892985060780m_-1313660588895756320m_91988905170= 29248108m_3225153557063564599OWAAutoLink" id=3D"m_-7401142892985060780m_-13= 13660588895756320m_9198890517029248108m_3225153557063564599LPlnk215706" tar= get=3D"_blank">https://www.dropbox.com/s/v9dm<wbr>gz14cpzfcsn/imgbased.log.= tar.g<wbr>z?dl=3D0</a><br> <br> </p> <p>Ok, i'll try your steps and come back later ...</p> <p><br> </p> </div> <hr style=3D"display:inline-block;width:98%"> <div id=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924810= 8m_3225153557063564599divRplyFwdMsg" dir=3D"ltr"> <font style=3D"font-size:11pt" face=3D"Calibri, sans-serif" color=3D"#00000= 0"><b>Von:</b> Ryan Barry <<a href=3D"mailto:rbarry@redhat.com" target= =3D"_blank">rbarry@redhat.com</a>><br> <b>Gesendet:</b> Donnerstag, 23. November 2017 23:33:34<br> <b>An:</b> Kilian Ries; Lev Veyde; users<br> <b>Betreff:</b> Re: [ovirt-users] oVirt Node ng upgrade failed</font> <div> </div> </div> <div> <div class=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924= 8108h5"> <div> <div> <div dir=3D"auto">Can you grab imgbased.log?</div> <div dir=3D"auto"><br> </div> <div dir=3D"auto">To retry, "rpm -e ovirt-node-ng-image-update" a= nd remove the new LVs. "yum install ovirt-node-ng-image-update" f= rom the CLI instead of engine so we can get full logs would be useful</div> <br> <div class=3D"gmail_quote"> <div>On Thu, Nov 23, 2017 at 16:01 Lev Veyde <<a href=3D"mailto:lveyde@r= edhat.com" target=3D"_blank">lveyde@redhat.com</a>> wrote:<br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div><br> <div class=3D"gmail_quote">---------- Forwarded message ----------<br> From: <b class=3D"gmail_sendername">Kilian Ries</b> <span><<a href=3D"ma= ilto:mail@kilian-ries.de" target=3D"_blank">mail@kilian-ries.de</a>></sp= an><br> Date: Thu, Nov 23, 2017 at 5:16 PM<br> Subject: [ovirt-users] oVirt Node ng upgrade failed<br> To: "<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.= org</a>" <<a href=3D"mailto:Users@ovirt.org" target=3D"_blank">User= s@ovirt.org</a>><br> <br> <br> <div> <div id=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924810= 8m_3225153557063564599m_8500358924454763051m_8666893865273150534divtagdefau= ltwrapper" style=3D"font-size:12pt;color:#000000;font-family:Calibri,Arial,= Helvetica,sans-serif"> <p>Hi,</p> <p><br> </p> <p>just tried to upgrade from </p> <p><br> </p> <p>ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0+1<br> </p> <p><br> </p> <p>to</p> <p><br> </p> <p>ovirt-node-ng-4.1.7-0.20171108<wbr>.0+1<br> </p> <p><br> </p> <p>but it failed:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 1/4: ovirt-node-ng-image-update.noa<wbr=
rch 0:4.1.7-1.el7.centos - u</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 2/4: ovirt-node-ng-image-update-pla<wbr= ceholder.noarch 0:4.1.1.1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 3/4: ovirt-node-ng-image.noarch 0:4.1.1= .1-1.el7.centos - od</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Verify: 4/4: ovirt-node-ng-image-update.noa<wbr= rch 0:4.1.1.1-1.el7.centos - ud</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Transaction processed</p> <p>2017-11-23 10:19:21 DEBUG otopi.context context._executeMethod:142 metho= d exception</p> <p>Traceback (most recent call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/context.py&= quot;, line 132, in _executeMethod</p> <p> method['method']()</p> <p> File "/tmp/ovirt-3JI9q14aGS/otopi-p<wbr>lugins/otopi/package= rs/yumpack<wbr>ager.py", line 261, in _packages</p> <p> self._miniyum.processTransacti<wbr>on()</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/miniyum.py&= quot;, line 1049, in processTransaction</p> <p> _('One or more elements within Yum transaction failed')</p=
<p>RuntimeError: One or more elements within Yum transaction failed</p> <p>2017-11-23 10:19:21 ERROR otopi.context context._executeMethod:151 Faile= d to execute stage 'Package installation': One or more elements within Yum = transaction failed</p> <p>2017-11-23 10:19:21 DEBUG otopi.transaction transaction.abort:119 aborti= ng 'Yum Transaction'</p> <p>2017-11-23 10:19:21 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager = <a href=3D"http://yumpackager.info:80" target=3D"_blank"> yumpackager.info:80</a> Yum Performing yum transaction rollback</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr=
64/filelists_db (0%)</p> <p>2017-11-23 10:19:21 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/filelists_db 374 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: centos-opstools-release/7/x86_<wbr= 64/other_db 53 k(100%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db (0%)</p> <p>2017-11-23 10:19:22 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 55 k(4%)<= /p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 201 k(17%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 648 k(56%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(99%= )</p> <p>2017-11-23 10:19:23 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/filelists_db 1.1 M(100= %)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db (0%)</p> <p>2017-11-23 10:19:25 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 45 k(14%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 207 k(66%)</p=
<p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1/7/other_db 311 k(100%)</= p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr=
_64/filelists_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/filelists_db 18 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/other_db (0%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-centos-gluster38/x86<wbr= _64/other_db 7.6 k(100%)</p> <p>2017-11-23 10:19:26 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db (0%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db 7.5 M(76%)</p> <p>2017-11-23 10:19:27 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/filelist<wbr= s_db 9.9 M(100%)</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db (0%= )</p> <p>2017-11-23 10:19:29 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-epel/x86_64/other_db 2.9= M(100%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/filelists_db (0%)</p> <p>2017-11-23 10:19:30 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/filelists_db 6.5 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-4.1-patternfly1-noarch-e<wbr= pel/x86_64/other_db 851 (100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= filelists_db 312 k(100%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db (0%)</p> <p>2017-11-23 10:19:31 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: ovirt-centos-ovirt41/7/x86_64/<wbr= other_db 84 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/fileli<wbr= sts_db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/fileli<wbr= sts_db 4.5 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db (0%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: rnachimu-gdeploy/x86_64/other_<wbr= db 1.4 k(100%)</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db (0%= )</p> <p>2017-11-23 10:19:32 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/filelists_db 3.9= k(100%)</p> <p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db (0%)</p=
<p>2017-11-23 10:19:33 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.verbose:76 Yum Downloading: virtio-win-stable/other_db 4.3 k(1= 00%)</p> <p>2017-11-23 10:19:33 ERROR otopi.plugins.otopi.packagers.<wbr>yumpackager= yumpackager.error:85 Yum Transaction close failed: Traceback (most recent = call last):</p> <p> File "/tmp/ovirt-3JI9q14aGS/pythonl<wbr>ib/otopi/miniyum.py&= quot;, line 761, in endTransaction</p> <p> if self._yb.history_undo(transact<wbr>ionCurrent):</p> <p> File "/usr/lib/python2.7/site-packa<wbr>ges/yum/__init__.py&= quot;, line 6086, in history_undo</p> <p> if self.install(pkgtup=3Dpkg.pkgtup<wbr>):</p> <p> File "/usr/lib/python2.7/site-packa<wbr>ges/yum/__init__.py&= quot;, line 4910, in install</p> <p> raise Errors.InstallError, _('No package(s) available to i= nstall')</p> <p>InstallError: Kein(e) Paket(e) zum Installieren verfügbar.</p> <p><br> </p> <p>###</p> <p><br> </p> <p><br> </p> <p>Some more information on my system:</p> <p><br> </p> <p>###</p> <p><br> </p> <p>$ mount</p> <p>...</p> <p>/dev/mapper/onn-ovirt--node--n<wbr>g--4.1.1.1--0.20170504.0+1 on / t= ype ext4 (rw,relatime,discard,stripe=3D12<wbr>8,data=3Dordered)</p> <p><br> </p> <p><br> </p> <p>$ imgbase layout</p> <p>ovirt-node-ng-4.1.1.1-0.201704<wbr>06.0</p> <p>ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0</p> <p> +- ovirt-node-ng-4.1.1.1-0.201705<wbr>04.0+1</p> <p>ovirt-node-ng-4.1.7-0.20171108<wbr>.0</p> <p> +- ovirt-node-ng-4.1.7-0.20171108<wbr>.0+1</p> <p> </p> <p> <span style=3D"font-size:12pt"> </span></p> <p>$ rpm -q ovirt-node-ng-image</p> <p>Das Paket ovirt-node-ng-image ist nicht installiert</p> <p><br> </p> <p><br> </p> <p>$ nodectl check</p> <p>Status: OK</p> <p>Bootloader ... OK</p> <p> Layer boot entries ... OK</p> <p> Valid boot entries ... OK</p> <p>Mount points ... OK</p> <p> Separate /var ... OK</p> <p> Discard is used ... OK</p> <p>Basic storage ... OK</p> <p> Initialized VG ... OK</p> <p> Initialized Thin Pool ... OK</p> <p> Initialized LVs ... OK</p> <p>Thin storage ... OK</p> <p> Checking available space in thinpool ... OK</p> <p> Checking thinpool auto-extend ... OK</p> <p></p> <p>vdsmd ... OK</p> <p></p> <p><br> </p> <p>###</p> <p><br> </p> <p>I can restart my Node and VMs are running, but oVirt Engine tells me no = update is available. It seems 4.1.7 is installed, but Node still boots the = old 4.1.1 image. </p> <p><br> </p> <p>Can i force run the upgrade again or is there another way to fix this?</= p> <p><br> </p> <p>Thanks</p> <p>Greets</p> <span class=3D"m_-7401142892985060780m_-1313660588895756320m_91988905170292= 48108m_3225153557063564599m_8500358924454763051HOEnZb"><font color=3D"#8888= 88"> <p>Kilian</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> </font></span></div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </div> <br> <br clear=3D"all"> <br> </div> <div>-- <br> <div class=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924= 8108m_3225153557063564599m_8500358924454763051gmail_signature" data-smartma= il=3D"gmail_signature"> <div> <div> <div> <div> <div> <div> <div> <div><br> <div> <p style=3D"font-weight:bold;margin:0;padding:0;font-size:14px;text-transfo= rm:uppercase;margin-bottom:0"> <span>Lev</span> <span>Veyde</span></p> <p style=3D"font-weight:normal;font-size:10px;margin:0px 0px 4px;text-trans= form:uppercase"> <span>Software Engineer</span><span style=3D"color:rgb(204,204,204)">, <spa= n style=3D"font-weight:normal;color:#aaa;margin:0"> RHCE | RHCVA | MCITP</span></span></p> <p style=3D"font-weight:normal;margin:0;font-size:10px;color:#999"><a style= =3D"color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:= 'overpass',sans-serif" href=3D"https://www.redhat.com" target=3D"_blank">Re= d Hat <span>Israel<br> <br> </span></a></p> <p style=3D"font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(= 153,153,153)"> <span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088ce;font-size:= 10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href= =3D"mailto:lev@redhat.com" target=3D"_blank">lev@redhat.com</a> | </span><span><span style=3D"margin:0px;padding:0px"><a style=3D"color:#0088= ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans= -serif" href=3D"mailto:lveyde@redhat.com" target=3D"_blank">lveyde@redhat.c= om</a></span></span> </p> <a href=3D"https://red.ht/sig" target=3D"_blank"><img width=3D"90" height= =3D"auto" src=3D"https://www.redhat.com/profiles/rh/themes/redhatdotcom/img= /logo-red-hat-black.png"></a> <div><a href=3D"https://redhat.com/trusted" style=3D"text-decoration:none;c= olor:#c00;font-weight:bold" target=3D"_blank">TRIED. TESTED. TRUSTED.</a></= div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> </div> <div dir=3D"ltr">-- <br> </div> <div class=3D"m_-7401142892985060780m_-1313660588895756320m_919889051702924= 8108m_3225153557063564599gmail_signature" data-smartmail=3D"gmail_signature= "> <div dir=3D"ltr"> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bo= ld;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"> <span>RYAN</span> <span>BARRY</span></p> <p style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px= ;margin:0px 0px 4px;text-transform:uppercase"> <span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR</span></p> <p style=3D"font-family:overpass,sans-serif;margin:0px;font-size:10px;color= :rgb(153,153,153)"> <a href=3D"https://www.redhat.com/" style=3D"color:rgb(0,136,206);margin:0p= x" target=3D"_blank">Red Hat <span>NA</span></a></p> <p style=3D"font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10= px;color:rgb(153,153,153)"> <span style=3D"margin:0px;padding:0px"><a href=3D"mailto:rbarry@redhat.com"= style=3D"color:rgb(0,136,206);margin:0px" target=3D"_blank">rbarry@redhat.= com</a> </span> <span>M: <a style=3D"color:rgb(0,136,= 206);font-size:11px;margin:0px">+1-651-815-9306</a> <= /span> <span>IM: <span>rbarry</span></span></p> <table style=3D"color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:= medium" border=3D"0"> <tbody> <tr> <td width=3D"100px"><a href=3D"https://red.ht/sig" target=3D"_blank"><img w= idth=3D"90" height=3D"auto" src=3D"https://www.redhat.com/files/brand/email= /sig-redhat.png"></a></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </div> </div> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><= br> <br> </blockquote> </div> <br> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </body> </html> --_000_3d77df07f6c94e5e9b9173b88f499764kilianriesde_--
participants (3)
-
Kilian Ries
-
Ryan Barry
-
Yuval Turgeman