Bug 1351942 - Report error during upgrade in ovirt-node-ng-4.0
Summary: Report error during upgrade in ovirt-node-ng-4.0
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.0.1
: 4.0
Assignee: Ryan Barry
QA Contact: Huijuan Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-01 08:26 UTC by Huijuan Zhao
Modified: 2016-08-04 13:33 UTC (History)
10 users (show)

Fixed In Version: imgbased-0.7.1-0.1.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 13:33:18 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.0.z+
huzhao: testing_plan_complete+
rule-engine: planning_ack+
dfediuck: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)
All displayed info during upgrade (156.67 KB, text/plain)
2016-07-01 08:26 UTC, Huijuan Zhao
no flags Details
logs of /var/log and sosreport (6.27 MB, application/x-gzip)
2016-07-01 08:28 UTC, Huijuan Zhao
no flags Details

Description Huijuan Zhao 2016-07-01 08:26:54 UTC
Created attachment 1174840 [details]
All displayed info during upgrade

Description of problem:
1. During upgrade in ovirt-node-ng-4.0, there is much error information, such as following:
-------------------------------------------------------------------------------------------------------
sed: can't read /usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/network/bridge.py: No such file or directory
warning: %post(ovirt-release-host-node-4.0.0-5.el7.noarch) scriptlet failed, exit status 2
Non-fatal POSTIN scriptlet failure in rpm package ovirt-release-host-node-4.0.0-5.el7.noarch
--------------------------------------------------------------------------------------------------------
2. Check /usr/share/ovirt-hosted-engine-setup/plugins/ovirt-hosted-engine-setup/network/bridge.py, there is no such file and directory.


Version-Release number of selected component (if applicable):
1.Before update:
ovirt-node-ng-installer-ovirt-4.0-2016062004.iso
imgbased-0.7.0-0.201606081307gitfb92e93.el7.centos.noarch
ovirt-node-ng-image-update-placeholder-4.0.0-1.el7.noarch
2.After update:
ovirt-node-ng-4.0.0-0.20160624.0
imgbased-0.7.0-0.201606081307gitfb92e93.el7.centos.noarch
ovirt-node-ng-image-update-placeholder-4.0.0-5.201606240219.el7.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install ovirt-node-ng-installer-ovirt-4.0-2016062004.iso via kickstart file.
2. Reboot and login NGN, enable the below repos:
CentOS-Base.repo  
CentOS-Debuginfo.repo    
cockpit-preview-epel-7.repo  
ovirt-4.0-pre.repo
ovirt-4.0-pre-dependencies.repo
3. Upgrade NGN via "yum update"

Actual results:
1. After step 3, there is much error and debug info during upgrade, please refer to the attachment for detailed info


Expected results:
1. After step 3, there should be no error info during upgrade.


Additional info:

Comment 1 Huijuan Zhao 2016-07-01 08:28:34 UTC
Created attachment 1174841 [details]
logs of /var/log and sosreport

Comment 2 Ryan Barry 2016-07-05 14:29:11 UTC
Please do not enable all packages for update. Only ovirt-node-ng-image and appliance

Comment 3 Ryan Barry 2016-07-07 22:59:55 UTC
Please try:

http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.0-snapshot_build-artifacts-fc22-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/

The correct repos/packages are enabled by default.

Comment 4 Huijuan Zhao 2016-07-11 07:24:30 UTC
I installed ovirt-node-ng-installer-ovirt-4.0-snapshot-2016071004.iso according to Comment 3, but there is no newer img or package for upgrade now, so I will verify this bug after there is newer img and can upgrade via "yum update"

Comment 5 Huijuan Zhao 2016-07-20 02:53:38 UTC
Test version:
1.Before update:
RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso
imgbased-0.7.2-0.1.el7ev.noarch
redhat-release-virtualization-host-4.0-0.20.el7.x86_64
kernel-3.10.0-327.22.2.el7.x86_64
redhat-virtualization-host-image-update-placeholder-4.0-0.20.el7.noarch
2. After update:
redhat-virtualization-host-4.0-20160714.5
imgbased-0.7.2-0.1.el7ev.noarch
redhat-release-virtualization-host-4.0-0.20.el7.x86_64
kernel-3.10.0-327.22.2.el7.x86_64
redhat-virtualization-host-image-update.noarch 0:4.0-20160714.5.el7


Test steps:
1. Install RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso
2. Reboot and login NGN, register to RHSM and enable repos
3. Upgrade RHVH via "yum update"

Test results:
After step 3, upgrade successful without error info:

