summaryrefslogtreecommitdiff
path: root/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py
diff options
context:
space:
mode:
Diffstat (limited to 'sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py')
-rw-r--r--sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py b/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py
index 1514867..e6e16a8 100644
--- a/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py
+++ b/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py
@@ -46,7 +46,10 @@ BASE_IMAGE_URL = "horizon:project:data_processing.clusters:register"
46 46
47 47
48def is_cinder_enabled(request): 48def is_cinder_enabled(request):
49 return saharaclient.base.is_service_enabled(request, 'volume') 49 for service in ['volumev3', 'volumev2', 'volume']:
50 if saharaclient.base.is_service_enabled(request, service):
51 return True
52 return False
50 53
51 54
52def storage_choices(request): 55def storage_choices(request):