Enabled rabbitmq_prometheus plugin for prometheus to scrape
the metrics of rabbitmq and alert if rabbitmq splitbrain is
detected.
Integrated rabbitmq dashboards in grafana via dashboards
relations
Added new unit test cases
Closes-Bug: 1899183
Change-Id: I88942dd0b246c498d0ab40b00d586d4349b0f100
* Make TLS simpler and more accurate.
* Apply README template.
* Adjust config.yaml re use of Vault.
Related-Bug: #1871442
Change-Id: Ia819cb03d30f6b4e0a04cc388e7243849800455a
As per team discussion, Vault is the preferred method for SSL
management and Network spaces should not be mentioned in any
README pending a supporting documentation effort.
Change-Id: If8bc2f271be71caccd4f3f0b50f8ae412bef35b7
RabbitMQ takes some time to fully cluster. The charm was previously
running amqp-relation-changed hooks whenever they were queued even
if the cluster was not yet complete. This led to split brain
scenarios. Client authentication to one or more nodes could fail.
This change confirms the entire cluster is ready before running
client amqp-relation-changed hooks.
min-cluster-size can now be used to attempt to guarantee the cluster
is ready with the expected number of nodes. If min-cluster-size is
not set the charm will still determine based on the information
available if all the cluster nodes are ready. Single node
deployments are still possible.
Partial-Bug: #1657245
Closes-Bug: #1657176
Change-Id: I870df71869c979e65a3a8764efdf35a746278507
Juju 2.0 provides support for network spaces, allowing
charm authors to support direct binding of relations and
extra-bindings onto underlying network spaces.
Resync charm-helpers to pickup support in network-get
hookenv support, use binding of amqp relation if running
on Juju >= 2.0 and access-network is not configured.
Add new section to README and generally tidy as well as
it lacks any really useful content and was confusing.
Change-Id: I196628463f3da8f8db76cd87045a37ab715a09c8