Bug 1425400 - upgrade stopped and exited at task [grep pluginOrderOverride]
Summary: upgrade stopped and exited at task [grep pluginOrderOverride]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: ewolinet
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-21 10:49 UTC by liujia
Modified: 2017-07-24 14:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Grep-ing for 'pluginOrderOverride' within /etc/origin/master/master-config.yaml and the string not being found. Consequence: The task fails and causes the playbook to fail Fix: Updated the task to not fail if the RC != 0 (the string wasn't found) Result: If the string is missing, the playbook doesn't fail out and continues to run as expected
Clone Of:
Environment:
Last Closed: 2017-04-12 19:02:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

Description liujia 2017-02-21 10:49:54 UTC
Description of problem:
Upgrade playbook can not proceed when grep no "pluginOrderOverride" at task [grep pluginOrderOverride] during Upgrade ocp3.4 to 3.5 against rpm env.

TASK [grep pluginOrderOverride] ************************************************
fatal: [openshift-129.x.x.x]: FAILED! => {
    "changed": false, 
    "cmd": [
        "grep", 
        "pluginOrderOverride", 
        "/etc/origin/master/master-config.yaml"
    ], 
    "delta": "0:00:00.003411", 
    "end": "2017-02-21 04:11:23.505183", 
    "failed": true, 
    "rc": 1, 
    "start": "2017-02-21 04:11:23.501772", 
    "warnings": []
}
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_5/upgrade.retry


Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.5.8-1.git.0.0e02ef8.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. rpm install ocp3.4
2. upgrade ocp3.4 to 3.5
3.

Actual results:
Upgrade stopped and exited.

Expected results:
Upgrade should proceed to next task.

Additional info:
#playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
It should be "failed_when:false" for task "grep pluginOrderOverride" to continue next task.

Comment 2 liujia 2017-02-22 05:59:17 UTC
Blocked verify by bug 1425688

Comment 3 Anping Li 2017-02-27 07:51:10 UTC
verified and pass for both rpm install and containerized install openshift-ansible-3.5.15

Comment 5 errata-xmlrpc 2017-04-12 19:02:12 UTC
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/RHBA-2017:0903


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