Reuse the undercloud service passwords as db passwords.
[apex-tripleo-heat-templates.git] / undercloud-vm-nova-config.yaml
1 resources:
2   undercloudNovaConfig:
3     type: OS::Heat::StructuredConfig
4     properties:
5       config:
6         nova:
7           compute_hostname: undercloud
8           compute_driver: {get_param: NovaComputeDriver}
9           compute_manager: {get_param: NovaComputeManager}
10           scheduler_host_manager: {get_param: NovaSchedulerHostManager}
11           db: {list_join: ['', ['mysql://nova:', {get_param: NovaPassword}, '@localhost/nova']]}
12           default_ephemeral_format: ext4
13           host: 127.0.0.1
14           metadata-proxy: false
15           tuning:
16             ram_allocation_ratio: 1.0
17             reserved_host_memory_mb: 0
18           baremetal:
19             arch: {get_input: nova_arch}
20             db: {list_join: ['', ['mysql://nova:', {get_param: NovaPassword}, '@localhost/nova_bm']]}
21             power_manager: {get_input: power_manager}
22             pxe_deploy_timeout: {get_input: pxe_deploy_timeout}
23             virtual_power:
24               user: {get_input: user}
25               ssh_host: {get_input: ssh_host}
26               ssh_key: {get_input: ssh_key}
27               type: virsh
28           service-password: {get_input: nova_service_password}
29