aboutsummaryrefslogtreecommitdiffstats
path: root/environments/cinder-scaleio-config.yaml
blob: cebd619cbc556a6a10eda0cb6f6be07349f5f393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2016-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.
#
# A Heat environment file which can be used to enable a
# a Cinder Dell EMC SacleIO backend, configured via puppet
resource_registry:
  OS::TripleO::Services::CinderBackendScaleIO: ../puppet/services/cinder-backend-scaleio.yaml

parameter_defaults:
  CinderEnableScaleIOBackend: true
  CinderScaleIOBackendName: 'tripleo_scaleio'
  CinderScaleIOSanIp: ''
  CinderScaleIOSanLogin: ''
  CinderScaleIOSanPassword: ''
  CinderScaleIORestServerPort: '443'
  CinderScaleIOVerifyServerCertificate: false
  CinderScaleIOServerCertificatePath: ''
  CinderScaleIOProtectionDomainName: 'domain1'
  CinderScaleIOStoragePoolName: 'pool1'
  CinderScaleIOStoragePools: 'domain1:pool1'
  CinderScaleIORoundVolumeCapacity: true
  CinderScaleIOUnmapVolumeBeforeDeletion: false
  CinderScaleIOMaxOverSubscriptionRatio: ''
  CinderScaleIOSanThinProvision: true
tor">: str_replace: template: "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]} # NOTE: bind IP is found in Heat replacing the network name with the local node IP # for the given network; replacement examples (eg. for internal_api): # internal_api -> IP # internal_api_uri -> [IP] # internal_api_subnet - > IP/CIDR tripleo::profile::base::etcd::bind_ip: {get_param: [ServiceNetMap, EtcdNetwork]} tripleo::profile::base::etcd::client_port: '2379' tripleo::profile::base::etcd::peer_port: '2380' etcd::initial_cluster_token: {get_param: EtcdInitialClusterToken} etcd::manage_package: false tripleo.etcd.firewall_rules: '141 etcd': dport: - 2379 - 2380 step_config: | include ::tripleo::profile::base::etcd upgrade_tasks: - name: Check if etcd is deployed command: systemctl is-enabled etcd tags: step0,validation ignore_errors: True register: etcd_enabled - name: "PreUpgrade step0,validation: Check if etcd is running" shell: > /usr/bin/systemctl show 'etcd' --property ActiveState | grep '\bactive\b' when: etcd_enabled.rc == 0 tags: step0,validation - name: Stop etcd service tags: step2 service: name=etcd state=stopped