Bug 1567857 - [3.6] Upgrade failed for validate_etcd_conf.yml not found
Summary: [3.6] Upgrade failed for validate_etcd_conf.yml not found
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.6.z
Assignee: Vadim Rutkovsky
QA Contact: Gaoyun Pei
Depends On:
Blocks: 1563375
TreeView+ depends on / blocked
Reported: 2018-04-16 10:06 UTC by Gaoyun Pei
Modified: 2018-05-07 20:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2018-05-07 20:20:14 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1335 0 None None None 2018-05-07 20:20:26 UTC

Description Gaoyun Pei 2018-04-16 10:06:22 UTC
Description of problem:

During upgrade from to, upgrade playbook failed as below:

TASK [etcd_upgrade : Failt if r_etcd_upgrade_mechanism is not set during upgrade] *******************************************************************************************
skipping: [ec2-34-207-75-197.compute-1.amazonaws.com] => {
    "changed": false, 
    "skip_reason": "Conditional result was False", 
    "skipped": true

TASK [etcd_upgrade : Upgrade rpm based etcd] ********************************************************************************************************************************
fatal: [ec2-34-207-75-197.compute-1.amazonaws.com]: FAILED! => {
    "failed": true, 
    "reason": "Unable to retrieve file contents\nCould not find or access '/usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/etcd/validate_etcd_conf.yml'"
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade.retry

This should be a regression issue caused by https://github.com/openshift/openshift-ansible/pull/7781/commits/44ecd904b493cdee8b7673b9da4bae714df50236
validate_etcd_conf.yml is included in role etcd_upgrade, but it's added under roles/etcd/tasks/upgrade/

Version-Release number of the following components:

How reproducible:

Steps to Reproduce:
1.Run upgrade playbook against the old version 3.6 cluster
ansible-playbook -i host/host /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade.yml

Actual results:

Expected results:

Additional info:

Comment 1 Vadim Rutkovsky 2018-04-17 09:25:15 UTC
Created https://github.com/openshift/openshift-ansible/pull/7988

Comment 4 Mike Fiedler 2018-04-26 20:36:12 UTC
Confirmed the PR in comment 1 fixes the issue.   Tested off of release-3.6 branch with latest commits and did not see the problem any more.

Comment 5 Gaoyun Pei 2018-04-27 07:09:53 UTC
Verify this bug with openshift-ansible-

During upgrade from 3.5 to 3.6, also with etcd upgrade from etcd-3.1.9-2.el7.x86_64 to etcd-3.2.15-2.el7.x86_64, this step passed.

TASK [etcd_upgrade : Upgrade rpm based etcd] ********************************************************************************************************************************
included: /usr/share/ansible/openshift-ansible/roles/etcd_upgrade/tasks/upgrade_rpm.yml for ec2-54-227-169-85.compute-1.amazonaws.com

Comment 9 errata-xmlrpc 2018-05-07 20:20:14 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.


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