nodename list disregards network

Bug #1628521 reported by Juan Antonio Osorio Robles
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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)
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
tags: added: composable-roles
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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)
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)
Revision history for this message
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)
Changed in tripleo:
milestone: newton-rc3 → ocata-1
Revision history for this message
Damien Ciabrini (dciabrin) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/382886

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc3

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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