<div dir="ltr">What does `mount` look like? I'm wondering whether /var/log is already a partition/in fstab or whether os.path.ismount is confused here.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 7:48 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_-2109071909641762851WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">no I did no custom partitioning I used the autopartition from installer<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">the upgrade did work until some version (don’t know which)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">here my nodectl check output<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">nodectl check<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Status: OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Bootloader ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Layer boot entries ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Valid boot entries ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Mount points ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Separate /var ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Discard is used ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Basic storage ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Initialized VG ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Initialized Thin Pool ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Initialized LVs ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thin storage ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Checking available space in thinpool ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Checking thinpool auto-extend ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">vdsmd ... OK<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thx Christian<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Ryan Barry [mailto:<a href="mailto:rbarry@redhat.com" target="_blank">rbarry@redhat.com</a>]
<br>
<b>Gesendet:</b> Montag, 10. Juli 2017 13:39<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> Yuval Turgeman <<a href="mailto:yuvalt@redhat.com" target="_blank">yuvalt@redhat.com</a>>; <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a></span></p><div><div class="h5"><br>
<b>Betreff:</b> Re: [ovirt-users] node ng upgrade failed<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Christian -<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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" target="_blank">https://gerrit.ovirt.org/<wbr>gitweb?p=imgbased.git;a=blob;<wbr>f=src/imgbased/plugins/<wbr>osupdater.py;h=<wbr>032d7e95d475b1085dab7c3f776873<wbr>f6d6d4a280;hb=HEAD#l180</a><u></u><u></u></p>
</div>
<p class="MsoNormal">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?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Jul 10, 2017 at 7:16 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">attached<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></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</span><u></u><u></u></p>
<div>
<div>
<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-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<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>
<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"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black;text-transform:uppercase">RYAN BARRY<u></u><u></u></span></b></p>
<p style="margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black;text-transform:uppercase">SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#999999"><a href="https://www.redhat.com/" target="_blank"><span style="color:#0088ce">Red Hat NA</span></a><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#999999"><a href="mailto:rbarry@redhat.com" target="_blank"><span style="color:#0088ce">rbarry@redhat.com</span></a> M: <a href="tel:+1-651-815-9306" target="_blank"><span style="font-size:8.5pt;color:#0088ce">+1-651-815-9306</span></a>
IM: rbarry<u></u><u></u></span></p>
<table class="m_-2109071909641762851MsoNormalTable" cellspacing="3" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Arial",sans-serif;color:black"><a href="https://red.ht/sig" target="_blank"><span style="text-decoration:none"><img style="width:.9416in" id="m_-2109071909641762851_x0000_i1025" src="https://www.redhat.com/files/brand/email/sig-redhat.png" border="0" width="90"></span></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</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>