Bug 842775 - upgrade from engine failing due to grub2 support
Summary: upgrade from engine failing due to grub2 support
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Douglas Schilling Landgraf
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-24 15:02 UTC by Joey Boggs
Modified: 2013-01-25 09:15 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 843076 (view as bug list)
Environment:
Last Closed: 2013-01-25 09:15:41 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Joey Boggs 2012-07-24 15:02:11 UTC
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()

Comment 1 Juan Hernández 2012-07-24 15:05:27 UTC
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 2 Douglas Schilling Landgraf 2012-08-09 20:50:00 UTC
Based on Joey's comment:
http://gerrit.ovirt.org/7074


Note You need to log in before you can comment on or make changes to this bug.