rabbitmqctl are broken when using ipv6

Bug #1633693 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Michele Baldessari

Bug Description

When deploying via ipv6, rabbitmq-ctl commands have the following issues:

- `rabbitmq cluster_status` shows nodedown alerts
- list_queues / list_connections hang
- `rabbitmqctl node_health_check` fails with an error.

* There is no any issue while performing activity on RHOS setup(From horizon/cli). i.e. RHOS environment is functioning as expected.

<snip>
sudo rabbitmqctl node_health_check -n rabbit@node1
Checking health of node 'rabbit@node1' ...
Heath check failed:
health check of node 'rabbit@node1' fails: nodedown
</snip>

The problem is that we are missing the following in /etc/rabbitmq/rabbitmq-env.conf:
RABBITMQ_CTL_ERL_ARGS="-proto_dist inet6_tcp"

Changed in tripleo:
importance: Undecided → High
status: New → Triaged
tags: added: newton-backport-potential
Revision history for this message
Michele Baldessari (michele) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/386921
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=3fe6889fed9638baa9b658cd5c704a66a50929aa
Submitter: Jenkins
Branch: master

commit 3fe6889fed9638baa9b658cd5c704a66a50929aa
Author: Michele Baldessari <email address hidden>
Date: Sat Oct 15 11:24:45 2016 +0200

    Fix broken rabbitmqctl commands when using ipv6

    When deploying via ipv6, rabbitmq-ctl commands have the following
    issues:

    - `rabbitmq cluster_status` shows nodedown alerts
    - list_queues / list_connections hang
    - `rabbitmqctl node_health_check` fails with an error.

    * There is no any issue while performing activity on RHOS setup(From
    * horizon/cli). i.e. RHOS environment is functioning as expected.

    For example:
    sudo rabbitmqctl node_health_check -n rabbit@node1
    Checking health of node 'rabbit@node1' ...
    Heath check failed:
    health check of node 'rabbit@node1' fails: nodedown

    The problem is that we are missing the following in
    /etc/rabbitmq/rabbitmq-env.conf:
    RABBITMQ_CTL_ERL_ARGS="-proto_dist inet6_tcp"

    Fix these by setting the appropriate RABBITMQ_CTL_ERL_ARGS when
    deploying ipv6.

    Closes-Bug: #1633693
    Change-Id: I53f4e76e687b3966fbb74fd0c2d83f05176630de

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/newton)

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

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/388568

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

Reviewed: https://review.openstack.org/388529
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=b831137659b595a01ff25c506141508c5c407f43
Submitter: Jenkins
Branch: stable/newton

commit b831137659b595a01ff25c506141508c5c407f43
Author: Michele Baldessari <email address hidden>
Date: Sat Oct 15 11:24:45 2016 +0200

    Fix broken rabbitmqctl commands when using ipv6

    When deploying via ipv6, rabbitmq-ctl commands have the following
    issues:

    - `rabbitmq cluster_status` shows nodedown alerts
    - list_queues / list_connections hang
    - `rabbitmqctl node_health_check` fails with an error.

    * There is no any issue while performing activity on RHOS setup(From
    * horizon/cli). i.e. RHOS environment is functioning as expected.

    For example:
    sudo rabbitmqctl node_health_check -n rabbit@node1
    Checking health of node 'rabbit@node1' ...
    Heath check failed:
    health check of node 'rabbit@node1' fails: nodedown

    The problem is that we are missing the following in
    /etc/rabbitmq/rabbitmq-env.conf:
    RABBITMQ_CTL_ERL_ARGS="-proto_dist inet6_tcp"

    Fix these by setting the appropriate RABBITMQ_CTL_ERL_ARGS when
    deploying ipv6.

    Closes-Bug: #1633693
    Change-Id: I53f4e76e687b3966fbb74fd0c2d83f05176630de
    (cherry picked from commit 3fe6889fed9638baa9b658cd5c704a66a50929aa)

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

Reviewed: https://review.openstack.org/388568
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=291ef9873a4a6a4b578633434cae2a4faabbcb00
Submitter: Jenkins
Branch: stable/mitaka

commit 291ef9873a4a6a4b578633434cae2a4faabbcb00
Author: Michele Baldessari <email address hidden>
Date: Wed Oct 19 11:10:33 2016 +0200

    Fix broken rabbitmqctl commands when using ipv6

    When deploying via ipv6, rabbitmq-ctl commands have the following
    issues:

    - `rabbitmq cluster_status` shows nodedown alerts
    - list_queues / list_connections hang
    - `rabbitmqctl node_health_check` fails with an error.

    * There is no any issue while performing activity on RHOS setup(From
    * horizon/cli). i.e. RHOS environment is functioning as expected.

    For example:
    sudo rabbitmqctl node_health_check -n rabbit@node1
    Checking health of node 'rabbit@node1' ...
    Heath check failed:
    health check of node 'rabbit@node1' fails: nodedown

    The problem is that we are missing the following in
    /etc/rabbitmq/rabbitmq-env.conf:
    RABBITMQ_CTL_ERL_ARGS="-proto_dist inet6_tcp"

    Fix these by setting the appropriate RABBITMQ_CTL_ERL_ARGS when
    deploying ipv6.

    Note: The mitaka fix cannot be cherry-picked because it has to
    happen in tripleo-heat-templates as opposed to puppet-tripleo
    (newton/master).

    Closes-Bug: #1633693

    Change-Id: I13d4f104c87d1693322876458b6b07b103f3d2d0

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.4.0

This issue was fixed in the openstack/puppet-tripleo 5.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 6.0.0

This issue was fixed in the openstack/puppet-tripleo 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.4.0

This issue was fixed in the openstack/puppet-tripleo 5.4.0 release.

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

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

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.