Skip to content

Commit 0a3cd27

Browse files
author
AWS
committed
AWS Parallel Computing Service Update: This release adds support for Slurm accounting. For more information, see the Slurm accounting topic in the AWS PCS User Guide. Slurm accounting is supported for Slurm 24.11 and later. This release also adds 24.11 as a valid value for the version parameter of the Scheduler data type.
1 parent 7dfea16 commit 0a3cd27

File tree

2 files changed

+66
-3
lines changed

2 files changed

+66
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Parallel Computing Service",
4+
"contributor": "",
5+
"description": "This release adds support for Slurm accounting. For more information, see the Slurm accounting topic in the AWS PCS User Guide. Slurm accounting is supported for Slurm 24.11 and later. This release also adds 24.11 as a valid value for the version parameter of the Scheduler data type."
6+
}

services/pcs/src/main/resources/codegen-resources/service-2.json

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
{"shape":"InternalServerException"},
265265
{"shape":"AccessDeniedException"}
266266
],
267-
"documentation":"<important> <p>This API action isn't intended for you to use.</p> </important> <p>Amazon Web Services PCS uses this API action to register the compute nodes it launches in your account.</p>"
267+
"documentation":"<p><important> <p>This API action isn't intended for you to use.</p> </important> <p>Amazon Web Services PCS uses this API action to register the compute nodes it launches in your account.</p></p>"
268268
},
269269
"TagResource":{
270270
"name":"TagResource",
@@ -344,6 +344,55 @@
344344
"documentation":"<p>You don't have permission to perform the action.</p> <p> <u>Examples</u> </p> <ul> <li> <p>The launch template instance profile doesn't pass <code>iam:PassRole</code> verification.</p> </li> <li> <p>There is a mismatch between the account ID and cluster ID.</p> </li> <li> <p>The cluster ID doesn't exist.</p> </li> <li> <p>The EC2 instance isn't present.</p> </li> </ul>",
345345
"exception":true
346346
},
347+
"Accounting":{
348+
"type":"structure",
349+
"required":["mode"],
350+
"members":{
351+
"mode":{
352+
"shape":"AccountingMode",
353+
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
354+
},
355+
"defaultPurgeTimeInDays":{
356+
"shape":"AccountingDefaultPurgeTimeInDaysInteger",
357+
"documentation":"<p>The default value for all purge settings for <code>slurmdbd.conf</code>. For more information, see the <a href=\"https://slurm.schedmd.com/slurmdbd.conf.html\">slurmdbd.conf documentation at SchedMD</a>.</p> <p>The default value for <code>defaultPurgeTimeInDays</code> is <code>-1</code>.</p> <p>A value of <code>-1</code> means there is no purge time and records persist as long as the cluster exists.</p> <important> <p> <code>0</code> isn't a valid value.</p> </important>"
358+
}
359+
},
360+
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
361+
},
362+
"AccountingDefaultPurgeTimeInDaysInteger":{
363+
"type":"integer",
364+
"box":true,
365+
"max":10000,
366+
"min":-1
367+
},
368+
"AccountingMode":{
369+
"type":"string",
370+
"enum":[
371+
"STANDARD",
372+
"NONE"
373+
]
374+
},
375+
"AccountingRequest":{
376+
"type":"structure",
377+
"required":["mode"],
378+
"members":{
379+
"mode":{
380+
"shape":"AccountingMode",
381+
"documentation":"<p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"
382+
},
383+
"defaultPurgeTimeInDays":{
384+
"shape":"AccountingRequestDefaultPurgeTimeInDaysInteger",
385+
"documentation":"<p>The default value for all purge settings for <code>slurmdbd.conf</code>. For more information, see the <a href=\"https://slurm.schedmd.com/slurmdbd.conf.html\">slurmdbd.conf documentation at SchedMD</a>.</p> <p>The default value for <code>defaultPurgeTimeInDays</code> is <code>-1</code>.</p> <p>A value of <code>-1</code> means there is no purge time and records persist as long as the cluster exists.</p> <important> <p> <code>0</code> isn't a valid value.</p> </important>"
386+
}
387+
},
388+
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>"
389+
},
390+
"AccountingRequestDefaultPurgeTimeInDaysInteger":{
391+
"type":"integer",
392+
"box":true,
393+
"max":10000,
394+
"min":-1
395+
},
347396
"AmiId":{
348397
"type":"string",
349398
"pattern":"ami-[a-z0-9]+"
@@ -447,6 +496,10 @@
447496
"authKey":{
448497
"shape":"SlurmAuthKey",
449498
"documentation":"<p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>"
499+
},
500+
"accounting":{
501+
"shape":"Accounting",
502+
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
450503
}
451504
},
452505
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
@@ -461,6 +514,10 @@
461514
"slurmCustomSettings":{
462515
"shape":"SlurmCustomSettings",
463516
"documentation":"<p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>"
517+
},
518+
"accounting":{
519+
"shape":"AccountingRequest",
520+
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
464521
}
465522
},
466523
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
@@ -1542,7 +1599,7 @@
15421599
},
15431600
"version":{
15441601
"shape":"String",
1545-
"documentation":"<p>The version of the specified scheduling software that Amazon Web Services PCS uses to manage cluster scaling and job scheduling. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html\">Slurm versions in Amazon Web Services PCS</a> in the <i>Amazon Web Services PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05</code> </p>"
1602+
"documentation":"<p>The version of the specified scheduling software that Amazon Web Services PCS uses to manage cluster scaling and job scheduling. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html\">Slurm versions in Amazon Web Services PCS</a> in the <i>Amazon Web Services PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11</code> </p>"
15461603
}
15471604
},
15481605
"documentation":"<p>The cluster management and job scheduling software associated with the cluster.</p>"
@@ -1560,7 +1617,7 @@
15601617
},
15611618
"version":{
15621619
"shape":"String",
1563-
"documentation":"<p>The version of the specified scheduling software that Amazon Web Services PCS uses to manage cluster scaling and job scheduling. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html\">Slurm versions in Amazon Web Services PCS</a> in the <i>Amazon Web Services PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05</code> </p>"
1620+
"documentation":"<p>The version of the specified scheduling software that Amazon Web Services PCS uses to manage cluster scaling and job scheduling. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html\">Slurm versions in Amazon Web Services PCS</a> in the <i>Amazon Web Services PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11</code> </p>"
15641621
}
15651622
},
15661623
"documentation":"<p>The cluster management and job scheduling software associated with the cluster.</p>"

0 commit comments

Comments
 (0)