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

Bug 1610388

Summary: REGRESSION: Check Prerequites Playbook fails complaining about openshift_master_manage_htpasswd (which is not set)
Product: OpenShift Container Platform Reporter: Wolfgang Kulhanek <wkulhane>
Component: InstallerAssignee: Michael Gugino <mgugino>
Status: CLOSED CANTFIX QA Contact: Johnny Liu <jialiu>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.10.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.10.z   
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-07-31 19:39:17 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:
Attachments:
Description Flags
Ansible Hosts file used a sinput none

Description Wolfgang Kulhanek 2018-07-31 14:07:04 UTC
Created attachment 1471813 [details]
Ansible Hosts file used a sinput

Description of problem:

Version-Release number of the following components:
OCP 3.10.14

How reproducible:

Every time

Steps to Reproduce:
1. Set the Ansible Hosts file
2. Run ansible-playbook -i /etc/ansible/hosts /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml

Actual results:

TASK [Gathering Facts] **********************************************************************************************************************************************************************************************************************************************************************
ok: [master1.wk310.internal]

TASK [Run variable sanity checks] ***********************************************************************************************************************************************************************************************************************************************************
fatal: [master1.wk310.internal]: FAILED! => {"failed": true, "msg": "last_checked_host: master1.wk310.internal, last_checked_var: openshift_master_manage_htpasswd;string indices must be integers"}
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/prerequisites.retry



Expected results:
Not that. :-)


Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Michael Gugino 2018-07-31 14:34:37 UTC
This is a known-issue in Ansible itself:
https://github.com/ansible/ansible/issues/36544

Cannot place quotes around dictionaries/lists in group:vars section of ini inventory.

Comment 2 Scott Dodson 2018-07-31 19:39:17 UTC
I don't believe we're going to see resolution on the upstream ansible issue.

Comment 3 Wolfgang Kulhanek 2018-07-31 21:05:28 UTC
OK. That got me on the right track. This may have been my fault. My openshift_node_groups had an array without an opening "[". And my LDAP Stanza had a true without quotes. Now that all values have quotes it works. Feel free to close this bug.