heat_template_version: 2014-10-16
description: 'Block Storage Configuration w/ Puppet'
parameters:
- #FIXME: this should not be required
- AdminPassword:
- default: ''
- type: string
Image:
default: overcloud-cinder-volume
type: string
default: 5000
description: The size of the loopback file used by the cinder LVM driver.
type: number
- # FIXME: this should not be required
- CinderPassword:
- default: unset
- description: The password for the cinder service account, used by cinder-api.
- hidden: true
- type: string
VirtualIP:
default: ''
type: string
heat_template_version: 2014-10-16
description: 'Common Block Storage Configuration'
parameters:
- AdminPassword:
- default: ''
- type: string
Image:
default: overcloud-cinder-volume
type: string
default: 5000
description: The size of the loopback file used by the cinder LVM driver.
type: number
- CinderPassword:
- default: unset
- description: The password for the cinder service account, used by cinder-api.
- hidden: true
- type: string
VirtualIP:
default: ''
type: string
properties:
group: os-apply-config
config:
- admin-password: {get_param: AdminPassword}
keystone:
host: {get_input: controller_virtual_ip}
cinder:
db: {get_input: cinder_dsn}
volume_size_mb:
get_param: CinderLVMLoopDeviceSize
- service-password:
- get_param: CinderPassword
iscsi-helper:
get_param: CinderISCSIHelper
snmpd:
resource_def:
type: OS::TripleO::BlockStorage
properties:
- AdminPassword: {get_param: AdminPassword}
Image: {get_param: BlockStorageImage}
CinderISCSIHelper: {get_param: CinderISCSIHelper}
CinderLVMLoopDeviceSize: {get_param: CinderLVMLoopDeviceSize}
- CinderPassword: {get_param: CinderPassword}
VirtualIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
KeyName: {get_param: KeyName}
Flavor: {get_param: OvercloudBlockStorageFlavor}