tripleo-heat-templates/deployment/nova/nova-compute-common-contain...

62 lines
1.9 KiB
YAML

heat_template_version: rocky
description: >
Contains a static list of common things necessary for nova-compute containers
parameters:
# Required parameters
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
NovaPassword:
description: The password for the nova service and db account
type: string
hidden: true
outputs:
docker_config_scripts:
description: Shared docker config scripts
value:
nova_statedir_ownership.py:
mode: "0700"
content: { get_file: ../../docker_config_scripts/nova_statedir_ownership.py }
nova_wait_for_placement_service.py:
mode: "0700"
content: { get_file: ../../docker_config_scripts/nova_wait_for_placement_service.py }
nova_cell_v2_discover_host.py:
mode: "0700"
content:
str_replace:
template: { get_file: ../../docker_config_scripts/nova_cell_v2_discover_host.py }
params:
__OS_PROJECT_DOMAIN_NAME: 'Default'
__OS_PROJECT_USER_NAME: 'Default'
__OS_PROJECT_NAME: 'service'
__OS_USERNAME: 'nova'
__OS_PASSWORD: {get_param: NovaPassword}
__OS_AUTH_URL: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}