Bug 842775

Summary: upgrade from engine failing due to grub2 support
Product: [Retired] oVirt Reporter: Joey Boggs <jboggs>
Component: vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, alonbl, bazulay, danken, dougsland, dyasny, fsimonce, iheim, juan.hernandez, mburns, mgoldboi, virt-maint, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 843076 (view as bug list) Environment:
Last Closed: 2013-01-25 09:15:41 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 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