Thank you guys, it worked!

Def. Quota Yuval Turgeman <yturg...@redhat.com>:

Try to first remove the LV for /var/crash or mount it, then remove any base that is not used (imgbase base --remove <base-name>), then yum update again.
     
    Documented here (for other LVs):
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/upgrade_guide/recovering_from_failed_nist-800_upgrade


On Mon, Sep 17, 2018 at 5:13 PM, Sandro Bonazzola <sbona...@redhat.com> wrote:

Adding Yuval

Il giorno lun 17 set 2018 alle ore 15:16 <benedetto.vassa...@unipa.it> ha scritto:

Hi,
I have installed some 4.2.2 ovirt nodes (fresh installation) and upgraded them to 4.2.3 from the ovirt-engine UI. All was right, but if I want to upgrade from 4.2.3 to any new version I got a failure in post script.
In the /tmp/imgbased.log I have the following error:

2018-09-17 14:28:09,073 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.POEYF'],) {'close_fds': True, 'stderr': -2}
2018-09-17 14:28:09,080 [DEBUG] (MainThread) Returned:
2018-09-17 14:28:09,081 [ERROR] (MainThread) Failed to migrate etc
Traceback (most recent call last):
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 118, in on_new_layer
    check_nist_layout(imgbase, new_lv)
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 209, in check_nist_layout
    v.create(t, paths[t]["size"], paths[t]["attach"])
  File "/tmp/tmp.s2GHHNumuT/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: /var/crash
2018-09-17 14:28:09,092 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.gt3IE'],) {} 2018-09-17 14:28:09,092 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.gt3IE'],) {'close_fds': True, 'stderr': -2}
2018-09-17 14:28:09,181 [DEBUG] (MainThread) Returned:
2018-09-17 14:28:09,182 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.gt3IE'],) {} 2018-09-17 14:28:09,182 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.gt3IE'],) {'close_fds': True, 'stderr': -2}
2018-09-17 14:28:09,190 [DEBUG] (MainThread) Returned:
2018-09-17 14:28:09,190 [DEBUG] (MainThread) Calling binary: (['umount', '-l', u'/tmp/mnt.2weYe'],) {} 2018-09-17 14:28:09,190 [DEBUG] (MainThread) Calling: (['umount', '-l', u'/tmp/mnt.2weYe'],) {'close_fds': True, 'stderr': -2}
2018-09-17 14:28:09,389 [DEBUG] (MainThread) Returned:
2018-09-17 14:28:09,389 [DEBUG] (MainThread) Calling binary: (['rmdir', u'/tmp/mnt.2weYe'],) {} 2018-09-17 14:28:09,389 [DEBUG] (MainThread) Calling: (['rmdir', u'/tmp/mnt.2weYe'],) {'close_fds': True, 'stderr': -2}
2018-09-17 14:28:09,397 [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.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
    CliApplication()
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
    app.hooks.emit("post-arg-parse", args)
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/tmp/tmp.s2GHHNumuT/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.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/plugins/update.py", line 118, in extract
    "%s" % size, nvr)
  File "/tmp/tmp.s2GHHNumuT/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.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 192, in add_layer
    self.hooks.emit("new-layer-added", prev_lv, new_lv)
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/tmp/tmp.s2GHHNumuT/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 132, in on_new_layer
    raise ConfigMigrationError()
imgbased.plugins.osupdater.ConfigMigrationError

I have this on all nodes.
Today I tried to make a fresh 2.2 install on a test VM, execute "yum update", updated it to 2.3 and then I got tha same error again. I did a default installation from ovirt-node-ng-installer-ovirt-4.2-2018040514.iso, automatic partitioning and nothing customized.
Is there anyone having the same issue or knowing how to solve it?
Thanks in advantage.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: archives/list/users@ovirt.org/message/KT4JDVGJKTXXPLBK7LHH42E3DDOKKCOL/[1]

         

--

                       SANDRO BONAZZOLA

                       MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

                       Red Hat EMEA[2]

                       sbona...@redhat.com   


  [3]

[4]



Link:
-----
[1] https://lists.ovirt.org/archives/list/users@<span%20index=
[2] https://www.redhat.com/
[3] https://red.ht/sig
[4] https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK
 --
Benedetto Vassallo
Responsabile U.O. Sviluppo e manutenzione dei sistemi
Sistema Informativo di Ateneo
Università degli studi di Palermo

Phone: +3909123860056
Fax:     +3909123860572
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AEALW7PDUU3WB73CSEY2JA76CJLKYLWL/

Reply via email to