Bug 1447519 - Fail to upgrade ocp due to wrong template path of etcdctl.sh.j2
Summary: Fail to upgrade ocp due to wrong template path of etcdctl.sh.j2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jan Chaloupka
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-03 04:58 UTC by liujia
Modified: 2017-08-10 05:21 UTC (History)
3 users (show)

Fixed In Version: openshift-ansible-3.6.54-1.git.0.ab90d5e.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 05:21:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

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


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