Bug 1368579 - quick installer fails installing to "localhost"
Summary: quick installer fails installing to "localhost"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Samuel Munilla
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-19 20:30 UTC by Luke Meyer
Modified: 2018-07-19 09:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-04-12 18:47:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

Description Luke Meyer 2016-08-19 20:30:43 UTC
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.

Comment 2 Wenkai Shi 2017-02-10 02:55:26 UTC
Bug verification is block by BZ#1420970 , will verify this when fix.

Comment 3 Wenkai Shi 2017-02-27 06:19:51 UTC
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

Comment 5 errata-xmlrpc 2017-04-12 18:47:43 UTC
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


Note You need to log in before you can comment on or make changes to this bug.