-
Notifications
You must be signed in to change notification settings - Fork 314
[develop] Address cluster update failure when old capacity reservation has been deleted and changelog update for 3.13.2 #6884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bac3c8f
Do not error exit when capacity reservation from the existing cluster…
hanwen-cluster f4aee62
Improve integration test to test capacity reservation update without …
hanwen-cluster a5f86dc
Update changelog
hehe7318 aa590b9
Address mistake in changelog
hehe7318 beebd0a
Merge branch 'develop' into wip/xuanqi-develop-314
hehe7318 34ce03d
Add instance type property to avoid capacity reservation from being c…
hgreebe 045d889
Revise changelog
hehe7318 fe76632
Remove duplicate changelog
hehe7318 811c280
Final version CHANGELOG.
hehe7318 0ca4071
Correctly ternminate the sentence with a period.
hehe7318 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
143 changes: 143 additions & 0 deletions
143
...mand_capacity_reservation/test_on_demand_capacity_reservation/pcluster.config.update.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
Image: | ||
Os: {{ os }} | ||
HeadNode: | ||
InstanceType: r5.xlarge | ||
Networking: | ||
SubnetId: {{ public_subnet_id }} | ||
Ssh: | ||
KeyName: {{ key_name }} | ||
Scheduling: | ||
Scheduler: slurm | ||
SlurmQueues: | ||
- Name: open-odcr-q | ||
ComputeResources: | ||
- Name: open-odcr-id-cr | ||
InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationId: {{ open_capacity_reservation_id }} | ||
- Name: open-odcr-arn-cr | ||
InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ open_capacity_reservation_arn }} | ||
- Name: open-odcr-arn-fl-cr | ||
Instances: | ||
- InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ open_capacity_reservation_arn }} | ||
- Name: open-odcr-id-pg-cr | ||
InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Enabled: true | ||
CapacityReservationTarget: | ||
CapacityReservationId: {{ open_capacity_reservation_id }} | ||
- Name: open-odcr-arn-pg-cr | ||
InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Enabled: true | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ open_capacity_reservation_arn }} | ||
- Name: open-odcr-arn-pg-fl-cr | ||
Instances: | ||
- InstanceType: m5.2xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Enabled: true | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ open_capacity_reservation_arn }} | ||
Networking: | ||
SubnetIds: | ||
- {{ public_subnet_id }} | ||
- Name: target-odcr-q | ||
ComputeResources: | ||
- Name: target-odcr-id-cr | ||
InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationId: {{ target_capacity_reservation_id }} | ||
- Name: target-odcr-arn-cr | ||
InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ target_capacity_reservation_arn }} | ||
- Name: target-odcr-arn-fl-cr | ||
Instances: | ||
- InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ target_capacity_reservation_arn }} | ||
- Name: target-odcr-id-pg-cr | ||
InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Enabled: true | ||
CapacityReservationTarget: | ||
CapacityReservationId: {{ target_capacity_reservation_id }} | ||
- Name: target-odcr-arn-pg-cr | ||
InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ target_capacity_reservation_arn }} | ||
- Name: target-odcr-arn-pg-fl-cr | ||
Instances: | ||
- InstanceType: r5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ target_capacity_reservation_arn }} | ||
Networking: | ||
SubnetIds: | ||
- {{ public_subnet_id }} | ||
- Name: pg-odcr-q | ||
ComputeResources: | ||
- Name: pg-odcr-id-cr | ||
InstanceType: m5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Name: {{ placement_group }} | ||
CapacityReservationTarget: | ||
CapacityReservationId: {{ pg_capacity_reservation_id }} | ||
- Name: pg-odcr-arn-cr | ||
InstanceType: m5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Name: {{ placement_group }} | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ pg_capacity_reservation_arn }} | ||
- Name: pg-odcr-arn-fleet-cr | ||
Instances: | ||
- InstanceType: m5.xlarge | ||
MinCount: 0 | ||
MaxCount: 1 | ||
Networking: | ||
PlacementGroup: | ||
Name: {{ placement_group }} | ||
CapacityReservationTarget: | ||
CapacityReservationResourceGroupArn: {{ pg_capacity_reservation_arn }} | ||
Networking: | ||
SubnetIds: | ||
- {{ public_subnet_id }} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: missing period at the end of the sentence. Not a blocker of corse, but just to keep in mind.