Bug 1783184 - [RHVH-4.4.0] Upgrade RHVH from rhvh-4.4.0.9-0.20191201.0 to rhvh-4.4.0.10-0.20191204.0 hang up after rebooting
Summary: [RHVH-4.4.0] Upgrade RHVH from rhvh-4.4.0.9-0.20191201.0 to rhvh-4.4.0.10-0.2...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-virtualization-host
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.4.0
: ---
Assignee: Nir Levy
QA Contact: peyu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-13 08:43 UTC by peyu
Modified: 2020-02-10 03:47 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-10 03:47:16 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log (573.27 KB, application/gzip)
2019-12-13 08:43 UTC, peyu
no flags Details

Description peyu 2019-12-13 08:43:03 UTC
Created attachment 1644702 [details]
/var/log

Description of problem:
After upgrade, run “reboot” command, when the system entering the boot entry of new build, system hang at:
...
...
"[ OK ] Started Update is Completed."
"[ OK ] Started Crash recovery kernel arming."



Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.4.0-20191201.0.el8_1
redhat-virtualization-host-4.4.0-20191204.2.el8_1

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH-4.4-20191201.7-RHVH-x86_64-dvd1.iso and reboot
2. Login to RHVH, set local repo point to "redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch.rpm"
3. Upgrade RHVH
   # yum update 
4. Reboot and focus on boot entry
   # reboot
5. Restart the test server via the test server's menu "Power -> restart the server" 
6. Focus on boot entry and check
   # imgbase w
   # imgbase layout

Actual results:
1. In step 3, upgrade is complete with no error
# yum update
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat update to latest                                                                                                                258 kB/s | 1.1 kB     00:00    
Dependencies resolved.
========================================================================================================================================================================
 Package                                                      Architecture                Version                                     Repository                   Size
========================================================================================================================================================================
Installing:
 redhat-virtualization-host-image-update                      noarch                      4.4.0-20191204.2.el8_1                      update                      763 M
     replacing  redhat-virtualization-host-image-update-placeholder.noarch 4.4.0-9.el8ev

Transaction Summary
========================================================================================================================================================================
Install  1 Package

Total download size: 763 M
Is this ok [y/N]: y
Downloading Packages:
redhat-virtualization-host-image-update-latest.rpm                                                                                       83 MB/s | 763 MB     00:09    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    83 MB/s | 763 MB     00:09     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                1/1 
  Running scriptlet: redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch                                                                          1/2 
  Installing       : redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch                                                                          1/2 
  Running scriptlet: redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch                                                                          1/2 
  Obsoleting       : redhat-virtualization-host-image-update-placeholder-4.4.0-9.el8ev.noarch                                                                       2/2 
  Verifying        : redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch                                                                          1/2 
  Verifying        : redhat-virtualization-host-image-update-placeholder-4.4.0-9.el8ev.noarch                                                                       2/2 
Unpersisting: redhat-virtualization-host-image-update-placeholder-4.4.0-9.el8ev.noarch.rpm
Installed products updated.

Installed:
  redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch                                                                                                 

Complete!


2. In step 4, when the "reboot" command is executed after upgrade, the boot entries of the new layer and the old layer are correct, but when entering the new layer, the system is hang at:
...
...
"[ OK ] Started Update is Completed."
"[ OK ] Started Crash recovery kernel arming."

3. In step 5, after restart the test server, it can enter the new layer of system.

4. The result of step 6 is correct
# imgbase w
You are on rhvh-4.4.0.10-0.20191204.0+1

# imgbase layout
rhvh-4.4.0.9-0.20191201.0
 +- rhvh-4.4.0.9-0.20191201.0+1
rhvh-4.4.0.10-0.20191204.0
 +- rhvh-4.4.0.10-0.20191204.0+1

Expected results:
After upgrade, “reboot” command executed successfully and can enter the system

Additional info:

Comment 4 peyu 2020-01-16 08:32:43 UTC
I did some tests these days.

1. After installing "RHVH-4.4-20191201.7-RHVH-x86_64-dvd1.iso", run the "reboot" command multiple times.
test result: The "reboot" command executes correctly and the system will not hang.

2. Upgrade RHVH to "redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch.rpm"
   #yum update
   #reboot
test result: The system hangs, the message is as follows:
...
...
"[ OK ] Started Update is Completed."
"[ OK ] Started Crash recovery kernel arming."

3. Restart the test server via the test server's menu "Power -> restart the server" and then enter the new/old layers to check the "reboot" command
   #reboot
test result: The "reboot" command executes correctly and the system will not hang.

4. Install "RHVH-4.4-20191201.7-RHVH-x86_64-dvd1.iso", then upgrade to "redhat-virtualization-host-image-update-4.4.0-20191204.2.el8_1.noarch.rpm" and run the "reboot" command with some options
   #yum update
   #reboot -n
   #reboot -f
test result: The system still hangs as follows:
...
...
"[ OK ] Started Update is Completed."
"[ OK ] Started Crash recovery kernel arming."


So this bug looks like caused by upgrade.


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