Bug 1368579
| Summary: | quick installer fails installing to "localhost" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Installer | Assignee: | Samuel Munilla <smunilla> |
| Status: | CLOSED ERRATA | QA Contact: | Wenkai Shi <weshi> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.2.1 | CC: | aos-bugs, bleanhar, jialiu, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-12 18:47:43 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: | |||
Bug verification is block by BZ#1420970 , will verify this when fix. Verified with version atomic-openshift-utils-3.5.15-1.git.0.8d2a456.el7, install to "localhost" succeed. [root@openshift ~]# atomic-openshift-installer install ... Enter hostname or IP address: localhost ... ... localhost : ok=594 changed=158 unreachable=0 failed=0 Installation Complete: Note: Play count is only an estimate, some plays may have been skipped or dynamically added The installation was successful! If this is your first time installing please take a look at the Administrator Guide for advanced options related to routing, storage, authentication, and more: http://docs.openshift.com/enterprise/latest/admin_guide/overview.html 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. https://access.redhat.com/errata/RHBA-2017:0903 |
Description of problem: When I use the quick installer to install to "localhost", it gives a very mysterious error. Version-Release number of selected component (if applicable): openshift-ansible-playbooks-3.2.24-1.git.0.337259b.el7.noarch openshift-ansible-filter-plugins-3.2.24-1.git.0.337259b.el7.noarch ansible-2.2.0-0.5.prerelease.el7.noarch openshift-ansible-lookup-plugins-3.2.24-1.git.0.337259b.el7.noarch openshift-ansible-roles-3.2.24-1.git.0.337259b.el7.noarch openshift-ansible-3.2.24-1.git.0.337259b.el7.noarch atomic-openshift-utils-3.2.24-1.git.0.337259b.el7.noarch How reproducible: every time, in my one VM (with repeated trials) Steps to Reproduce: 1. atomic-openshift-installer install 2. install to "localhost" as the sole host (master, node, etc) Actual results: fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/common/openshift-master/config.yml': line 189, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n tasks:\n - file: name={{ g_master_mktemp.stdout }} state=absent\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"} Additional info: I nuked the install files and used the IP instead and it worked fine.