Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing final square bracket?

Copy link
Contributor

@gmarciani gmarciani Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the description this is intentional:

(Note: CloudWatch Agent's %z only supports timezone without colon like -0700, but Chef outputs +02:00 format. We only match up to seconds and let CloudWatch handle the rest.)

I'm ok with the current approach. However, did you check if chef allows to write the offset in the format accepted by CW?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have synced, that we do have a way to customize the chef timestamp format, but it doesn't worth the effort. So we will accept the current approach.

"json": ""
},
"log_configs": [
Expand Down Expand Up @@ -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": [
Expand Down
Loading