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

Bug 1546265

Summary: The "v3_6 upgrade_control_plane" playbook fails, due to not finding 'etcd_quota_backend_bytes' variable.
Product: OpenShift Container Platform Reporter: DAVID F WATSON <dwatson>
Component: Cluster Version OperatorAssignee: Fabian von Feilitzsch <fabian>
Status: CLOSED DUPLICATE QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: aos-bugs, dwatson, jokerman, mmccomas, mwitzenm, rspazzol, wmeng
Target Milestone: ---   
Target Release: 3.6.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-20 22:15:35 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 DAVID F WATSON 2018-02-16 18:54:06 UTC
Description of problem:
Running the "v3_6 upgrade_control_plane" playbook failed on etcd_upgrade 'lineinfile' task due to "etcd_quota_backend_bytes is undefined"


Version-Release number of the following components:
rpm -q openshift-ansible
openshift-ansible-3.6.173.0.48-1.git.0.1609d30.el7.noarch

rpm -q ansible
ansible-2.2.3.0-1.el7.noarch

ansible --version
ansible 2.2.3.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides


How reproducible:
Repeatedly, until adding 'etcd_quota_backend_bytes=4294967296' (using value in /usr/share/ansible/openshift-ansible/roles/etcd/defaults/main.yaml) to hosts inventory file.


Steps to Reproduce:
1. ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade_control_plane.yml 


Actual results:
TASK [etcd_upgrade : lineinfile] ***********************************************
fatal: [denqca3osmas01.qic.tiaa-cref.org]: FAILED! => {
    "failed": true
}

MSG:

the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'etcd_quota_backend_bytes' is undefined

The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/etcd_upgrade/tasks/upgrade_rpm.yml': line 22, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- lineinfile:
  ^ here


Expected results:
The upgrade_control_plane playbook upgrades the etcd members, correctly, finding 'etcd_quota_backend_bytes' where needed in included playbooks.


Additional info:
See customer Support Case https://access.redhat.com/support/cases/#/case/02037097 for logs, ansible.cfg & hosts inventory file

Comment 2 Scott Dodson 2018-02-20 22:15:35 UTC
That bug is fixed in openshift-ansible-3.6.173.0.65-1 and later

*** This bug has been marked as a duplicate of bug 1507934 ***