Bug 843076

Summary: 3.1 beta2 - upgrade from engine failing due to grub2 support
Product: Red Hat Enterprise Linux 6 Reporter: Itamar Heim <iheim>
Component: vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: abaron, acathrow, bazulay, cpelland, danken, dougsland, dyasny, fsimonce, iheim, ilvovsky, jboggs, juan.hernandez, lpeer, mburns, mgoldboi, mkenneth, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vdsm-4.9.6-32.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 842775 Environment:
Last Closed: 2012-12-04 19:03:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Itamar Heim 2012-07-25 14:01:20 UTC
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 1 Itamar Heim 2012-07-25 14:02:17 UTC
need to verify this does not break rhev-h 6.3/3.0 upgrades

Comment 2 Douglas Schilling Landgraf 2012-08-16 02:52:45 UTC
As reference: Upstream patch (in review at moment): http://gerrit.ovirt.org/#/c/7074/

Comment 6 Douglas 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!

Comment 13 errata-xmlrpc 2012-12-04 19:03:39 UTC
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