Remove unneeded neutron config parts from block-storage.yaml
[apex-tripleo-heat-templates.git] / block-storage.yaml
1 heat_template_version: 2013-05-23
2 description: 'Common Block Storage Configuration'
3 parameters:
4   BlockStorageImage:
5     type: string
6     default: overcloud-cinder-volume
7   OvercloudBlockStorageFlavor:
8     default: baremetal
9     description: Flavor for block storage nodes to request when deploying.
10     type: string
11 resources:
12   BlockStorage0:
13     type: OS::Nova::Server
14     properties:
15       image:
16         {get_param: BlockStorageImage}
17       flavor: {get_param: OvercloudBlockStorageFlavor}
18       key_name: {get_param: KeyName}
19       user_data_format: SOFTWARE_CONFIG
20   BlockStorage0Deployment:
21     type: OS::Heat::StructuredDeployment
22     properties:
23       server: {get_resource: BlockStorage0}
24       config: {get_resource: BlockStorageConfig}
25       input_values:
26         controller_host: {get_attr: [controller0, networks, ctlplane, 0]}
27         cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]}
28       signal_transport: NO_SIGNAL
29   BlockStorageConfig:
30     type: OS::Heat::StructuredConfig
31     properties:
32       group: os-apply-config
33       config:
34         admin-password: {get_param: AdminPassword}
35         keystone:
36           host: {get_input: controller_host}
37         cinder:
38           db: {get_input: cinder_dsn}
39           volume_size_mb:
40             get_param: CinderLVMLoopDeviceSize
41           service-password:
42             get_param: CinderPassword
43           iscsi-helper:
44             get_param: CinderISCSIHelper
45         rabbit:
46           host: {get_input: controller_host}
47           username: {get_param: RabbitUserName}
48           password: {get_param: RabbitPassword}