You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic merge from submit-queue.
fix#18291. Use correct playbook for openshift version
This PR fixes#18291 by:
* modifying the playbook used depending upon the release.
There is an issue openshift/openshift-ansible#7006 however with the containerized version of origin-ansible where there is some conflict with the fact gathering
Description
While trying to use
oc cluster up --metrics|--logging
deployment fails with:TASK [Gather Cluster facts] ***************************************************************************************************************************************************************************************
task path: /usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:9
Friday 02 February 2018 21:02:07 +0000 (0:00:00.076) 0:00:05.943 *******
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'ansible_default_ipv4'
fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/tmp/ansible_jrgkpu/ansible_module_openshift_facts.py", line 1687, in \n main()\n File "/tmp/ansible_jrgkpu/ansible_module_openshift_facts.py", line 1674, in main\n additive_facts_to_overwrite)\n File "/tmp/ansible_jrgkpu/ansible_module_openshift_facts.py", line 1339, in init\n additive_facts_to_overwrite)\n File "/tmp/ansible_jrgkpu/ansible_module_openshift_facts.py", line 1368, in generate_facts\n defaults = self.get_defaults(roles, deployment_type, deployment_subtype)\n File "/tmp/ansible_jrgkpu/ansible_module_openshift_facts.py", line 1400, in get_defaults\n ip_addr = self.system_facts['ansible_default_ipv4']['address']\nKeyError: 'ansible_default_ipv4'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
Version
master
The text was updated successfully, but these errors were encountered: