<div dir="ltr"><div><div>Christian -<br><br></div>It looks like perhaps you used custom partitioning. That's ok -- we support that. We check for the existence of partitions here:<br><br><a href="https://gerrit.ovirt.org/gitweb?p=imgbased.git;a=blob;f=src/imgbased/plugins/osupdater.py;h=032d7e95d475b1085dab7c3f776873f6d6d4a280;hb=HEAD#l180">https://gerrit.ovirt.org/gitweb?p=imgbased.git;a=blob;f=src/imgbased/plugins/osupdater.py;h=032d7e95d475b1085dab7c3f776873f6d6d4a280;hb=HEAD#l180</a><br><br></div>It's possible that os.path.ismount doesn't think /var/log is a mount for some reason. We'll try to reproduce. But can you provide a little more information about your environment? Did you use autopartitioning or custom partitioning?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 7:16 AM, Grundmann, Christian <span dir="ltr"><<a href="mailto:Christian.Grundmann@fabasoft.com" target="_blank">Christian.Grundmann@fabasoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE-AT">
<div class="m_3985270986545391173WordSection1">
<p class="MsoNormal"><span>attached<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Yuval Turgeman [mailto:<a href="mailto:yuvalt@redhat.com" target="_blank">yuvalt@redhat.com</a>]
<br>
<b>Gesendet:</b> Montag, 10. Juli 2017 13:10<br>
<b>An:</b> Grundmann, Christian <<a href="mailto:Christian.Grundmann@fabasoft.com" target="_blank">Christian.Grundmann@fabasoft.<wbr>com</a>><br>
<b>Cc:</b> <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<b>Betreff:</b> Re: [ovirt-users] node ng upgrade failed<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Can you please attach /tmp/imgbased.log ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Yuval.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Jul 10, 2017 at 11:27 AM, Grundmann, Christian <<a href="mailto:Christian.Grundmann@fabasoft.com" target="_blank">Christian.Grundmann@fabasoft.<wbr>com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I tried to update to node ng 4.1.3 (from 4.1.1) which failed</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:49 imgbased: 2017-07-10 10:10:49,986 [INFO] Extracting image '/usr/share/ovirt-node-ng/<wbr>image//ovirt-node-ng-4.1.3-0.<wbr>20170709.0.el7.squashfs.img'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:50 imgbased: 2017-07-10 10:10:50,816 [INFO] Starting base creation</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:50 imgbased: 2017-07-10 10:10:50,816 [INFO] New base will be: ovirt-node-ng-4.1.3-0.<wbr>20170709.0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:51 imgbased: 2017-07-10 10:10:51,539 [INFO] New LV is: <LV 'onn_cs-kvm-001/ovirt-node-ng-<wbr>4.1.3-0.20170709.0' /></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:53 imgbased: 2017-07-10 10:10:53,070 [INFO] Creating new filesystem on base</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:10:53 imgbased: 2017-07-10 10:10:53,412 [INFO] Writing tree to base</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:04 imgbased: 2017-07-10 10:12:04,344 [INFO] Adding a new layer after <Base ovirt-node-ng-4.1.3-0.<wbr>20170709.0 [] /></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:04 imgbased: 2017-07-10 10:12:04,344 [INFO] Adding a new layer after <Base ovirt-node-ng-4.1.3-0.<wbr>20170709.0 [] /></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:04 imgbased: 2017-07-10 10:12:04,345 [INFO] New layer will be: <Layer ovirt-node-ng-4.1.3-0.<wbr>20170709.0+1 /></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:52 imgbased: 2017-07-10 10:12:52,714 [ERROR] Failed to migrate etc#012Traceback (most recent call last):#012 File "/tmp/tmp.EMsKrrbmZs/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/plugins/osupdater.py"<wbr>,
line 119, in on_new_layer#012 check_nist_layout(imgbase, new_lv)#012 File "/tmp/tmp.EMsKrrbmZs/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/plugins/osupdater.py"<wbr>, line 173, in check_nist_layout#012 v.create(t, paths[t]["size"], paths[t]["attach"])#012
File "/tmp/tmp.EMsKrrbmZs/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/volume.py", line 48, in create#012 "Path is already a volume: %s" % where#012AssertionError: Path is already a volume: /var/log</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:53 python: detected unhandled Python exception in '/tmp/tmp.EMsKrrbmZs/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/__main__.py'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:12:53 abrt-server: Executable '/tmp/tmp.EMsKrrbmZs/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/__main__.py' doesn't belong to any package and ProcessUnpackaged
is set to 'no'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:15:10 imgbased: 2017-07-10 10:15:10,079 [INFO] Extracting image '/usr/share/ovirt-node-ng/<wbr>image//ovirt-node-ng-4.1.3-0.<wbr>20170622.0.el7.squashfs.img'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:15:11 imgbased: 2017-07-10 10:15:11,226 [INFO] Starting base creation</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:15:11 imgbased: 2017-07-10 10:15:11,226 [INFO] New base will be: ovirt-node-ng-4.1.3-0.<wbr>20170622.0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:15:11 python: detected unhandled Python exception in '/tmp/tmp.pqf2qhifaY/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/__main__.py'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Jul 10 10:15:12 abrt-server: Executable '/tmp/tmp.pqf2qhifaY/usr/lib/<wbr>python2.7/site-packages/<wbr>imgbased/__main__.py' doesn't belong to any package and ProcessUnpackaged
is set to 'no'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">How can I fix it?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Thx Christian</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>RYAN</span> <span>BARRY</span></p><p style="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="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>NA</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:rbarry@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">rbarry@redhat.com</a> </span> <span>M: <a href="tel:+1-651-815-9306" style="color:rgb(0,136,206);font-size:11px;margin:0px" target="_blank">+1-651-815-9306</a> </span> <span>IM: <span>rbarry</span></span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table></div></div>
</div>