Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1547864 - There is error report when upgrade to rhvh-4.1-20180218.0 / rhvh-4.2-20180218.0
There is error report when upgrade to rhvh-4.1-20180218.0 / rhvh-4.2-20180218.0
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor-ng (Show other bugs)
4.1.10
Unspecified Unspecified
unspecified Severity high
: ovirt-4.2.2
: ---
Assigned To: Yuval Turgeman
Huijuan Zhao
: Regression, ZStream
Depends On:
Blocks: 1548994
  Show dependency treegraph
 
Reported: 2018-02-22 01:58 EST by Huijuan Zhao
Modified: 2018-05-15 13:58 EDT (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of:
: 1548994 (view as bug list)
Environment:
Last Closed: 2018-05-15 13:57:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Node
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
All logs from host after upgrade, but before reboot host (9.04 MB, application/x-gzip)
2018-02-22 01:58 EST, Huijuan Zhao
no flags Details
All logs from host after reboot host (9.97 MB, application/x-gzip)
2018-02-22 02:00 EST, Huijuan Zhao
no flags Details
Screenshot when upgrade from rhvm side (251.99 KB, image/png)
2018-02-22 02:01 EST, Huijuan Zhao
no flags Details
Log in rhvm when upgrade host failed via rhvm side (128.34 KB, text/plain)
2018-02-22 03:39 EST, Huijuan Zhao
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1524 None None None 2018-05-15 13:58 EDT

  None (edit)
Description Huijuan Zhao 2018-02-22 01:58:41 EST
Created attachment 1399170 [details]
All logs from host after upgrade, but before reboot host

Description of problem:
It reported error when upgrade to rhvh-4.1-20180218.0

The error likes below:
warning: %post(redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch


Version-Release number of selected component (if applicable):
From: redhat-virtualization-host-4.1-20171207.0
To:   redhat-virtualization-host-4.1-20180218.0
      imgbased-0.9.54-0.1.el7ev.noarch


How reproducible:
100%
Regression bug
Keywords: Upgrade


Steps to Reproduce:
1. Install redhat-virtualization-host-4.1-20171207.0
2. Setup local repos to redhat-virtualization-host-4.1-20180218.0, and upgrade host
   # yum update
3. Focus on the upgrade process.
4. Reboot host


Actual results:
1. After step3, upgrade failed. The output looks like below:
# yum update
......
......
Resolving Dependencies
--> Running transaction check
---> Package redhat-virtualization-host-image-update.noarch 0:4.1-20180218.0.el7_5 will be obsoleting
---> Package redhat-virtualization-host-image-update-placeholder.noarch 0:4.1-8.1.el7 will be obsoleted
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================
 Package                                                Arch                  Version                             Repository                                     Size
======================================================================================================================================================================
Installing:
 redhat-virtualization-host-image-update                noarch                4.1-20180218.0.el7_5                rhel-7-server-rhvh-4-beta-rpms                645 M
     replacing  redhat-virtualization-host-image-update-placeholder.noarch 4.1-8.1.el7

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

Total download size: 645 M
Is this ok [y/d/N]: y
Downloading packages:
redhat-virtualization-host-image-update-latest.rpm                                                                                             | 645 MB  00:00:09    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch                                                                                1/2
warning: %post(redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch
  Erasing    : redhat-virtualization-host-image-update-placeholder-4.1-8.1.el7.noarch                                                                             2/2
  Verifying  : redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch                                                                                1/2
  Verifying  : redhat-virtualization-host-image-update-placeholder-4.1-8.1.el7.noarch                                                                             2/2

Installed:
  redhat-virtualization-host-image-update.noarch 0:4.1-20180218.0.el7_5                                                                                              

Replaced:
  redhat-virtualization-host-image-update-placeholder.noarch 0:4.1-8.1.el7                                                                                            

Complete!

2. After step4, can login new layer rhvh-4.1-20180218.0


Expected results:
1. After step3, should upgrade successful and no error report during upgrade.


Additional info:
1. It also report the same error when upgrade via "# yum install redhat-virtualization-host-image-update-4.1-20180218.0.el7_5.noarch.rpm"
2. It reported "failed to upgrade host" when upgrade from rhvm side.
Comment 1 Huijuan Zhao 2018-02-22 02:00 EST
Created attachment 1399171 [details]
All logs from host after reboot host
Comment 2 Huijuan Zhao 2018-02-22 02:01 EST
Created attachment 1399172 [details]
Screenshot when upgrade from rhvm side
Comment 3 Huijuan Zhao 2018-02-22 03:39 EST
Created attachment 1399236 [details]
Log in rhvm when upgrade host failed via rhvm side
Comment 4 Yuval Turgeman 2018-02-22 04:42:01 EST
From the imgbase.log, it seems that the update works fine - but when the postinstall script chroots to the new image we get:

[root@node-13316 ~]# chroot /tmp/tmp.lIYi3qQxfl/ rpm -Uvh --quiet --justdb /usr/share/imgbased/*image-update*.rpm 
error: Failed to initialize NSS library
Comment 6 Huijuan Zhao 2018-02-23 01:39:35 EST
The issue also exists in redhat-virtualization-host-4.2-20180218.0
Comment 9 Huijuan Zhao 2018-03-05 21:29:00 EST
This issue is fixed in rhvh-4.1-20180305.0 and rhvh-4.2-20180305.0.

Test version 1:
From: redhat-virtualization-host-4.1-20171207.0
To:   redhat-virtualization-host-4.1-20180305.0

Test version 2:
From: redhat-virtualization-host-4.1-20171207.0
To:   redhat-virtualization-host-4.2-20180305.0

Test steps:
Same as comment 0

Test results:
There is no error report during upgrade, upgrade successful.


So change the status to VERIFIED.
Comment 11 Huijuan Zhao 2018-04-23 23:16:55 EDT
This issue is fixed on rhvh-4.2-20180420.0.

Change the status to VERIFIED
Comment 14 errata-xmlrpc 2018-05-15 13:57:44 EDT
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, 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/RHSA-2018:1524

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