Skip to content

Commit 4e7976d

Browse files
committed
Fix #360: don't recreate hosts when user_data changes as heat gets stuck and the stack become unrecoverable.
1 parent c98db0f commit 4e7976d

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

bastion.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ resources:
224224
networks:
225225
- port: {get_param: port}
226226
user_data_format: SOFTWARE_CONFIG
227+
user_data_update_policy: IGNORE
227228
user_data: {get_resource: init}
228229

229230
# Install, configure and enable the Heat configuration agent

infra.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ resources:
279279
- port: {get_resource: port}
280280
- port: {get_attr: [internal_port, port]}
281281
user_data_format: SOFTWARE_CONFIG
282+
user_data_update_policy: IGNORE
282283
user_data: {get_resource: init}
283284
scheduler_hints:
284285
group: {get_param: infra_server_group}

loadbalancer_dedicated.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ resources:
231231
networks:
232232
- port: {get_resource: port}
233233
user_data_format: SOFTWARE_CONFIG
234+
user_data_update_policy: IGNORE
234235
user_data: {get_resource: init}
235236

236237
# Collect a set of host configuration information in a single structure

master.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ resources:
264264
- port: {get_resource: port}
265265
- port: {get_attr: [internal_port, port]}
266266
user_data_format: SOFTWARE_CONFIG
267+
user_data_update_policy: IGNORE
267268
user_data: {get_resource: init}
268269
scheduler_hints:
269270
group: {get_param: master_server_group}

node.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ resources:
391391
- port: {get_resource: port}
392392
- port: {get_attr: [internal_port, port]}
393393
user_data_format: SOFTWARE_CONFIG
394+
user_data_update_policy: IGNORE
394395
user_data: {get_resource: init}
395396
metadata: {get_param: metadata}
396397

0 commit comments

Comments
 (0)