Enable the Glance Artifact repository by default

Since Murano now requires Glance Artifact Repository to be its package
storage the appropriate UI setting is set by default.

The 'murano_glance_artifacts_plugin' setting has been moved from the
'additional_components' group to the 'murano_settings' group, modified
to not be restricted to experimental deployments and its default value
is set to True.

Change-Id: Ieaa373d52403b834aa17eeb05a70b37c61454ad0
Closes-Bug: #1556133
(cherry picked from commit 818e807644)
This commit is contained in:
Alexander Tivelkov 2016-03-11 20:07:45 +03:00
parent ea8ed47681
commit 9e56853e12
2 changed files with 7 additions and 12 deletions

View File

@ -867,6 +867,12 @@
description: ""
weight: 10
type: "text"
murano_glance_artifacts_plugin:
value: true
label: "Enable glance artifact repository"
description: "If selected glance artifact repository will be enabled"
weight: 40
type: "checkbox"
external_mongo:
metadata:
label: "External MongoDB"
@ -946,17 +952,6 @@
message: "Murano should be enabled"
- condition: "not ('experimental' in version:feature_groups)"
action: "hide"
murano_glance_artifacts_plugin:
value: false
label: "Enable glance artifact repository"
description: "If selected glance artifact repository will be enabled"
weight: 40
type: "checkbox"
restrictions:
- condition: "settings:additional_components.murano.value == false"
message: "Murano should be enabled"
- condition: "not ('experimental' in version:feature_groups)"
action: "hide"
heat:
value: true
label: ""

View File

@ -127,7 +127,7 @@ class InstallationInfo(object):
'murano', None),
WhiteListRule(('additional_components', 'murano-cfapi', 'value'),
'murano-cfapi', None),
WhiteListRule(('additional_components',
WhiteListRule(('murano_settings',
'murano_glance_artifacts_plugin', 'value'),
'murano_glance_artifacts_plugin', None),
WhiteListRule(('additional_components', 'heat', 'value'),