-
Notifications
You must be signed in to change notification settings - Fork 314
(3.8.0 ‐ 3.13.1) Update‐Cluster, Update‐Compute‐Fleet may fail when Compute Resources use an expired Capacity Reservation
Xuanqi He edited this page Jun 13, 2025
·
3 revisions
The following operations may fail:
pcluster update-cluster
pcluster update-compute-fleet
With the error message
Unable to parse configuration file. An error occurred when calling the DescribeCapacityReservations operation: The capacity reservation ID 'cr-xxxxx' was not found
When
- Current cluster configuration includes a
ComputeResources
entry with aCapacityReservationId
- The specified Capacity Reservation has expired
- No
InstanceType
is specified within the same ComputeResources entry
For example
Scheduling:
Scheduler: slurm
SlurmQueues:
- Name: string
ComputeResources:
- Name: string
MinCount: integer
MaxCount: integer
# InstanceType is missing
CapacityReservationTarget:
# The Capacity Reservation below is expired or cancelled
CapacityReservationId: cr-01234567890abcdef
All ParallelCluster versions from 3.8.0 to 3.13.1 with the Slurm scheduler on all OSes.
The following steps should be followed to resolve this issue:
- Download the patched source code from the
integ-tests-<VERSION>
branch on the aws-parallelcluster github repo- For example, if you are using pcluster version 3.13.0, use the branch
integ-tests-3.13.0
- Run the following command to download the source code
wget https://github.com/aws/aws-parallelcluster/archive/integ-tests-3.13.0.zip
- For example, if you are using pcluster version 3.13.0, use the branch
- Install the new CLI from the source code
- Run the following command to install from source:
tar -xzf integ-tests-<VERSION>.zip cd aws-parallelcluster-integ-tests-<VERSION> pip install ./cli
- Run the following command to install from source: