Set storage role optional 09/52709/1
authorHarry Huang <huangxiangyu5@huawei.com>
Tue, 27 Feb 2018 06:09:48 +0000 (14:09 +0800)
committerHarry Huang <huangxiangyu5@huawei.com>
Tue, 27 Feb 2018 06:09:48 +0000 (14:09 +0800)
JIRA: -

storage_master and storage_node role are
currently required in kubernetes scenario
which cause scenario with no storage_master
or storage_node fails to be deployed.

Change-Id: I0fd28a7fd4a6161be96044382ea509832473dc71
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
deploy/compass_conf/role/kubernetes_ansible.conf

index f86902e..3e79cbb 100755 (executable)
@@ -18,10 +18,12 @@ ROLES = [{
 }, {
     'role': 'storage_master',
     'display_name': 'storage master',
-    'description': 'storage master'
+    'description': 'storage master',
+    'optional': True
 }, {
     'role': 'storage_node',
     'display_name': 'storage node',
-    'description': 'storage node'
+    'description': 'storage node',
+    'optional': True
 }
 ]