Bug 1770683
| Summary: | [RHVH-4.4.0] Upgrade RHVH from RHVH-4.4-20190926.3 to rhvh-4.4.0.8-0.20191107.0 failed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | peyu | ||||
| Component: | redhat-virtualization-host | Assignee: | Yuval Turgeman <yturgema> | ||||
| Status: | CLOSED ERRATA | QA Contact: | peyu | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.4.0 | CC: | cshao, lsvaty, mavital, nlevy, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang, yturgema | ||||
| Target Milestone: | ovirt-4.4.0 | Keywords: | TestBlocker | ||||
| Target Release: | 4.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | imgbased-1.2.6 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-08-04 16:22:05 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1724102 | ||||||
| Attachments: |
|
||||||
Created attachment 1634774 [details]
/var/log
I tested this issue with redhat-virtualization-host-4.4.0-20191201.0.el8_1
No errors during the upgrade process, but other issues happened.
Test steps:
1. Install RHVH-4.4-20190926.3-RHVH-x86_64-dvd1.iso and reboot
2. Login to RHVH, set local repo point to "redhat-virtualization-host-image-update-4.4.0-20191201.0.el8_1.noarch.rpm"
3. Upgrade RHVH
# yum update
4. Reboot and focus on boot entry
5. Restart the test server
6. Focus on boot entry and check
# imgbase w
# imgbase layout
Test results:
1. In step 3, upgrade is complete
# 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.
Last metadata expiration check: 0:04:11 ago on Fri 06 Dec 2019 07:03:02 AM UTC.
Dependencies resolved.
===================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================
Installing:
redhat-virtualization-host-image-update noarch 4.4.0-20191201.0.el8_1 update 759 M
replacing redhat-virtualization-host-image-update-placeholder.noarch 4.4.0-3.el8ev
Transaction Summary
===================================================================================================================
Install 1 Package
Total download size: 759 M
Is this ok [y/N]: y
Downloading Packages:
redhat-virtualization-host-image-update-latest.rpm 82 MB/s | 759 MB 00:09
-------------------------------------------------------------------------------------------------------------------
Total 82 MB/s | 759 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-20191201.0.el8_1.noarch 1/2
Installing : redhat-virtualization-host-image-update-4.4.0-20191201.0.el8_1.noarch 1/2
Running scriptlet: redhat-virtualization-host-image-update-4.4.0-20191201.0.el8_1.noarch 1/2
Obsoleting : redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch 2/2
Verifying : redhat-virtualization-host-image-update-4.4.0-20191201.0.el8_1.noarch 1/2
Verifying : redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch 2/2
Installed products updated.
Unpersisting: redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch.rpm
Installed:
redhat-virtualization-host-image-update-4.4.0-20191201.0.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 stops 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 system.
4. The result of step 6 is correct
# imgbase w
You are on rhvh-4.4.0.9-0.20191201.0+1
# imgbase layout
rhvh-4.4.0.3-0.20190926.0
+- rhvh-4.4.0.3-0.20190926.0+1
rhvh-4.4.0.9-0.20191201.0
+- rhvh-4.4.0.9-0.20191201.0+1
No errors during the upgrade process, but other issues happened. So When the bug status is ON_QA, I will move bug status to VERIFIED. For the new issue, I created a new bug: Bug 1783184 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 (RHV Host (redhat-virtualization-host) 4.4), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:3316 |
Description of problem: Upgrade RHVH from RHVH-4.4-20190926.3 to rhvh-4.4.0.8-0.20191107.0 failed. The error message is as follows: Error in POSTIN scriptlet in rpm package redhat-virtualization-host-image-update Version-Release number of selected component (if applicable): Test version: Build1: RHVH-4.4-20190926.3-RHVH-x86_64-dvd1.iso Build2: redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch.rpm How reproducible: 100% Steps to Reproduce: 1. Install RHVH-4.4-20190926.3-RHVH-x86_64-dvd1.iso 2. Download "redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch.rpm" 3. Upgrade to rhvh-4.4.0.8-0.20191107.0+1 # yum install "redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch.rpm" 4. Reboot and login to new build Actual results: 1. In step 3, an error occurred during the update. # yum install redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch.rpm 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. Dependencies resolved. ===================================================================================================== Package Arch Version Repository Size ===================================================================================================== Installing: redhat-virtualization-host-image-update noarch 4.4.0-20191107.1.el8_1 @commandline 722 M replacing redhat-virtualization-host-image-update-placeholder.noarch 4.4.0-3.el8ev Transaction Summary ===================================================================================================== Install 1 Package Total size: 722 M Is this ok [y/N]: y Downloading Packages: 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-20191107.1.el8_1.noarch 1/2 Installing : redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch 1/2 Running scriptlet: redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch 1/2 warning: %post(redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch) scriptlet failed, exit status 1 Error in POSTIN scriptlet in rpm package redhat-virtualization-host-image-update Obsoleting : redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch 2/2 Verifying : redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch 1/2 Verifying : redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch 2/2 Unpersisting: redhat-virtualization-host-image-update-placeholder-4.4.0-3.el8ev.noarch.rpm Installed products updated. Installed: redhat-virtualization-host-image-update-4.4.0-20191107.1.el8_1.noarch Complete! Expected results: In step 3, upgrade is successful with no error message. Additional info: