Bug 1425400
| Summary: | upgrade stopped and exited at task [grep pluginOrderOverride] | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
| Component: | Cluster Version Operator | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.5.0 | CC: | anli, aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-12 19:02:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Blocked verify by bug 1425688 verified and pass for both rpm install and containerized install openshift-ansible-3.5.15 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 |
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.