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

Bug 1447519

Summary: Fail to upgrade ocp due to wrong template path of etcdctl.sh.j2
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: Cluster Version OperatorAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-ansible-3.6.54-1.git.0.ab90d5e.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 05:21:25 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:

Description liujia 2017-05-03 04:58:30 UTC
Description of problem:
Upgrade failed at task [Configure etcd profile.d alises] due to a wrong template path.

TASK [Configure etcd profile.d alises] *****************************************
task path: /usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/etcd/roles/etcd/tasks/etcdctl.yml:6
fatal: [openshift-109.x.x.x]: FAILED! => {
    "changed": false, 
    "failed": true, 
    "invocation": {
        "module_args": {
            "dest": "/etc/profile.d/etcdctl.sh", 
            "group": "root", 
            "mode": 493, 
            "owner": "root", 
            "src": "etcdctl.sh.j2"
        }, 
        "module_name": "template"
    }
}

MSG:

Unable to find 'etcdctl.sh.j2' in expected paths.
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade.retry



Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.6.51-1.git.0.18eb563.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. install ocp3.5
2. upgrade 3.5 to 3.6
3.

Actual results:
Upgrade failed.

Expected results:
Upgrade succeed.

Additional info:

Comment 1 Jan Chaloupka 2017-05-11 12:16:16 UTC
Fixed by https://github.com/openshift/openshift-ansible/pull/4077

Comment 3 liujia 2017-05-16 04:00:45 UTC
Blocked verify on latest build by bug 1450827. Waiting next build to verify this bug.

Comment 4 liujia 2017-05-24 06:57:39 UTC
Version:
atomic-openshift-utils-3.6.80-1.git.0.807fc98.el7.noarch

Steps:
1. install ocp3.5
2. upgrade 3.5 to 3.6

Result:
Upgrade succeed.

Comment 6 errata-xmlrpc 2017-08-10 05:21:25 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/RHEA-2017:1716