When using ceph-ansible, mon host is not set from the public_network block

Bug #1709485 reported by Giulio Fidente on 2017-08-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Emilien Macchi

Bug Description

The mon_host list in ceph.conf is set from the monitor_interface parameter in ceph-ansible which is hardcoded to br-ex

We should probably use monitor_address_block instead and pass the public_network subnet or expose monitor_interface in THT so that people can set it

Fix proposed to branch: master
Review: https://review.openstack.org/491929

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Confirmed → In Progress
Changed in tripleo:
assignee: Giulio Fidente (gfidente) → Emilien Macchi (emilienm)

Reviewed: https://review.openstack.org/491929
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=de3717ecf8cafb07c5f2edbe725daccde1c856b6
Submitter: Jenkins
Branch: master

commit de3717ecf8cafb07c5f2edbe725daccde1c856b6
Author: Giulio Fidente <email address hidden>
Date: Tue Aug 8 23:18:23 2017 +0200

    Pass monitor_address_block to ceph-ansible for mon_host

    The ip address which clients and other nodes use to connect to the
    monitors is derived from the monitor_interface parameter unless
    a monitor_address or monitor_address_block is given (to set mon_host
    into ceph.conf); this change adds setting for monitor_address_block to
    match the public_network so that clients attempt to connect to the mons
    on the appropriate network.

    Change-Id: I7187e739e9f777eab724fbc09e8b2c8ddedc552d
    Closes-Bug: #1709485

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates release candidate.

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

Other bug subscribers