Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1447519 - Fail to upgrade ocp due to wrong template path of etcdctl.sh.j2
Fail to upgrade ocp due to wrong template path of etcdctl.sh.j2
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.6.0
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Jan Chaloupka
liujia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-03 00:58 EDT by liujia
Modified: 2017-08-10 01:21 EDT (History)
3 users (show)

See Also:
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 01:21:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 05:02:50 EDT

  None (edit)
Description liujia 2017-05-03 00:58:30 EDT
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 08:16:16 EDT
Fixed by https://github.com/openshift/openshift-ansible/pull/4077
Comment 3 liujia 2017-05-16 00:00:45 EDT
Blocked verify on latest build by bug 1450827. Waiting next build to verify this bug.
Comment 4 liujia 2017-05-24 02:57:39 EDT
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 01:21:25 EDT
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.