Bug 1311025 - rabbitmq-cluster resource instance may not be able to rejoin the rabbitmq cluster.
Summary: rabbitmq-cluster resource instance may not be able to rejoin the rabbitmq clu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Jiri Stransky
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On: 1311005
Blocks: 1247303
TreeView+ depends on / blocked
 
Reported: 2016-02-23 08:12 UTC by Michele Baldessari
Modified: 2019-10-10 11:17 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.6-125.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1311005
Environment:
Last Closed: 2016-07-06 15:05:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1387 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OSP 7 director Bug Fix Advisory 2016-07-06 19:04:38 UTC

Description Michele Baldessari 2016-02-23 08:12:44 UTC
+++ This bug was initially created as a clone of Bug #1311005 +++

Description of problem:
Sometimes when a controller is rebooted the node is unable to join the rabbitmq
cluster. This issue needs the following to happen to be fixed:

1) BZ https://bugzilla.redhat.com/show_bug.cgi?id=1247303 needs a fix in the resource agent (see this BZ for more history about this issue)

2) We need to add the meta parameter "notify=true" on fresh installs and on updates.


Note, that if the fix to THT makes it in before the fix of the resource agent,
nothing happens (i.e. things keep going like before)

Comment 6 Peter Lemenkov 2016-06-24 13:33:41 UTC
If someone still sees this issue, then please test this package:

resource-agents-3.9.5-76.el7

Comment 7 Marius Cornea 2016-06-27 09:09:38 UTC
Checking THT with the latest 7 build:

[stack@undercloud ~]$ rpm -qa | grep tripleo-heat-templates
openstack-tripleo-heat-templates-0.8.6-127.el7ost.noarch

[stack@undercloud ~]$ grep -A6 "pacemaker::resource::ocf { 'rabbitmq':" /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller_pacemaker.pp 
    pacemaker::resource::ocf { 'rabbitmq':
      ocf_agent_name  => 'heartbeat:rabbitmq-cluster',
      resource_params => 'set_policy=\'ha-all ^(?!amq\.).* {"ha-mode":"all"}\'',
      clone_params    => 'ordered=true interleave=true',
      meta_params     => 'notify=true',
      require         => Class['::rabbitmq'],
    }
[stack@undercloud ~]$ grep 'rabbitmq meta notify=true' /usr/share/openstack-tripleo-heat-templates/extraconfig/tasks/yum_update.sh
    pcs -f $pacemaker_dumpfile resource update rabbitmq meta notify=true

Results in the following resource on deployed overcloud:

[root@overcloud-controller-0 heat-admin]# pcs resource show rabbitmq
 Resource: rabbitmq (class=ocf provider=heartbeat type=rabbitmq-cluster)
  Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"all"}" 
  Meta Attrs: notify=true 
  Operations: start interval=0s timeout=100 (rabbitmq-start-interval-0s)
              stop interval=0s timeout=90 (rabbitmq-stop-interval-0s)
              monitor interval=10 timeout=40 (rabbitmq-monitor-interval-10)

Comment 9 errata-xmlrpc 2016-07-06 15:05:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1387


Note You need to log in before you can comment on or make changes to this bug.