During upgrade to a new cloud archive and a new rabbitmq-server
package, the package update will stop the rabbitmq service. If two or
more units do this near the same time the services will fail to restart.
This change adds the cluster_wait function before a package upgrade to
avoid collisions.
Fix relation_get for cluster_with causing extraneous hooks to execute.
Fix nagios stats collection logic.
Reviewed: https:/ /review. openstack. org/581440 /git.openstack. org/cgit/ openstack/ charm-rabbitmq- server/ commit/ ?id=86edf1e5d86 b97ec071578b1e9 10cd94b7a019e4
Committed: https:/
Submitter: Zuul
Branch: master
commit 86edf1e5d86b97e c071578b1e910cd 94b7a019e4
Author: David Ames <email address hidden>
Date: Tue Jul 10 10:48:21 2018 -0700
Avoid package upgrade collisions
During upgrade to a new cloud archive and a new rabbitmq-server
package, the package update will stop the rabbitmq service. If two or
more units do this near the same time the services will fail to restart.
This change adds the cluster_wait function before a package upgrade to
avoid collisions.
Fix relation_get for cluster_with causing extraneous hooks to execute.
Fix nagios stats collection logic.
Change-Id: I8d9aa38d917583 fa45b5570eca9a7 8c813303e2b
Closes-Bug: #1778829