Puppet Class: storage

Defined in:
manifests/volume/storage.pp

Overview

Copyright (C) 2014 eNovance SAS <licensing@enovance.com>

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.

Volume storage

Parameters

ks_keystone_internal_proto

(optional) Protocol used to connect to API. Could be 'http' or 'https'. Defaults to 'http'

ks_keystone_internal_host

(optional) Internal Hostname or IP to connect to Keystone API Defaults to '127.0.0.1'

ks_keystone_internal_port

(optional) TCP port to connect to Keystone API from admin network Default to '5000'

ks_cinder_password

(optional) Password used by Cinder to connect to Keystone API Defaults to 'secrete'

cinder_backends

(optionnal) Hash of the Cinder backends to enable Example: cinder_backends = {

'rbd' => {
   'lowcost'  => { 'rbd_pool' => 'slow', 'rbd_user' => 'cinder', 'rbd_secret_uuid' => '123' },
   'standard' => { 'rbd_pool' => 'normal', 'rbd_user' => 'cinder', 'rbd_secret_uuid' => '123' }
},
'netapp' => {
   'premium' => { 'netapp_server_hostname' => 'netapp.host', 'netapp_login' => 'joe', 'netapp_password' => 'secret' }
}

} Defaults to undef

cinder_rbd_pool

(optional) Name of the Ceph pool which which store the cinder images Defaults to 'volumes'

cinder_rbd_user

(optional) User name used to acces to the cinder rbd pool Defaults to 'cinder'

cinder_rbd_secret_uuid

(optional) A required parameter to use cephx. Defaults to false

cinder_rbd_conf

(optional) Path to the ceph configuration file to use Defaults to '/etc/ceph/ceph.conf'

cinder_rbd_flatten_volume_from_snapshot

(optional) Enable flatten volumes created from snapshots. Defaults to false

cinder_rbd_max_clone_depth

(optional) Maximum number of nested clones that can be taken of a volume before enforcing a flatten prior to next clone. A value of zero disables cloning Defaults to '5'

Parameter Summary