Bug 1549081 - upgrade failed for RPM install at openshift version check
Summary: upgrade failed for RPM install at openshift version check
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.9.0
Assignee: Michael Gugino
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-26 11:09 UTC by Weihua Meng
Modified: 2018-06-18 18:29 UTC (History)
5 users (show)

Fixed In Version: openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-18 17:29:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Weihua Meng 2018-02-26 11:09:08 UTC
Description of problem:
upgrade failed for RPM install at openshift version check

Version-Release number of the following components:
openshift-ansible-3.9.0-0.53.0.git.0.f8f01ef.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. upgrade RPM v3.7 cluster to v3.9
# ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_9/upgrade.yml

Actual results:
TASK [openshift_version : Get available atomic-openshift version] *************************************************************************************************************************************************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_version/tasks/check_available_rpms.yml:2
Using module file /usr/share/ansible/openshift-ansible/roles/lib_utils/library/repoquery.py

TASK [openshift_version : fail] ***********************************************************************************************************************************************************************************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_version/tasks/check_available_rpms.yml:8
fatal: [host-xxxx.redhat.com]: FAILED! => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", 
    "changed": false
}
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_9/upgrade.retry

Expected results:
Upgrade succeed

Comment 3 Weihua Meng 2018-02-26 11:12:04 UTC
on master after upgrade failed
[root@host-172-xx ~]# repoquery atomic-openshift
atomic-openshift-0:3.9.0-0.53.0.git.0.3b81e2d.el7.x86_64
[root@host-172-xx ~]# repoquery atomic-openshift-3.9.0
atomic-openshift-0:3.9.0-0.53.0.git.0.3b81e2d.el7.x86_64
[root@host-172-xx ~]# repoquery atomic-openshift-3.9
[root@host-172-xx ~]#

Comment 5 Scott Dodson 2018-02-26 13:46:02 UTC
https://github.com/openshift/openshift-ansible/pull/7288 to remove no_log: True from the play that masked the output here, not a fix for this bug, but I think we should remove the no_log from that play.

Comment 6 Scott Dodson 2018-02-26 14:55:36 UTC
dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1548485

*** This bug has been marked as a duplicate of bug 1548485 ***

Comment 7 Weihua Meng 2018-02-27 06:09:32 UTC
I do not think this bug should be dup of that bug https://bugzilla.redhat.com/show_bug.cgi?id=1548485

The PR (https://github.com/openshift/openshift-ansible/pull/7269) which fixed that bug was merged in "openshift-ansible-3.9.0-0.53.0 openshift-ansible-3.9.0-0.52.0"

I meet the bug with openshift-ansible-3.9.0-0.53.0.git.0.f8f01ef.el7.noarch

And the two bugs failed at different tasks.

Please have another look for it.

Thanks.

Comment 8 Michael Gugino 2018-02-27 14:25:19 UTC
I will take another look at this bug.

We just merged the no_log removal change.  Can you run try to reproduce this again so we can see the actual error message?

I don't see an obvious reason for this to fail.  Are repositories providing 3.8 and 3.9 available?

Comment 9 Weihua Meng 2018-02-27 22:24:28 UTC
There is no RPM which include the no_log removal change for now.

I will try and provide log when new RPM with that change available.

Comment 10 Weihua Meng 2018-02-28 08:50:01 UTC
Tried with 
openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch

Not meet this issue.


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