The inventory_hostname is more reliable than ansible_hostname for the
way we use it here. If the deploy node cannot resolve the hostname of a
target node (the operator is using IP addresses in their inventory), the
bootstrap will fail with:
"Host: x.x.x.x, Task: ceph : Fetching Ceph keyrings, Status:
unreachable, Message: SSH Error: data could not be sent to the remote
host. Make sure this host can be reached over ssh"
Reviewed: https:/ /review. openstack. org/337673 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=a479afac4aa 2a08fd51b1871c5 5fdd9dd24dc220
Committed: https:/
Submitter: Jenkins
Branch: master
commit a479afac4aa2a08 fd51b1871c55fdd 9dd24dc220
Author: Paul Bourke <email address hidden>
Date: Tue Jul 5 14:43:03 2016 +0100
Use inventory_hostname for Ceph bootstrap
The inventory_hostname is more reliable than ansible_hostname for the
way we use it here. If the deploy node cannot resolve the hostname of a
target node (the operator is using IP addresses in their inventory), the
bootstrap will fail with:
"Host: x.x.x.x, Task: ceph : Fetching Ceph keyrings, Status:
unreachable, Message: SSH Error: data could not be sent to the remote
host. Make sure this host can be reached over ssh"
Closes-Bug: 1599138 59bbe81e6671ac9 7bcbb57d470
Change-Id: Ic76e4baf8c642c