HA Openstack Charms V2

Registered by Antonio Rosales on 2013-05-02

[GOAL]
Move to Galera based sync replication for MySQL
Improve Quantum HA
Mutlihost network HA for havana
Alternative messaging options (ZeroMQ, RabbitMQ Active/Active).

[RATIONALE]
HA v1 delivered a base level of availability for OpenStack deployed using Juju; by leveraging new features and technologies during the Saucy dev cycle we can improve the overall avaliability of an OpenStack cloud by using active/active solutions in both the database and messaging tiers.

This also means that we would no longer be dependent on ceph for shared block storage for mysql and rabbitmq for deployments where alternative block storage (maybe provisioned from a SAN) is in use.

Blueprint information

Status:
Not started
Approver:
Dave Walker
Priority:
High
Drafter:
Ubuntu Server Team
Direction:
Approved
Assignee:
Andres Rodriguez
Definition:
Approved
Series goal:
Accepted for saucy
Implementation:
Unknown
Milestone target:
milestone icon ubuntu-13.10

Whiteboard

[USER STORIES]
Dan really likes the OpenStack HA story for Ubuntu using charms; however he has a requirement for Active/Active sync replication; he's able to deploy this using the new HA v2 charms.

Mary has some challenges around the scalability of rabbitmq in her OpenStack deployment; she's able to trial and switch to ZeroMQ using the new HA v2 charms.

Jon wants todo active/active rabbitmq; he's able todo this using the HA v2 charms and the Ubuntu Cloud Archive for Havana.

[ASSUMPTIONS]
MariaDB/Percona will be packaged for Saucy

[RISKS]
MariaDB/Percona packaging not uploaded (HIGH)
OS/Kombu/RabbitMQ versions not good enough for active/active RMQ
Quantum multihost HA not delivered during Havana cycle.

[IN SCOPE]
Messaging
Database
Networking

[OUT OF SCOPE]

[USER ACCEPTANCE]

[RELEASE NOTE/BLOG]
Ubuntu 13.10 includes improved active/active HA support for Database and Messaging in the Juju Charms for OpenStack.

[SESSION NOTES]
http://pad.ubuntu.com/uds-1305-servercloud-s-openstack-charms-ha-v2
http://pad.ubuntu.com/uds-1308-servercloud-s-openstack-charms-ha-v2

(?)

Work Items

Work items for ubuntu-13.07:
Investigation zeromq support in havana: POSTPONED
[gandelman-a] Check on status of heartbeating in AMQP for RabbitMQ HA: DONE
[andreserl] Investigate upgrade path for Corosync 2.0 based clusters: DONE

Work items for ubuntu-13.08:
[andreserl] Update cluster stack in saucy for Pacemaker + Corosync 2.0: DONE
[andreserl] MIR for libstatgrab: DONE
[andreserl] MIR for libqb: DONE
[andreserl] MIR for crmsh: DONE
[andreserl] drop ocfs2-tools-pacemaker and ocfs2-tools-cman: DONE
[andreserl] update gfs2-utils: DONE
[andreserl] package dlm: DONE
[andreserl] MIR for dlm: DONE
[andreserl] Update all package to not depend on any redhat-cluster related packages: DONE
[andreserl] Remove redhat-cluster: DONE
[andreserl] Investigate upgrade paths from Corosync 1.x to Corosync 2.0: DONE
[andreserl] Investigate alternative clustering solutions to pacemaker/corosync/CMAN: DONE

Work items for ubuntu-13.09:
[gandelman-a] Hookup with internal Canonical dev team and external dev on RabbitMQ HA: TODO

Work items for ubuntu-13.10:
[james-page] Charm Percona (Galera / xtrabackup): INPROGRESS
Update charms/create new charm for MariaDB: BLOCKED
Update OpenStack charms for ZeroMQ: POSTPONED
[gandelman-a] Update OpenStack charms for Active/Active RMQ (http://pad.lv/856764): BLOCKED
[james-page] Update Neutron charms for improved HA: DONE
[andreserl] Update OpenStack charms for more indepth HAProxy checks (2): TODO
[andreserl] Add support to hacluster charm to support Corosync 2.0 options(2): TODO
[andreserl] dep8 tests for pacemaker, corosync, crmsh(2): POSTPONED

Work items:
[andreserl] Review cluster stack for inclusion in the Cloud Archive for Havana: POSTPONED

Dependency tree

* Blueprints in grey have been implemented.