1 heat_template_version: pike
4 OpenStack containerized Nova Migration Target service
7 DockerNovaComputeImage:
10 DockerNovaLibvirtConfigImage:
11 description: The container image to use for the nova_libvirt config_volume
15 description: Dictionary packing service data
19 description: Mapping of service_name -> network name. Typically set
20 via parameter_defaults in the resource registry. This
21 mapping overrides those in ServiceNetMapDefaults.
28 description: Role name on which the service is applied
32 description: Parameters specific to the role
36 description: Mapping of service endpoint -> protocol. Typically set
37 via parameter_defaults in the resource registry.
39 DockerNovaMigrationSshdPort:
41 description: Port that dockerized nova migration target sshd service
48 type: ./containers-common.yaml
51 type: ../../puppet/services/sshd.yaml
53 EndpointMap: {get_param: EndpointMap}
54 ServiceNetMap: {get_param: ServiceNetMap}
55 DefaultPasswords: {get_param: DefaultPasswords}
56 RoleName: {get_param: RoleName}
57 RoleParameters: {get_param: RoleParameters}
59 NovaMigrationTargetBase:
60 type: ../../puppet/services/nova-migration-target.yaml
62 EndpointMap: {get_param: EndpointMap}
63 ServiceNetMap: {get_param: ServiceNetMap}
64 DefaultPasswords: {get_param: DefaultPasswords}
65 RoleName: {get_param: RoleName}
66 RoleParameters: {get_param: RoleParameters}
70 description: Role data for the Nova Migration Target service.
72 service_name: nova_migration_target
75 - get_attr: [SshdBase, role_data, config_settings]
76 - get_attr: [NovaMigrationTargetBase, role_data, config_settings]
77 - tripleo.nova_migration_target.firewall_rules:
78 '113 nova_migration_target':
80 - {get_param: DockerNovaMigrationSshdPort}
81 step_config: &step_config
84 - - get_attr: [SshdBase, role_data, step_config]
85 - get_attr: [NovaMigrationTargetBase, role_data, step_config]
87 config_volume: nova_libvirt
88 step_config: *step_config
89 config_image: {get_param: DockerNovaLibvirtConfigImage}
91 /var/lib/kolla/config_files/nova-migration-target.json:
94 template: "/usr/sbin/sshd -D -p SSHDPORT"
96 SSHDPORT: {get_param: DockerNovaMigrationSshdPort}
98 - source: "/var/lib/kolla/config_files/src/*"
101 preserve_properties: true
102 - source: /host-ssh/ssh_host_*_key
108 nova_migration_target:
109 image: {get_param: DockerNovaComputeImage}
116 - {get_attr: [ContainersCommon, volumes]}
118 - /var/lib/kolla/config_files/nova-migration-target.json:/var/lib/kolla/config_files/config.json:ro
119 - /var/lib/config-data/puppet-generated/nova_libvirt/:/var/lib/kolla/config_files/src:ro
120 - /etc/ssh/:/host-ssh/:ro
122 - /var/lib/nova:/var/lib/nova
124 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS