Open
Description
The issue
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
Affected ParallelCluster versions, OSes and schedulers
All ParallelCluster versions from 3.8.0 to 3.13.1 with the Slurm scheduler on all OSes.
Mitigation
You can find a detailed explanation and the mitigation of the problem here.