Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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: ON_QA
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: ---
: ---
Assignee: Adriano Petrich
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-21 23:03 UTC by Marius Cornea
Modified: 2019-04-11 12:13 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-common-10.6.1-0.20190404000356.3398bec.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)
deploy output (deleted)
2019-03-21 23:04 UTC, Marius Cornea
no flags Details

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.


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