afc0d39dc2
Adds a ephemeral heat service that ensures the containers are fetched on the system and tagged specially for usage later with the overcloud deployment process. After the service deploys, the following container images should be available on the local system. localhost/tripleo/openstack-heat-all:ephemeral localhost/tripleo/openstack-heat-engine:ephemeral localhost/tripleo/openstack-heat-api:ephemeral Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/796614 Partial-Bug: #1931995 Change-Id: I923856c83c14eb54073684ace93e9e1e85f53329 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> Co-Authored-By: Alex Schultz <aschultz@redhat.com> Signed-off-by: Alex Schultz <aschultz@redhat.com>
75 lines
2.5 KiB
YAML
75 lines
2.5 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
Openstack Heat Ephemeral service, provides nothing but container images
|
|
|
|
parameters:
|
|
ContainerHeatAllImage:
|
|
description: The container image to use for heat-all
|
|
type: string
|
|
ContainerHeatEngineImage:
|
|
description: image
|
|
type: string
|
|
ContainerHeatConfigImage:
|
|
description: The container image to use for the heat config_volume
|
|
type: string
|
|
ContainerHeatApiImage:
|
|
description: image
|
|
type: string
|
|
ContainerHeatApiConfigImage:
|
|
description: The container image to use for the heat_api config_volume
|
|
type: string
|
|
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. Use
|
|
parameter_merge_strategies to merge it with the defaults.
|
|
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
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Heat Ephemeral
|
|
value:
|
|
service_name: heat_ephemeral
|
|
upgrade_tasks: []
|
|
deploy_steps_tasks:
|
|
- name: Tag Ephemeral Heat Containers for Overcloud Deploy
|
|
when:
|
|
- step|int == 5
|
|
block:
|
|
- name: Tag Heat All image
|
|
import_role:
|
|
name: tripleo_container_tag
|
|
vars:
|
|
container_image: {get_param: ContainerHeatAllImage}
|
|
container_image_latest: "localhost/tripleo/openstack-heat-all:ephemeral"
|
|
- name: Tag Heat Engine image
|
|
import_role:
|
|
name: tripleo_container_tag
|
|
vars:
|
|
container_image: {get_param: ContainerHeatEngineImage}
|
|
container_image_latest: "localhost/tripleo/openstack-heat-engine:ephemeral"
|
|
- name: Tag Heat Api image
|
|
import_role:
|
|
name: tripleo_container_tag
|
|
vars:
|
|
container_image: {get_param: ContainerHeatApiImage}
|
|
container_image_latest: "localhost/tripleo/openstack-heat-api:ephemeral"
|