Ceph mon bootstrap fails if IPs are used in the inventory

Bug #1599138 reported by Paul Bourke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Unassigned

Bug Description

If monitor nodes happen to be defined by IP, e.g.:

[control]
192.168.7.116
192.168.7.204
192.168.7.243

...

and the hostname of the control nodes don't resolve to this IP, the ceph monitor bootstrap will fall over with:

"Host: 192.168.7.116, 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"

Changed in kolla:
importance: Undecided → High
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/337673
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a479afac4aa2a08fd51b1871c55fdd9dd24dc220
Submitter: Jenkins
Branch: master

commit a479afac4aa2a08fd51b1871c55fdd9dd24dc220
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
    Change-Id: Ic76e4baf8c642c59bbe81e6671ac97bcbb57d470

Changed in kolla:
status: New → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b2

This issue was fixed in the openstack/kolla 3.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.