seems like we should track this change for 3.1 downstream as well
+++ This bug was initially created as a clone of Bug #842775 +++
upgrading from engine will fail to complete the upgrade due to missing grub2 support in ovirt-config-boot. Solution is to change upgrade process to use the newer python scripts from ovirtnode
assuming the iso is mounted at /live all you need to do is:
from ovirtnode.install import *
install = Install()
install.ovirt_boot_setup()
--- Additional comment from juan.hernandez on 2012-07-24 11:05:27 EDT ---
The problem appears when trying to update the node from the engine. This invokes the /usr/share/vdsm-reg/vdsm-upgrade script, and this calls /usr/libexec/ovirt-config-boot passing the mount point of the .iso as the first parameter. The result is the following:
[root@h0 admin]# /usr/share/vdsm-reg/vdsm-upgrade
<BSTRAP component='setMountPoint' status='OK' message='Mount succeeded.'/>
<BSTRAP component='doUpgrade' status='FAIL' message='boot loader install
failed. '/>
<BSTRAP component='umount' status='OK' message='umount Succeeded'/>
<BSTRAP component='RHEV_INSTALL' status='FAIL'/>
Comment 6Douglas Schilling Landgraf
2012-08-20 14:12:30 UTC
Thanks Juan! Yaniv please ignore my comment#3 (for downstream), it's related to a different bug. The patches for this bug is waiting for review in upstream: http://gerrit.ovirt.org/#/c/7074/
Thanks!
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2012-1508.html