[ovirt-users] node ng upgrade failed

Grundmann, Christian Christian.Grundmann at fabasoft.com
Mon Jul 10 11:48:47 UTC 2017


Hi,
no I did no custom partitioning I used the autopartition from installer
the upgrade did work until some version (don’t know which)

here my nodectl check output

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

Thx Christian


Von: Ryan Barry [mailto:rbarry at redhat.com]
Gesendet: Montag, 10. Juli 2017 13:39
An: Grundmann, Christian <Christian.Grundmann at fabasoft.com>
Cc: Yuval Turgeman <yuvalt at redhat.com>; users at ovirt.org
Betreff: Re: [ovirt-users] node ng upgrade failed

Christian -
It looks like perhaps you used custom partitioning. That's ok -- we support that. We check for the existence of partitions here:

https://gerrit.ovirt.org/gitweb?p=imgbased.git;a=blob;f=src/imgbased/plugins/osupdater.py;h=032d7e95d475b1085dab7c3f776873f6d6d4a280;hb=HEAD#l180
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?

On Mon, Jul 10, 2017 at 7:16 AM, Grundmann, Christian <Christian.Grundmann at fabasoft.com<mailto:Christian.Grundmann at fabasoft.com>> wrote:
attached

Von: Yuval Turgeman [mailto:yuvalt at redhat.com<mailto:yuvalt at redhat.com>]
Gesendet: Montag, 10. Juli 2017 13:10
An: Grundmann, Christian <Christian.Grundmann at fabasoft.com<mailto:Christian.Grundmann at fabasoft.com>>
Cc: users at ovirt.org<mailto:users at ovirt.org>
Betreff: Re: [ovirt-users] node ng upgrade failed

Hi,

Can you please attach /tmp/imgbased.log ?

Thanks,
Yuval.


On Mon, Jul 10, 2017 at 11:27 AM, Grundmann, Christian <Christian.Grundmann at fabasoft.com<mailto:Christian.Grundmann at fabasoft.com>> wrote:
Hi,
I tried to update to node ng 4.1.3 (from 4.1.1) which failed

Jul 10 10:10:49 imgbased: 2017-07-10 10:10:49,986 [INFO] Extracting image '/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.3-0.20170709.0.el7.squashfs.img'
Jul 10 10:10:50 imgbased: 2017-07-10 10:10:50,816 [INFO] Starting base creation
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.20170709.0
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-4.1.3-0.20170709.0' />
Jul 10 10:10:53 imgbased: 2017-07-10 10:10:53,070 [INFO] Creating new filesystem on base
Jul 10 10:10:53 imgbased: 2017-07-10 10:10:53,412 [INFO] Writing tree to base
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.20170709.0 [] />
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.20170709.0 [] />
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.20170709.0+1 />
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/python2.7/site-packages/imgbased/plugins/osupdater.py", line 119, in on_new_layer#012    check_nist_layout(imgbase, new_lv)#012  File "/tmp/tmp.EMsKrrbmZs/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 173, in check_nist_layout#012    v.create(t, paths[t]["size"], paths[t]["attach"])#012  File "/tmp/tmp.EMsKrrbmZs/usr/lib/python2.7/site-packages/imgbased/volume.py", line 48, in create#012    "Path is already a volume: %s" % where#012AssertionError: Path is already a volume: /var/log
Jul 10 10:12:53 python: detected unhandled Python exception in '/tmp/tmp.EMsKrrbmZs/usr/lib/python2.7/site-packages/imgbased/__main__.py'
Jul 10 10:12:53 abrt-server: Executable '/tmp/tmp.EMsKrrbmZs/usr/lib/python2.7/site-packages/imgbased/__main__.py' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Jul 10 10:15:10 imgbased: 2017-07-10 10:15:10,079 [INFO] Extracting image '/usr/share/ovirt-node-ng/image//ovirt-node-ng-4.1.3-0.20170622.0.el7.squashfs.img'
Jul 10 10:15:11 imgbased: 2017-07-10 10:15:11,226 [INFO] Starting base creation
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.20170622.0
Jul 10 10:15:11 python: detected unhandled Python exception in '/tmp/tmp.pqf2qhifaY/usr/lib/python2.7/site-packages/imgbased/__main__.py'
Jul 10 10:15:12 abrt-server: Executable '/tmp/tmp.pqf2qhifaY/usr/lib/python2.7/site-packages/imgbased/__main__.py' doesn't belong to any package and ProcessUnpackaged is set to 'no'


How can I fix it?

Thx Christian

_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users



--

RYAN BARRY

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR

Red Hat NA<https://www.redhat.com/>

rbarry at redhat.com<mailto:rbarry at redhat.com>    M: +1-651-815-9306<tel:+1-651-815-9306>     IM: rbarry
[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170710/6ac36bf6/attachment-0001.html>


More information about the Users mailing list