forked from aws/aws-parallelcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify test_slurm_accounting to cover issue aws#5151
Modify integration test test_slurm_accounting to verify that the Slurm database password is unchanged after a cluster update that modifies the Slurm queues without modifying the Slurm accounting configuration. Signed-off-by: Jacopo De Amicis <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
41 changes: 41 additions & 0 deletions
41
.../tests/schedulers/test_slurm_accounting/test_slurm_accounting/pcluster.config.update.yaml
This file contains 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,41 @@ | ||
Image: | ||
Os: {{ os }} | ||
HeadNode: | ||
InstanceType: {{ instance }} | ||
Networking: | ||
SubnetId: {{ public_subnet_id }} | ||
AdditionalSecurityGroups: | ||
- {{ database_client_security_group }} | ||
Iam: | ||
AdditionalIamPolicies: | ||
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess | ||
Ssh: | ||
KeyName: {{ key_name }} | ||
Imds: | ||
Secured: {{ imds_secured }} | ||
Scheduling: | ||
Scheduler: {{ scheduler }} | ||
SlurmSettings: | ||
Database: | ||
Uri: {{ database_host }} | ||
UserName: {{ database_admin_user }} | ||
PasswordSecretArn: {{ database_secret_arn }} | ||
SlurmQueues: | ||
- Name: compute | ||
ComputeResources: | ||
- Name: cit | ||
Instances: | ||
- InstanceType: {{ instance }} | ||
MinCount: 0 | ||
MaxCount: 12 | ||
Networking: | ||
SubnetIds: | ||
- {{ private_subnet_id }} | ||
Iam: | ||
AdditionalIamPolicies: | ||
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess | ||
Monitoring: | ||
Logs: | ||
CloudWatch: | ||
Enabled: true | ||
RetentionInDays: 14 |