From 36a705fc901cb57e260bad974ce1e7e6c429bb78 Mon Sep 17 00:00:00 2001 From: Duk Loi Date: Tue, 18 Oct 2016 18:15:52 -0400 Subject: [PATCH] Enable pxc grow/shrink Enable cluster grow and shrink menu option for pxc. Change-Id: I387d4ae4bde64288af2132892f7244edd9b9ce16 Closes-Bug: #1648235 --- .../notes/enable-pxc-grow-shrink-17568a1c280f1c42.yaml | 3 +++ trove_dashboard/content/databases/db_capability.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/enable-pxc-grow-shrink-17568a1c280f1c42.yaml diff --git a/releasenotes/notes/enable-pxc-grow-shrink-17568a1c280f1c42.yaml b/releasenotes/notes/enable-pxc-grow-shrink-17568a1c280f1c42.yaml new file mode 100644 index 0000000..1a0b1b5 --- /dev/null +++ b/releasenotes/notes/enable-pxc-grow-shrink-17568a1c280f1c42.yaml @@ -0,0 +1,3 @@ +--- +fixes: + - Enable cluster grow and shrink panels for pxc. diff --git a/trove_dashboard/content/databases/db_capability.py b/trove_dashboard/content/databases/db_capability.py index cf1baf7..4d0025b 100644 --- a/trove_dashboard/content/databases/db_capability.py +++ b/trove_dashboard/content/databases/db_capability.py @@ -25,7 +25,8 @@ VERTICA = "vertica" _mysql_compatible_datastores = (MYSQL, MARIA, PERCONA, PERCONA_CLUSTER) _cluster_capable_datastores = (CASSANDRA, MARIA, MONGODB, PERCONA_CLUSTER, REDIS, VERTICA) -_cluster_grow_shrink_capable_datastores = (CASSANDRA, MARIA, MONGODB, REDIS) +_cluster_grow_shrink_capable_datastores = (CASSANDRA, MARIA, MONGODB, + PERCONA_CLUSTER, REDIS) def can_modify_cluster(datastore):