Bug 1426172 - RHVH new build boot entry miss when upgrade from wrapper to wrapper
Summary: RHVH new build boot entry miss when upgrade from wrapper to wrapper
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.1
: 4.1
Assignee: Ryan Barry
QA Contact: jianwu
URL:
Whiteboard:
Depends On:
Blocks: 1428375
TreeView+ depends on / blocked
 
Reported: 2017-02-23 11:12 UTC by jianwu
Modified: 2017-04-21 09:40 UTC (History)
17 users (show)

Fixed In Version: imgbased-0.9.14-0.1.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1428375 (view as bug list)
Environment:
Last Closed: 2017-04-21 09:40:31 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)
grub file (5.62 KB, text/plain)
2017-02-23 11:15 UTC, jianwu
no flags Details
picture 1 for details (8.45 KB, image/png)
2017-02-23 11:17 UTC, jianwu
no flags Details
picture 2 for details (23.71 KB, image/png)
2017-02-23 11:17 UTC, jianwu
no flags Details
0222_update_log1 (1.20 MB, application/x-gzip)
2017-02-23 11:23 UTC, jianwu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 72998 0 master MERGED osupdater: activate all LVM volumes before starting 2017-02-23 18:48:19 UTC
oVirt gerrit 73000 0 ovirt-4.0 MERGED osupdater: activate all LVM volumes before starting 2017-02-23 18:48:09 UTC
oVirt gerrit 73001 0 ovirt-4.1 MERGED osupdater: activate all LVM volumes before starting 2017-02-23 18:48:33 UTC

Description jianwu 2017-02-23 11:12:07 UTC
Description of problem:
After register to RHEVM, when upgrade from wrapper to wrapper, the latest build boot entry miss and could not enter new RHVH.

Version-Release number of selected component (if applicable):
RHVH-4.0-20160919.1-RHVH-x86_64-dvd1.iso (first build)
redhat-virtualization-host-image-update-4.0-20161116.1.el7_3.noarch.rpm (second build)
redhat-virtualization-host-4.0-20170222.0.x86_64(new build)
kernel-3.10.0-514.6.2.el7.x86_64
imgbased-0.8.13-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH-4.0-20160919.1-RHVH-x86_64-dvd1.iso
2. Reboot into new system and register to RHEVM
3. set local repo and run
 "yum install redhat-virtualization-host-image-update-4.0-20161116.1.el7_3.noarch.rpm"
4. Reboot to second build and run "yum update"
5. Reboot into new RHVH

Actual results:
After step 5, new build boot entry miss and fails to log into new system

Expected results:
After step 5, new build entry will display and successfully log into new system

Additional info:
1. It could work when upgrade RHVH-4.0-20160919.1-RHVH-x86_64 to latest one
directly
2. Without register to engine, it is ok from wrapper to wrapper

Comment 1 jianwu 2017-02-23 11:15:23 UTC
Created attachment 1256870 [details]
grub file

Comment 2 jianwu 2017-02-23 11:17:11 UTC
Created attachment 1256873 [details]
picture 1 for details

Comment 3 jianwu 2017-02-23 11:17:56 UTC
Created attachment 1256874 [details]
picture 2 for details

Comment 4 jianwu 2017-02-23 11:23:37 UTC
Created attachment 1256875 [details]
0222_update_log1

Comment 5 jianwu 2017-02-23 11:51:10 UTC
Hi, Ryan

I have emailed to you about this bug's ENV, and because of sosreport too big, so I have copied it to our local nfs storage.

Jiawu
Thanks

Comment 6 Ryan Barry 2017-02-23 13:36:00 UTC
Thanks for the update -

It's very interesting that it works without registering.

The test environment had devices missing from /dev/mapper even though they were present in `lvs` (an issue which was reported separately by RHV QE last week, though only one case and I couldn't reproduce).

I wonder if engine is doing something here.

There is no boot entry because the upgrade process failed (/dev/mapper/rhvh-4.0-0.20160919.0+1 could not be mounted, because no device existed for it even though LVM could see it)

Re-activating all the LVs before updating should fix here.

Comment 7 Red Hat Bugzilla Rules Engine 2017-02-23 18:49:42 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 9 jianwu 2017-03-13 11:52:55 UTC
Hi, 
I have verified this bug on redhat-virtualization-host-4.1-20170308.1.x86_6

Version-Release number of selected component (if applicable):
RHVH-4.0-20160919.1-RHVH-x86_64-dvd1.iso (first build)
redhat-virtualization-host-image-update-4.0-20161116.1.el7_3.noarch.rpm (second build)
redhat-virtualization-host-4.1-20170308.1.x86_6(new build)
imgbased-0.9.17-0.1.el7ev

Test steps:
1. Install RHVH-4.0-20160919.1-RHVH-x86_64-dvd1.iso
2. Reboot into new system and register to RHEVM
3. set local repo and run
 "yum install redhat-virtualization-host-image-update-4.0-20161116.1.el7_3.noarch.rpm"
4. Reboot to second build and run "yum update"
5. Reboot into new RHVH

Test Results:
After step 5, new build entry will display and successfully log into new system, but the oldest build (RHVH-4.0-20160919.1) is gone and there are two layers only,

so I thinks this bug is fixed on this version, I will change status to VERIFIED.


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