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

Bug 1556970

Summary: Unsupported parameters for yedit module while updating node selectors
Product: OpenShift Container Platform Reporter: Stefanie Forrester <dakini>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, fabian, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 18:00:45 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 Stefanie Forrester 2018-03-15 16:09:54 UTC
Description of problem:



Version-Release number of the following components:

rpm -q openshift-ansible
openshift-ansible-3.9.8-1.git.0.9a17885.el7.noarch.rpm

rpm -q ansible
ansible-2.4.3.0-1.el7ae.noarch

ansible --version
ansible 2.4.3.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/sedgar/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]


How reproducible:

Every time.

Steps to Reproduce:
1. Start an upgrade on a cluster that needs node selectors set.
2.
3.

Actual results:

TASK [openshift_master : Change default node selector to compute=true] *********
Wednesday 14 March 2018  22:48:11 +0000 (0:00:00.660)       0:33:25.926 ******* 
fatal: [dakinitest-master-d54b8]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (yedit) module: path Supported parameters include: append,backup,content,content_type,curr_value,curr_value_format,debug,edits,index,key,separator,src,state,update,value,value_type"}

RUNNING HANDLER [openshift_master : restart master api] ************************
Wednesday 14 March 2018  22:48:11 +0000 (0:00:00.423)       0:33:26.350 ******* 

RUNNING HANDLER [openshift_master : restart master controllers] ****************
Wednesday 14 March 2018  22:48:11 +0000 (0:00:00.000)       0:33:26.350 ******* 

PLAY RECAP *********************************************************************
dakinitest-master-95590    : ok=466  changed=76   unreachable=0    failed=0   
dakinitest-master-d54b8    : ok=548  changed=98   unreachable=0    failed=1   
dakinitest-master-eba12    : ok=466  changed=76   unreachable=0    failed=0   
localhost                  : ok=19   changed=0    unreachable=0    failed=0   

Wednesday 14 March 2018  22:48:11 +0000 (0:00:00.001)       0:33:26.351 ******* 
=============================================================================== 
openshift_node : update package meta data to speed install later. ------ 77.93s
openshift_master : Upgrade master packages - yum ----------------------- 61.36s
openshift_master : Upgrade master packages - yum ----------------------- 60.84s
Ensure openshift-ansible installer package deps are installed ---------- 59.37s
openshift_excluder : Get available excluder version -------------------- 51.03s
openshift_master : Upgrade master packages - yum ----------------------- 50.76s
openshift_master : Upgrade master packages - yum ----------------------- 47.54s
Wait for master to restart --------------------------------------------- 45.69s
openshift_excluder : Install docker excluder - yum --------------------- 43.10s
Wait for master to restart --------------------------------------------- 41.18s
Wait for master to restart --------------------------------------------- 41.12s
openshift_excluder : Install openshift excluder - yum ------------------ 30.95s
openshift_node : download docker upgrade rpm --------------------------- 28.04s
Upgrade all storage ---------------------------------------------------- 18.71s
openshift_version : Get available atomic-openshift version ------------- 18.17s
openshift_excluder : Get available excluder version -------------------- 16.48s
Check latest available OpenShift RPM version --------------------------- 16.24s
openshift_node : install new node packages ----------------------------- 15.77s
openshift_excluder : Get available excluder version -------------------- 15.58s
Check latest available OpenShift RPM version --------------------------- 15.54s


Failure summary:


  1. Hosts:    dakinitest-master-d54b8
     Play:     Upgrade master
     Task:     Change default node selector to compute=true
     Message:  Unsupported parameters for (yedit) module: path Supported parameters include: append,backup,content,content_type,curr_value,curr_value_format,debug,edits,index,key,separator,src,state,update,value,value_type

Expected results:


Additional info:

Comment 3 Fabian von Feilitzsch 2018-03-15 17:49:11 UTC
This issue was fixed by this PR: https://github.com/openshift/openshift-ansible/pull/7508 , so hopefully you shouldn't see it again.

Comment 4 Stefanie Forrester 2018-03-15 18:00:45 UTC
Yep, it works. Thanks!

Comment 5 Scott Dodson 2018-03-15 18:27:24 UTC

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