Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1451649

Summary: "No packages marked for update" when upgrade from some builds to rhvh-4.1-20170512 via "yum update"
Product: [oVirt] ovirt-node Reporter: Huijuan Zhao <huzhao>
Component: Installation & UpdateAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: Huijuan Zhao <huzhao>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs, cshao, dguo, dougsland, jiawu, leiwang, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.1.2Flags: rule-engine: ovirt-4.1+
rbarry: devel_ack+
cshao: testing_ack+
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-virtualization-host-4.1-20170518.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 08:22:59 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:
Attachments:
Description Flags
Sosreport and all logs in /var/log, /tmp/ from rhvh
none
Local repos none

Description Huijuan Zhao 2017-05-17 08:44:49 UTC
Created attachment 1279593 [details]
Sosreport and all logs in /var/log, /tmp/ from rhvh

Description of problem:
It reports "No packages marked for update" when upgrade from rhvh-4.1-20170506 to rhvh-4.1-20170512 via "# yum update".
But can access upgrade process with " #yum install redhat-virtualization-host-image-update-4.1-20170512.0.el7_3.noarch.rpm "


Version-Release number of selected component (if applicable):
From:
redhat-virtualization-host-4.1-20170506.0
imgbased-0.9.24-0.1.el7ev.noarch
redhat-virtualization-host-image-update-placeholder-4.1-1.1.el7.noarch
To:
redhat-virtualization-host-4.1-20170512.0
imgbased-0.9.25-0.1.el7ev.noarch
redhat-virtualization-host-image-update-4.1-20170512.0.el7_3.noarch.rpm


How reproducible:
100%

Steps to Reproduce:
1. Install RHVH 4.1.2 build redhat-virtualization-host-4.1-20170506.0 via interactive anaconda.
2. Login RHVH, setup local repos(rhvh-4.1-20170512.0) and update to rhvh-4.1-20170512.0:
   # yum update
3. Download redhat-virtualization-host-image-update-4.1-20170512.0.el7_3.noarch.rpm, and update to rhvh-4.1-20170512.0:
   # yum install redhat-virtualization-host-image-update-4.1-20170512.0.el7_3.noarch.rpm


Actual results:
1. After step 2, it reports "No packages marked for update":
[root@ibm-x3650m5-04 home]# yum update
Loaded plugins: imgbased-persist, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repo rhel-7-server-rhvh-4-source-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-source-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
Repo rhel-7-server-rhvh-4-beta-debug-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-beta-debug-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
Repo rhel-7-server-rhvh-4-debug-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-debug-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
Repo rhel-7-server-rhvh-4-beta-source-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-beta-source-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
Repo rhel-7-server-rhvh-4-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
Repo rhel-7-server-rhvh-4-beta-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877.pem
Repo rhel-7-server-rhvh-4-beta-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5858345830546115877-key.pem
rhel-7-server-rhvh-4-beta-debug-rpms                                                                                                           | 2.9 kB  00:00:00    
rhel-7-server-rhvh-4-beta-rpms                                                                                                                 | 2.9 kB  00:00:00    
rhel-7-server-rhvh-4-beta-source-rpms                                                                                                          | 2.9 kB  00:00:00    
rhel-7-server-rhvh-4-debug-rpms                                                                                                                | 2.9 kB  00:00:00    
rhel-7-server-rhvh-4-rpms                                                                                                                      | 2.9 kB  00:00:00    
rhel-7-server-rhvh-4-source-rpms                                                                                                               | 2.9 kB  00:00:00    
(1/6): rhel-7-server-rhvh-4-beta-debug-rpms/primary_db                                                                                         | 1.7 kB  00:00:00    
(2/6): rhel-7-server-rhvh-4-source-rpms/primary_db                                                                                             | 4.1 kB  00:00:00    
(3/6): rhel-7-server-rhvh-4-beta-rpms/primary_db                                                                                               | 9.4 kB  00:00:00    
(4/6): rhel-7-server-rhvh-4-beta-source-rpms/primary_db                                                                                        | 4.1 kB  00:00:00    
(5/6): rhel-7-server-rhvh-4-rpms/primary_db                                                                                                    | 9.4 kB  00:00:00    
(6/6): rhel-7-server-rhvh-4-debug-rpms/primary_db                                                                                              | 1.7 kB  00:00:00    
No packages marked for update


2. After step 3, can upgrade to rhvh-4.1-20170512.0.



Excepted results:
After step 2, should upgrade to rhvh-4.1-20170512.0 successful



Additional info:
1. Also encountered this issue when upgrade from rhvh-4.1-0.20170421.0 to rhvh-4.1-20170512.0
2. No such issue when upgrade from rhvh-4.1-0.20170202.0 to rhvh-4.1-20170512.0 on the same machine with the same local repos.

Comment 1 Huijuan Zhao 2017-05-17 08:46:36 UTC
Created attachment 1279594 [details]
Local repos

Comment 2 Ying Cui 2017-05-18 02:19:00 UTC
I have to escalate the issue to get much attention on it, and consider it is 4.1.2 blocker according to bug description, it affects upgrade flow.

Comment 3 Ryan Barry 2017-05-18 03:12:08 UTC
Sorry, Ying. This bug has attention.

We're waiting on package signing in order to build tomorrow, which will resolve this. I was hoping for signing today, but did not get it...

Comment 4 Huijuan Zhao 2017-05-19 05:16:52 UTC
Test Version:
From:
redhat-virtualization-host-4.1-20170506.0
imgbased-0.9.24-0.1.el7ev.noarch
redhat-virtualization-host-image-update-placeholder-4.1-1.1.el7.noarch
To:
redhat-virtualization-host-4.1-20170518.0
imgbased-0.9.26-0.1.el7ev.noarch
redhat-virtualization-host-image-update-4.1-20170518.0.el7_3.noarch

Test steps:
Same as comment 0

Test results:
After step 2, upgrade to rhvh-4.1-20170518.0 successful


Upgrade from redhat-virtualization-host-4.1-20170421.0 to rhvh-4.1-20170518.0 also successful.

So this bug is fixed in redhat-virtualization-host-4.1-20170518.0, change the status to VERIFIED.