Bug 1691565 - 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}
Summary: Director deployed OCP 3.11 deployment fails with "msg": "SSH Error: data coul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 15.0 (Stein)
Assignee: Adriano Petrich
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-21 23:03 UTC by Marius Cornea
Modified: 2023-02-22 23:02 UTC (History)
12 users (show)

Fixed In Version: openstack-tripleo-common-10.6.1-0.20190404000356.3398bec.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-21 11:20:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
deploy output (134.30 KB, text/plain)
2019-03-21 23:04 UTC, Marius Cornea
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:21:27 UTC

Description Marius Cornea 2019-03-21 23:03:20 UTC
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

Comment 1 Marius Cornea 2019-03-21 23:04:06 UTC
Created attachment 1546715 [details]
deploy output

Comment 2 Emilien Macchi 2019-03-22 14:56:46 UTC
I think you're missing https://review.openstack.org/#/c/638323/

Comment 3 Marius Cornea 2019-03-22 17:23:58 UTC
(In reply to Emilien Macchi from comment #2)
> I think you're missing https://review.openstack.org/#/c/638323/

Yes, it helped. Thanks!

Comment 4 Pavel Sedlák 2019-03-26 12:32:57 UTC
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.

Comment 14 errata-xmlrpc 2019-09-21 11:20:58 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/RHEA-2019:2811


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