Bug 1829186 - Openstack overcloud fail on OSP16.1 Data could not be sent to remote host. Make sure this host can be reached over ssh
Summary: Openstack overcloud fail on OSP16.1 Data could not be sent to remote host. Ma...
Keywords:
Status: CLOSED DUPLICATE of bug 1828191
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Adriano Petrich
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On: 1828191
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-29 07:14 UTC by Asma Syed Hameed
Modified: 2020-05-06 18:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-06 18:38:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ansible logs (151.42 KB, text/plain)
2020-04-29 07:14 UTC, Asma Syed Hameed
no flags Details

Description Asma Syed Hameed 2020-04-29 07:14:51 UTC
Created attachment 1682734 [details]
ansible logs

Description of problem:
Overcloud deployment failed with a message Data could not be sent to remote host. Make sure this host can be reached over ssh

Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20200421.n.0

[stack@undercloud ~]$ rpm -qa | grep tripleo
openstack-tripleo-puppet-elements-11.2.2-0.20200311084936.a6fef08.el8ost.noarch
python3-tripleoclient-12.3.2-0.20200421053422.d2aac8a.el8ost.noarch
ansible-role-tripleo-modify-image-1.1.1-0.20200311081746.bb6f78d.el8ost.noarch
openstack-tripleo-validations-11.3.2-0.20200415073428.7b94843.el8ost.noarch
openstack-tripleo-heat-templates-11.3.2-0.20200421163437.5ea3f72.el8ost.noarch
puppet-tripleo-11.4.1-0.20200420213421.cae687c.el8ost.noarch
openstack-tripleo-common-containers-11.3.3-0.20200419193430.0612a35.el8ost.noarch
python3-tripleo-common-11.3.3-0.20200419193430.0612a35.el8ost.noarch
openstack-tripleo-common-11.3.3-0.20200419193430.0612a35.el8ost.noarch
openstack-tripleo-image-elements-10.6.2-0.20200313223428.8c91b46.el8ost.noarch
ansible-tripleo-ipa-0.1.2-0.20200421193425.4f2b9c8.el8ost.noarch
ansible-tripleo-ipsec-9.2.1-0.20200311073016.0c8693c.el8ost.noarch
tripleo-ansible-0.5.1-0.20200421063422.73d9fbe.el8ost.noarch
python3-tripleoclient-heat-installer-12.3.2-0.20200421053422.d2aac8a.el8ost.noarch


How reproducible:
100%

Steps to Reproduce:
1.Install Undercloud
2.prepare nic templates
3.Deploy Overcloud

Actual results:
Stack created successfully and Overcloud configuration failed

Expected results:
Overcloud deployment successful

Additional info:
 Stack overcloud/00f73535-89f9-4838-b2ff-c04d54693945 CREATE_COMPLETE

Deploying overcloud configuration
Enabling ssh admin (tripleo-admin) for hosts:
192.168.24.33 192.168.24.70 192.168.24.98 192.168.24.87 192.168.24.82 192.168.24.79
Using ssh user heat-admin for initial connection.
Using ssh key at /home/stack/.ssh/id_rsa for initial connection.
Inserting TripleO short term key for 192.168.24.33
Inserting TripleO short term key for 192.168.24.70
Removing short term keys locally
Config downloaded at /var/lib/mistral/overcloud
Inventory generated at /var/lib/mistral/overcloud/tripleo-ansible-inventory.yaml
Running ansible playbook at /var/lib/mistral/overcloud/deploy_steps_playbook.yaml. See log file at /var/lib/mistral/overcloud/ansible.log for progress. ...

Using /var/lib/mistral/overcloud/ansible.cfg as config file
[WARNING]: Could not match supplied host pattern, ignoring: BlockStorage
[WARNING]: Could not match supplied host pattern, ignoring: ObjectStorage
[WARNING]: Could not match supplied host pattern, ignoring: CephStorage

PLAY [Gather facts from undercloud] ********************************************

TASK [Gathering Facts] *********************************************************
Tuesday 28 April 2020  19:56:07 +0000 (0:00:00.032)       0:00:00.032 *********
ok: [undercloud]

PLAY [Gather facts from overcloud] *********************************************

TASK [Gathering Facts] *********************************************************
Tuesday 28 April 2020  19:56:10 +0000 (0:00:03.046)       0:00:03.079 *********
[WARNING]: Unhandled error in Python interpreter discovery for host compute-1:

Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.82' (ECDSA) to the list of known hosts.  tripleo-
admin.24.82: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
[WARNING]: Unhandled error in Python interpreter discovery for host compute-2:
Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.79' (ECDSA) to the list of known hosts.  tripleo-
admin.24.79: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
[WARNING]: Unhandled error in Python interpreter discovery for host
controller-0: Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.33' (ECDSA) to the list of known hosts.  tripleo-
admin.24.33: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
[WARNING]: Unhandled error in Python interpreter discovery for host compute-0:
Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.87' (ECDSA) to the list of known hosts.  tripleo-
admin.24.87: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
[WARNING]: Unhandled error in Python interpreter discovery for host
controller-2: Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.98' (ECDSA) to the list of known hosts.  tripleo-
admin.24.98: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
[WARNING]: Unhandled error in Python interpreter discovery for host
controller-1: Failed to connect to the host via ssh: Warning: Permanently added
'192.168.24.70' (ECDSA) to the list of known hosts.  tripleo-
admin.24.70: Permission denied (publickey,gssapi-keyex,gssapi-with-
mic).
fatal: [controller-2]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.98\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.98' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.98: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
Overcloud configuration failed.

fatal: [compute-2]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.79\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.79' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.79: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
fatal: [compute-1]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.82\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.82' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.82: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
fatal: [controller-0]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.33\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.33' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.33: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
fatal: [controller-1]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.70\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.70' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.70: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}
fatal: [compute-0]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"192.168.24.87\". Make sure this host can be reached over ssh: Warning: Permanently added '192.168.24.87' (ECDSA) to the list of known hosts.\r\ntripleo-admin.24.87: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n", "unreachable": true}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
compute-0                  : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
compute-1                  : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
compute-2                  : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
controller-0               : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
controller-1               : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
controller-2               : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
undercloud                 : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Tuesday 28 April 2020  20:00:04 +0000 (0:03:53.761)       0:03:56.840 *********
===============================================================================

Ansible failed, check log at /var/lib/mistral/overcloud/ansible.log.

Also, I redeployed the stack but still encountered the same issue.

Comment 1 Cédric Jeanneret 2020-04-30 08:59:09 UTC

*** This bug has been marked as a duplicate of bug 1828191 ***

Comment 7 Emilien Macchi 2020-05-06 18:38:23 UTC

*** This bug has been marked as a duplicate of bug 1828191 ***


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