Initial Support for Database Clustering

Registered by Michael Yu

The first iteration of database clustering will be for MongoDB.

Refer to the Trove spec for clustering:
https://wiki.openstack.org/wiki/Trove/Replication-And-Clustering-With-Nodes-5

The purpose of this BP is to provide a UI for the first iteration of database clustering.

For mock screen shots, refer to:
https://wiki.openstack.org/wiki/Trove-Clustering-UI

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
High
Drafter:
Michael Yu
Direction:
Approved
Assignee:
Michael Yu
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 8.0.0
Started by
David Lyle
Completed by
David Lyle

Related branches

Sprints

Whiteboard

These are the new items needed in Horizon:
1) Clusters panel -> under Databases
2) Clusters table with the following columns:
    a) Cluster Name
    b) Datastore
    c) Datastore Version
    d) Size
    e) Status
    f) Actions
        i) Add Shard
        ii) Terminate Cluster
3) Launch Cluster workflow window with the following fields:
    a) Database Cluster Name
    b) Flavor
    c) Volume Size
    d) Datastore
    e) Number of Shards (set to 1, read only)
    f) Instances Per Shard (set to 3, read only)
4) Add Shard workflow window with the following fields (read only):
    a) Database Cluster Name
    b) Number of Shards (1)
    c) Instances Per Shard (3)
    d) Volume Size
    e) Datastore
    f) Datastore Version
    g) Flavor
5) Cluster Details
     a) Overview tab
     b) Instances Table tab

TODO:
1) Need to decide if we want to add accordion like expansion in Clusters table
    a) When you click to expand a row, it will basically show the Cluster Details (Overview tab, Instances Table tab)

Gerrit topic: https://review.openstack.org/#q,topic:bp/database-clustering-support,n,z

Addressed by: https://review.openstack.org/110411
    Initial support for database clustering in Horizon

Gerrit topic: https://review.openstack.org/#q,topic:trove-enable-percona-cluster-support,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.