aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/mitaka_to_newton_aodh_data_migration.yaml
blob: 9414ac19f08446580276b6af452410782637a6a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
heat_template_version: 2014-10-16

description: >
  Software-config for performing aodh data migration

parameters:
  controller_servers:
    type: json
  compute_servers:
    type: json
  blockstorage_servers:
    type: json
  objectstorage_servers:
    type: json
  cephstorage_servers:
    type: json
  input_values:
    type: json
    description: input values for the software deployments
resources:

  AodhMysqlMigrationScriptConfig:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config: {get_file: aodh_data_migration.sh}

  AodhMysqlMigrationScriptDeployment:
    type: OS::Heat::SoftwareDeploymentGroup
    properties:
      servers:  {get_param: controller_servers}
      config: {get_resource: AodhMysqlMigrationScriptConfig}
      input_values: {get_param: input_values}