| Summary: | [ansible-2.1] atomic-openshift-installer install traceback in get_installed_hosts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Eric Paris <eparis> | ||||
| Component: | Installer | Assignee: | Samuel Munilla <smunilla> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Anping Li <anli> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.1.0 | CC: | anli, aos-bugs, bleanhar, dgoodwin, ghuang, jokerman, mmccomas, smunilla | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-09-06 18:14:52 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: | |||||
| Attachments: |
|
||||||
Wow, we didn't do a very good job tracking this bug. This was fixed long ago as far as I know. One obvious problem is that atomic-openshift-installer is not yet compatibly with Ansible 2.0. That might have been the original problem. In any case I'll put this ON_QA and ask that QE verify the bug with Ansible 1.9.1 and OSE 3.2. I got same error. I am using the atomic-openshift-installer from atomic-openshift-utils-3.2.4-1. Is that the correct package or this testing?
atomic-openshift-installer -a /root/openshift-ansible install
Gathering information from hosts...
[WARNING]: Failure using method (v2_runner_on_ok) in callback plugin (</usr/lib/python2.7/site-packages/ooinstall/ansible_plugins/facts_callback.CallbackModule object at 0x130b150>):
runner_on_ok() takes exactly 3 arguments (2 given)
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{g_all_hosts}}').
This feature will be
removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{g_all_hosts | default([])}}').
This
feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (</usr/lib/python2.7/site-packages/ooinstall/ansible_plugins/facts_callback.CallbackModule object at
0x130b150>): runner_on_failed() takes at least 3 arguments (3 given)
There was a problem fetching the required information. Please see /tmp/ansible.log for details.
I'm not able to get a good repro case on my end. Could you please attach your /tmp/ansible.log so that I can get a better lead? Created attachment 1170564 [details]
ansible logs
I guess there are some update on master branch. I can't get same errors messages.
That's good to hear. In that case, I'm moving this to on_qa Samuel, No,but there is another issue. It abort during installation. please check the attached logs I think the error in comment #6 triggers when the host is unreachable and you're using ansible 2.1. (In reply to Devan Goodwin from comment #11) > I think the error in comment #6 triggers when the host is unreachable and > you're using ansible 2.1. All hosts are reachable via SSH. I was using installer from enterprise puddle, it seems that isn't the latest atomic-openshift-installer.I am concern if that is the correct atomic-openshift-installer for ansible 2.1 testing. We've had quite a few updates around ansible-2.1 and I still haven't been able to get a good repro case. Anping, would you mind retesting with the latest? Thank you! Unfortunately, the installer failed with other issue https://bugzilla.redhat.com/show_bug.cgi?id=1359013. will retesting it once that is fixed. |
atomic-openshift-installer install install OSE 3.1 ansible-2.0.0.1-1.fc23.noarch atomic-openshift-utils-3.0.32-1.git.0.d98926d.el7aos.noarch openshift-ansible-3.0.32-1.git.0.d98926d.el7aos.noarch openshift-ansible-filter-plugins-3.0.32-1.git.0.d98926d.el7aos.noarch openshift-ansible-lookup-plugins-3.0.32-1.git.0.d98926d.el7aos.noarch openshift-ansible-playbooks-3.0.32-1.git.0.d98926d.el7aos.noarch openshift-ansible-roles-3.0.32-1.git.0.d98926d.el7aos.noarch python-2.7.10-8.fc23.x86_64 *** Installation Summary *** Hosts: - 192.168.122.195 - OpenShift Master - OpenShift Node (Unscheduled) - Etcd (Embedded) - 192.168.122.101 - OpenShift Node (Dedicated) - 192.168.122.199 - OpenShift Node (Dedicated) Total OpenShift Masters: 1 Total OpenShift Nodes: 3 NOTE: Add a total of 3 or more Masters to perform an HA installation. Gathering information from hosts... Traceback (most recent call last): File "/usr/bin/atomic-openshift-installer", line 9, in <module> load_entry_point('ooinstall==3.0.0', 'console_scripts', 'oo-install')() File "/usr/lib/python2.7/site-packages/click/core.py", line 700, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 680, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 1027, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 873, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 508, in invoke return callback(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/decorators.py", line 16, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/lib/python2.7/site-packages/ooinstall/cli_installer.py", line 767, in install oo_cfg, callback_facts, ctx.obj['unattended'], force, verbose) File "/usr/lib/python2.7/site-packages/ooinstall/cli_installer.py", line 532, in get_hosts_to_run_on installed_hosts = get_installed_hosts(oo_cfg.hosts, callback_facts) File "/usr/lib/python2.7/site-packages/ooinstall/cli_installer.py", line 517, in get_installed_hosts if(host.connect_to in callback_facts.keys() AttributeError: 'NoneType' object has no attribute 'keys'