kolla-ansible/ansible
Ken Wronkiewicz cc4150292c Fix intf address for RabbitMQ and disable cluster for Kube
enable_rabbitmq_cluster is now a "yes" by default but you can set it
to "no" if you want to disable clustering under any circumstances.

The agreement made at OpenStack in Austin was that Kolla-Kubernetes
would concentrate on RabbitMQ and MariaDB without clustering but
with persistent storage and workload migration, then examine how to
do proper distributed functionality as the project progresses, so I
am just following what we'd already agreed upon.

First, it helps us deal with issues of version upgrades without
dealing with clustered version upgrades and the synchronization
thereof.

Second, it provides an alternative model for durability when used in
Kubernetes.  Understand that, if we disable RabbitMQ's clustering,
Kubernetes is still able to re-schedule the queue off of a failed node
in ways that Kolla-Ansible is not.  There are known issues with
RabbitMQ clustering, especially with auto-heal turned on.  For many
small-to-mid-sized clusters, it's going to provide for a better
operator experience to have the known potential for a 30 second blip
after RabbitMQ node failure than it is to have the known potential
for partition and data loss and/or manual operations after you've
turned off auto-heal.

Kolla-kubernetes has already turned off host networking for the
RabbitMQ pod; it's safe to set the interface address in the
Kubernetes context.

The question was asked why don't I just set the RabbitMQ cluster to be
a single instance.  It's unlikely that Kubernetes RabbitMQ with a
PetSet will be clustered in the same declaritive fashion as the
rabbitmq-clusterer plugin. Easier to just disable it and worry about
how to configure the kube-friendly clustered RabbitMQ at a later point
in time.  Furthermore, it's an entirely valid case for many OpenStack
control planes hosted atop Kolla-Kubernetes to accept the possibility
of a 30-60 second blip in lieu of the long and questionable history
of RabbitMQ clustering in production.

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I7f0cb22d29a418fce4af8d69f63739859173d746
Partially-implements: blueprint api-interface-bind-address-override
2016-08-10 09:40:54 -04:00
..
action_plugins Fix the incompatibility for ansible 2.1.0 2016-05-30 23:02:09 +08:00
group_vars Fix intf address for RabbitMQ and disable cluster for Kube 2016-08-10 09:40:54 -04:00
inventory Cinder-backup requires iscsid running on the same host 2016-08-09 13:55:25 +03:00
library Fix the kolla_docker issue with docker 1.12 2016-08-01 13:41:05 +08:00
roles Fix intf address for RabbitMQ and disable cluster for Kube 2016-08-10 09:40:54 -04:00
certificates.yml Add Ansible scripts to generate TLS certificates for testing 2016-02-26 14:09:31 -05:00
destroy.yml Change cleanup to destroy as cleanup is a misnomer 2016-08-08 13:37:10 -04:00
mariadb_recovery.yml MariaDB lights out recovery 2016-03-16 15:53:44 +00:00
post-deploy.yml Create openrc file on the deploy node 2015-11-23 17:02:54 -05:00
prechecks.yml Fix file permissions 2015-12-26 17:36:38 +00:00
site.yml Merge "Simplify the Cinder LVM backend" 2016-08-06 18:18:19 +00:00
tempest.yml implement Ansible Tempest role 2016-07-20 09:43:10 +08:00