Bug 1369727

Summary: upgrade failed at pluginOrderOverride checking task in post.yaml
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: Cluster Version OperatorAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: aos-bugs, bleanhar, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 09:45:44 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:

Description Anping Li 2016-08-24 08:49:52 UTC
Description of problem:

upgrade failed at the task 'Check for warnings to be printed at the end of the upgrade' in post.yml

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.3.14

How reproducible:
always

Steps to Reproduce:
1. install atomic-openshift-3.2
2. upgrade to 3.3
   ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade.yml
3. check pluginOrderOverride 
[root@host4master ~]# grep pluginOrderOverride /etc/origin/master/master-config.yaml |wc
      0       0       0


Actual results:
TASK [command] *****************************************************************
task path: /usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/post.yml:65
fatal: [host4master.example.com]: FAILED! => {"changed": true, "cmd": ["grep", "pluginOrderOverride", "/etc/origin/master/master-config.yaml"], "delta": "0:00:00.003026", "end": "2016-08-24 04:20:15.546374", "failed": true, "rc": 1, "start": "2016-08-24 04:20:15.543348", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}

NO MORE HOSTS LEFT *************************************************************
    to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade.retry

PLAY RECAP *********************************************************************
host4master.example.com    : ok=277  changed=28   unreachable=0    failed=1   
host4node.example.com      : ok=96   changed=5    unreachable=0    failed=0   


Expected results:


Additional info:

Comment 1 Devan Goodwin 2016-08-24 13:04:20 UTC
My apologies, I completely forgot to test the normal no-config-upgrade required case after implementing the change.

Fixed in https://github.com/openshift/openshift-ansible/pull/2351

Comment 3 Anping Li 2016-08-25 04:56:39 UTC
Verified and pass on atomic-openshift-utils-3.3.15-1

Comment 5 errata-xmlrpc 2016-09-27 09:45:44 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-2016:1933