nodename list disregards network

Bug #1628521 reported by Juan Antonio Osorio Robles on 2016-09-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Juan Antonio Osorio Robles

Bug Description

not all services are listening on the internal_api network. And it seems that when generating the node_names for each service, we disregard which network they're using. So, in the end, configurations that use these names do not use the one appropriate for the network.

An example of the output is this:
$ hiera rabbitmq_node_names
["overcloud-controller-0", "overcloud-controller-1", "overcloud-controller-2"]
$ hiera gnocchi_api_node_names
["overcloud-controller-0", "overcloud-controller-1", "overcloud-controller-2"]

Steven Hardy (shardy) on 2016-09-28
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
tags: added: composable-roles

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

Changed in tripleo:
assignee: nobody → Steven Hardy (shardy)
status: Triaged → In Progress
Changed in tripleo:
assignee: Steven Hardy (shardy) → Juan Antonio Osorio Robles (juan-osorio-robles)
Changed in tripleo:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → Steven Hardy (shardy)
Steven Hardy (shardy) on 2016-10-03
Changed in tripleo:
milestone: none → newton-rc3
tags: added: newton-backport-potential
Changed in tripleo:
assignee: Steven Hardy (shardy) → Juan Antonio Osorio Robles (juan-osorio-robles)
Michele Baldessari (michele) wrote :

So the reason why we cannot to this right away for galera is the following:
When we pass wsrep_cluster_address=gcomm://overcloud-controller-0.internalapi.localdomain,overcloud-controller-1.internalapi.localdomain,overcloud-controller-2.internalapi.localdomain
the galera resource agent is unable to map those names to the cluster node names and the galera setup will fail.

So we first need to extend the galera RA to support some mapping between cluster node name and hostnames of ip addresses belonging to the node.

Steven Hardy (shardy) on 2016-10-05
Changed in tripleo:
milestone: newton-rc3 → ocata-1
Damien Ciabrini (dciabrin) wrote :

per comment #2, galera resource agent bug filed at https://bugzilla.redhat.com/show_bug.cgi?id=1381836

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

commit 6a408ff27e6fd6bff0a822f225c77a76690f805a
Author: Steven Hardy <email address hidden>
Date: Wed Sep 28 16:19:56 2016 +0100

    Select per-network hostnames for service_node_names

    Co-Authored-By: Juan Antonio Osorio Robles <email address hidden>
    Depends-On: Ic6fec1057439ed9122d44ef294be890d3ff8a8ee
    Change-Id: I754c4a41d8a294a4c7c18bd282ae014efd4b9b16
    Closes-Bug: #1628521

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/382886
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7a66d852c372eba9c73dfaed3007aa933e183285
Submitter: Jenkins
Branch: stable/newton

commit 7a66d852c372eba9c73dfaed3007aa933e183285
Author: Steven Hardy <email address hidden>
Date: Wed Sep 28 16:19:56 2016 +0100

    Select per-network hostnames for service_node_names

    Co-Authored-By: Juan Antonio Osorio Robles <email address hidden>
    Depends-On: Ic6fec1057439ed9122d44ef294be890d3ff8a8ee
    Change-Id: I754c4a41d8a294a4c7c18bd282ae014efd4b9b16
    Closes-Bug: #1628521
    (cherry picked from commit 6a408ff27e6fd6bff0a822f225c77a76690f805a)

tags: added: in-stable-newton

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

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

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

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

Other bug subscribers

Remote bug watches

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