# yum update -y
Loaded plugins: imgbased-warning, product-id, search-disabled-repos, subscription-manager
Warning: yum operations are not persisted across upgrades!
rhel-7-server-rhvh-4-beta-debug-rpms                                                                                                           | 3.7 kB  00:00:00     
rhel-7-server-rhvh-4-beta-rpms                                                                                                                 | 3.8 kB  00:00:00     
rhel-7-server-rhvh-4-beta-source-rpms                                                                                                          | 3.7 kB  00:00:00     
rhel-7-server-rhvh-4-debug-rpms                                                                                                                | 3.7 kB  00:00:00     
rhel-7-server-rhvh-4-rpms                                                                                                                      | 3.7 kB  00:00:00     
rhel-7-server-rhvh-4-source-rpms                                                                                                               | 3.7 kB  00:00:00     
(1/15): rhel-7-server-rhvh-4-beta-rpms/x86_64/updateinfo                                                                                       |   91 B  00:00:01     
(2/15): rhel-7-server-rhvh-4-beta-source-rpms/x86_64/updateinfo                                                                                |   91 B  00:00:01     
(3/15): rhel-7-server-rhvh-4-beta-debug-rpms/x86_64/updateinfo                                                                                 |   91 B  00:00:01     
(4/15): rhel-7-server-rhvh-4-beta-debug-rpms/x86_64/primary_db                                                                                 | 2.3 kB  00:00:01     
(5/15): rhel-7-server-rhvh-4-beta-rpms/x86_64/primary_db                                                                                       |  21 kB  00:00:02     
(6/15): rhel-7-server-rhvh-4-debug-rpms/x86_64/group                                                                                           |  104 B  00:00:01     
(7/15): rhel-7-server-rhvh-4-debug-rpms/x86_64/updateinfo                                                                                      |   91 B  00:00:01     
(8/15): rhel-7-server-rhvh-4-beta-source-rpms/x86_64/primary_db                                                                                | 6.7 kB  00:00:01     
(9/15): rhel-7-server-rhvh-4-rpms/x86_64/group                                                                                                 |  104 B  00:00:01     
(10/15): rhel-7-server-rhvh-4-rpms/x86_64/updateinfo                                                                                           |   91 B  00:00:01     
(11/15): rhel-7-server-rhvh-4-debug-rpms/x86_64/primary_db                                                                                     | 1.5 kB  00:00:01     
(12/15): rhel-7-server-rhvh-4-source-rpms/x86_64/group                                                                                         |  104 B  00:00:01     
(13/15): rhel-7-server-rhvh-4-rpms/x86_64/primary_db                                                                                           | 1.5 kB  00:00:01     
(14/15): rhel-7-server-rhvh-4-source-rpms/x86_64/updateinfo                                                                                    |   91 B  00:00:01     
(15/15): rhel-7-server-rhvh-4-source-rpms/x86_64/primary_db                                                                                    | 1.5 kB  00:00:01     
Resolving Dependencies
--> Running transaction check
---> Package redhat-virtualization-host-image-update.noarch 0:4.0-20160714.5.el7 will be obsoleting
---> Package redhat-virtualization-host-image-update-placeholder.noarch 0:4.0-0.20.el7 will be obsoleted
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================
 Package                                                Arch                  Version                             Repository                                     Size
======================================================================================================================================================================
Installing:
 redhat-virtualization-host-image-update                noarch                4.0-20160714.5.el7                  rhel-7-server-rhvh-4-beta-rpms                481 M
     replacing  redhat-virtualization-host-image-update-placeholder.noarch 4.0-0.20.el7

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

Total download size: 481 M
Downloading packages:
warning: /var/cache/yum/x86_64/7RedHatVirtualizationHost/rhel-7-server-rhvh-4-beta-rpms/packages/redhat-virtualization-host-image-update-4.0-20160714.5.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Public key for redhat-virtualization-host-image-update-4.0-20160714.5.el7.noarch.rpm is not installed
redhat-virtualization-host-image-update-4.0-20160714.5.el7.noarch.rpm                                                                          | 481 MB  01:00:35     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0xFD431D51:
 Userid     : "Red Hat, Inc. (release key 2) <security>"
 Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51
 Package    : redhat-release-virtualization-host-4.0-0.20.el7.x86_64 (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0x2FA658E0:
 Userid     : "Red Hat, Inc. (auxiliary key) <security>"
 Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0
 Package    : redhat-release-virtualization-host-4.0-0.20.el7.x86_64 (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0xF21541EB:
 Userid     : "Red Hat, Inc. (beta key 2) <security>"
 Fingerprint: b08b 659e e86a f623 bc90 e8db 938a 80ca f215 41eb
 Package    : redhat-release-virtualization-host-4.0-0.20.el7.x86_64 (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0x897DA07A:
 Userid     : "Red Hat, Inc. (Beta Test Software) <rawhide>"
 Fingerprint: 17e8 543d 1d4a a5fa a96a 7e9f fd37 2689 897d a07a
 Package    : redhat-release-virtualization-host-4.0-0.20.el7.x86_64 (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : redhat-virtualization-host-image-update-4.0-20160714.5.el7.noarch                                                                                  1/2 
  Erasing    : redhat-virtualization-host-image-update-placeholder-4.0-0.20.el7.noarch                                                                            2/2 
  Verifying  : redhat-virtualization-host-image-update-4.0-20160714.5.el7.noarch                                                                                  1/2 
  Verifying  : redhat-virtualization-host-image-update-placeholder-4.0-0.20.el7.noarch                                                                            2/2 

Installed:
  redhat-virtualization-host-image-update.noarch 0:4.0-20160714.5.el7                                                                                                 

Replaced:
  redhat-virtualization-host-image-update-placeholder.noarch 0:4.0-0.20.el7                                                                                           

Complete!


So this bug is fixed on RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso, change the status to VERIFIED


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