Skip to content

Commit dff72fa

Browse files
committed
Update CHANGELOG
1 parent 3cc569f commit dff72fa

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ aws-parallelcluster-node CHANGELOG
33

44
This file is used to list changes made in each version of the aws-parallelcluster-node package.
55

6+
3.15.0
7+
------
8+
9+
**CHANGES**
10+
- Direct users to slurm_resume log to see EC2 error codes if no instances are launched.
11+
612
3.14.0
713
------
814

src/slurm_plugin/clustermgtd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,8 +1262,8 @@ def _reset_timeout_expired_compute_resources(
12621262
return
12631263
log.info(
12641264
"The following compute resources are in down state due to insufficient capacity: %s, "
1265-
"compute resources will be reset after insufficient capacity timeout (%s seconds) expired."
1266-
"Check the slurm_resume log for ec2 error codes.",
1265+
"compute resources will be reset after insufficient capacity timeout (%s seconds) expired. "
1266+
"Check the slurm_resume log for EC2 error codes.",
12671267
self._insufficient_capacity_compute_resources,
12681268
self._config.insufficient_capacity_timeout,
12691269
)

src/slurm_plugin/resume.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ def _resume(arg_nodes, resume_config, slurm_resume):
229229
for error_code, node_list in instance_manager.failed_nodes.items():
230230
_handle_failed_nodes(
231231
node_list,
232-
reason=f"(Code:{error_code})Failure when resuming nodes - Check the slurm_resume log for ec2 error codes",
232+
reason=f"(Code:{error_code})Failure when resuming nodes - "
233+
f"Check the slurm_resume log for EC2 error codes",
233234
)
234235

235236
event_publisher = ClusterEventPublisher.create_with_default_publisher(

tests/slurm_plugin/test_resume.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,8 @@ def test_resume_launch(
450450
mock_handle_failed_nodes_calls.append(
451451
call(
452452
nodeset,
453-
reason=f"(Code:{error_code})Failure when resuming nodes - Check the slurm_resume log for ec2 error codes",
453+
reason=f"(Code:{error_code})Failure when resuming nodes - "
454+
f"Check the slurm_resume log for EC2 error codes",
454455
)
455456
)
456457
mock_handle_failed_nodes.assert_has_calls(mock_handle_failed_nodes_calls)

0 commit comments

Comments
 (0)