Containerized control plane with Dell EMC ScaleIO storage

ScaleIO requires a few additional volumes to be mounted
into a containerized control plane. Add GlanceApiOptVolumes
parameter for glance and utilize CinderVolumeOptVolumes and
NovaComputeOptVolumes to supply these volumes.

Change-Id: Ib2865b85f31651e485869cd5772afb9b274c6e57
(cherry-picked from commit f514438be0)
This commit is contained in:
Eric Young 2018-04-24 08:13:13 -04:00 committed by Cyril Roelandt
parent 28100e8591
commit 1c528e2b3d
3 changed files with 41 additions and 1 deletions

View File

@ -87,6 +87,10 @@ parameters:
description: >
The Ceph cluster name must be at least 1 character and contain only
letters and numbers.
GlanceApiOptVolumes:
default: []
description: list of optional volumes to be mounted
type: comma_delimited_list
conditions:
@ -186,6 +190,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
- {get_attr: [GlanceLogging, volumes]}
- {get_param: GlanceApiOptVolumes}
-
- /var/lib/kolla/config_files/glance_api.json:/var/lib/kolla/config_files/config.json
- /var/lib/config-data/puppet-generated/glance_api/:/var/lib/kolla/config_files/src:ro

View File

@ -13,7 +13,7 @@
# limitations under the License.
#
# A Heat environment file which can be used to enable a
# a Cinder Dell EMC SacleIO backend, configured via puppet
# a Cinder Dell EMC ScaleIO backend, configured via puppet
resource_registry:
OS::TripleO::Services::CinderBackendScaleIO: ../puppet/services/cinder-backend-scaleio.yaml

View File

@ -0,0 +1,35 @@
# Copyright (c) 2017 Dell Inc, or its subsidiaries.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Configure and include this environment to enable the use of ScaleIO
# within a containerized control plane.
parameter_defaults:
# Volumes to map into Cinder Volume container
# Type: array
CinderVolumeOptVolumes:
- /opt/emc/scaleio:/opt/emc/scaleio
- /bin/emc/scaleio:/bin/emc/scaleio
# Volume to map into Nova Compute container
# Type: array
NovaComputeOptVolumes:
- /opt/emc/scaleio:/opt/emc/scaleio
- /bin/emc/scaleio:/bin/emc/scaleio
# Volume to map into Glance API container
# Type: array
GlanceApiOptVolumes:
- /opt/emc/scaleio:/opt/emc/scaleio
- /bin/emc/scaleio:/bin/emc/scaleio