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: | Installer | Assignee: | Michael Gugino <mgugino> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Johnny Liu <jialiu> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.10.0 | CC: | 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: |
|
||||||
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. I don't believe we're going to see resolution on the upstream ansible issue. 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. |
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