diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f6765b75..9dacab766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste - Open MPI: openmpi40-aws-4.1.7-2 and openmpi50-aws-5.0.8-11 **BUG FIXES** +- Fix incorrect timestamp parsing for chef-client.log in CloudWatch Agent configuration. - Prevent cluster readiness check failures due to instances launched while the check is in progress. - Fix race condition where compute nodes could deploy the wrong cluster config version after an update failure. diff --git a/cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config.json b/cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config.json index 95ceb287a..08e610745 100644 --- a/cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config.json +++ b/cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config.json @@ -4,6 +4,7 @@ "default": "%Y-%m-%d %H:%M:%S,%f", "bracket_default": "[%Y-%m-%d %H:%M:%S]", "slurm": "%Y-%m-%dT%H:%M:%S.%f", + "chef": "[%Y-%m-%dT%H:%M:%S", "json": "" }, "log_configs": [ @@ -82,7 +83,7 @@ "feature_conditions": [] }, { - "timestamp_format_key": "default", + "timestamp_format_key": "chef", "file_path": "/var/log/chef-client.log", "log_stream_name": "chef-client", "schedulers": [