summaryrefslogtreecommitdiff
path: root/deployment_tasks.yaml
blob: 8d099ab57c3ae0ce1bf975548870c385de97d82d (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
- id: PLUMgrid-Gateway
  version: 2.0.0
  type: group
  role: [PLUMgrid-Gateway]
  tasks: [hiera, globals, logging, tools, netconfig]
  required_for: [deploy_end]
  requires: [deploy_start]
  parameters:
    strategy:
      type: parallel

# Skip default neutron plugins
- id: primary-openstack-network-plugins-l2
  version: 2.0.0
  type: skipped
- id: openstack-network-plugins-l2
  version: 2.0.0
  type: skipped
- id: openstack-network-routers-ha
  version: 2.0.0
  type: skipped
# Skip Neutron agents
- id: primary-openstack-network-agents-l3
  version: 2.0.0
  type: skipped
- id: openstack-network-agents-l3
  version: 2.0.0
  type: skipped
- id: primary-openstack-network-agents-dhcp
  version: 2.0.0
  type: skipped
- id: openstack-network-agents-dhcp
  version: 2.0.0
  type: skipped
- id: primary-openstack-network-agents-metadata
  version: 2.0.0
  type: skipped
- id: openstack-network-agents-metadata
  version: 2.0.0
  type: skipped
- id: openstack-network-agents-sriov
  version: 2.0.0
  type: skipped
# Skip default fuel networks and routers
- id: openstack-network-networks
  version: 2.0.0
  type: skipped
- id: openstack-network-routers
  version: 2.0.0
  type: skipped

- id: disable-openvswitch
  version: 2.0.0
  groups: ['controller', 'compute', 'PLUMgrid-Gateway', 'primary-controller']
  required_for: [netconfig, deploy_end]
  requires: [deploy_start, globals]
  type: puppet
  reexecute_on:
  - deploy_changes
  parameters:
    puppet_manifest: puppet/manifests/disable_openvswitch.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 120

- id: pgtools-support
  version: 2.0.0
  groups: ['controller', 'primary-controller']
  required_for: [post_deployment_end]
  requires: [post_deployment_start]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/tools.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000

- id: check-pgzone
  version: 2.0.0
  groups: ['controller', 'compute', 'PLUMgrid-Gateway', 'primary-controller']
  required_for: [post_deployment_end, pg_common]
  requires: [post_deployment_start]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/pre_deployment.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 720

- id: pg_common
  version: 2.0.0
  groups: ['controller', 'compute', 'PLUMgrid-Gateway', 'primary-controller']
  required_for: [post_deployment_end, setup-director]
  requires: [post_deployment_start, check-pgzone, configure_default_route]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/pg_common.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000

- id: setup-director
  version: 2.0.0
  groups: ['controller', 'primary-controller']
  required_for: [post_deployment_end, director-fixes]
  requires: [post_deployment_start, pg_common]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/director.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000

- id: director-fixes
  version: 2.0.0
  groups: ['controller', 'primary-controller']
  required_for: [post_deployment_end, post_pg_license]
  requires: [post_deployment_start, setup-director]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/director_fixes.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000

- id: solution-api
  version: 2.0.0
  role: ['primary-controller']
  required_for: [post_deployment_end, post_pg_license]
  requires: [post_deployment_start, director-fixes]
  type: shell
  parameters:
    cmd: bash solution_api.sh
    timeout: 3000

- id: post_pg_license
  version: 2.0.0
  role: ['primary-controller']
  required_for: [post_deployment_end, setup-edge]
  requires: [post_deployment_start, solution-api]
  type: shell
  parameters:
    cmd: bash post_pg_license.sh
    timeout: 3000

- id: setup-edge
  version: 2.0.0
  groups: ['compute']
  required_for: [post_deployment_end]
  requires: [post_deployment_start, solution-api, pg_common]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/edge.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000

- id: setup-gateway
  version: 2.0.0
  groups: ['PLUMgrid-Gateway']
  required_for: [post_deployment_end]
  requires: [post_deployment_start, solution-api, pg_common]
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/gateway.pp
    puppet_modules: puppet/modules:/etc/puppet/modules
    timeout: 3000