tripleo-heat-templates/docker/services/undercloud-upgrade.yaml
Emilien Macchi e7a103c5a4 undercloud: change upgrade steps
1) Rename the neutron DB at step 2 so Neutron has time to stop (during
step 1) and right after we stop mariadb, so no chance for any app to
access to old db.

2) Upgrade all rpms at step 3 like we do for other services. Step 1 was
way too early.

Change-Id: I34bdc0a9d575e5d1b8f3ce1e09c145cc34563a85
2018-05-17 03:11:11 +00:00

53 lines
1.4 KiB
YAML

heat_template_version: rocky
description: >
Upgrade a non-containerized undercloud to a containerized undercloud.
parameters:
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
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 TripleO Undercloud Upgrade service.
value:
service_name: undercloud_upgrade
config_settings: {}
deploy_steps_tasks: []
docker_config: {}
kolla_config: {}
puppet_config:
config_volume: ''
step_config: ''
config_image: ''
upgrade_tasks:
- name: upgrade all packages
yum:
name: '*'
state: latest
when: step|int == 3