Skip to content

Commit 0b499af

Browse files
Upload cfn-hup log to CloudWatch
cfn-hup log is useful when debugging cluster update failures. Since aws#2614, all nodes rely on cfn-hup, making have the log on CloudWatch important. Signed-off-by: Hanwen <[email protected]>
1 parent 873ebec commit 0b499af

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config.json

+17
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,23 @@
6464
],
6565
"feature_conditions": []
6666
},
67+
{
68+
"timestamp_format_key": "default",
69+
"file_path": "/var/log/cfn-hup.log",
70+
"log_stream_name": "cfn-hup",
71+
"schedulers": [
72+
"awsbatch",
73+
"slurm"
74+
],
75+
"platforms": {{ default_platforms | tojson}},
76+
"node_roles": [
77+
"HeadNode",
78+
"ComputeFleet",
79+
"LoginNode",
80+
"ExternalSlurmDbd"
81+
],
82+
"feature_conditions": []
83+
},
6784
{
6885
"timestamp_format_key": "default",
6986
"file_path": "/var/log/chef-client.log",

0 commit comments

Comments
 (0)