Director deployed OCP 3.11 deployment fails with "msg": "SSH Error: data could not be sent to remote host \"localhost\". Make sure this host can be reached over ssh", "unreachable": true}
Description of problem:
Running ansible playbook at /var/lib/mistral/openshift/deploy_steps_playbook.yaml. See log file at /var/lib/mistral/openshift/ansible.log for progress. ...
Using /var/lib/mistral/openshift/ansible.cfg as config file
/var/lib/mistral/openshift/tripleo-ansible-inventory.yaml did not meet host_list requirements, check plugin documentation if this is unexpected
/var/lib/mistral/openshift/tripleo-ansible-inventory.yaml did not meet script requirements, check plugin documentation if this is unexpected
PLAY [Gather facts from undercloud] ********************************************
TASK [Gathering Facts] *********************************************************
Thursday 21 March 2019 18:56:54 -0400 (0:00:00.038) 0:00:00.038 ********
fatal: [undercloud]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \"localhost\". Make sure this host can be reached over ssh", "unreachable": true}
PLAY RECAP *********************************************************************
undercloud : ok=0 changed=0 unreachable=1 failed=0
Thursday 21 March 2019 18:58:51 -0400 (0:01:57.303) 0:01:57.341 ********
===============================================================================
Ansible failed, check log at /var/lib/mistral/openshift/ansible.log.
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 29, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python3.6/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 949, in take_action
verbosity=self.app_args.verbose_level)
File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/deployment.py", line 327, in config_download
raise exceptions.DeploymentError("Overcloud configuration failed.")
tripleoclient.exceptions.DeploymentError: Overcloud configuration failed.
Overcloud configuration failed.
Version-Release number of selected component (if applicable):
15-trunk -p RHOS_TRUNK-15.0-RHEL-8-20190320.n.1
How reproducible:
100%
Steps to Reproduce:
1. Deploy OSP15 undercloud
2. Deploy openshift overcloud
Actual results:
Ansible fails while gathering facts from the undercloud.
Expected results:
No failure.
Additional info:
[root@undercloud-0 stack]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.35.64.93 rhos-qe-mirror-tlv.usersys.redhat.com download.lab.bos.redhat.com download.eng.bos.redhat.com download-node-02.eng.bos.redhat.com
# HEAT_HOSTS_START - Do not edit manually within this section!
192.168.24.1 undercloud-0.localdomain undercloud-0
192.168.24.1 undercloud-0.external.localdomain undercloud-0.external
192.168.24.1 undercloud-0.ctlplane.localdomain undercloud-0.ctlplane
# HEAT_HOSTS_END
Note: also affects non-OCP, (osp15 phase1) when deploying overcloud.
Only difference is location of ansible/... files in /var/lib/mistral/overcloud, but rest is same.
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/RHEA-2019:2811