With ParallelCluster 3.4.0 users are now able to specify a custom script to be executed in the head node during the update of the cluster. The script can be specified with OnNodeUpdated parameter when using Slurm as scheduler.
This PR aims at providing support for OnNodeUpdated custom action in ParallelCluster Manager, by adding a dedicated component in the advanced options of the HeadNode section of the wizard (see attached image).
Changelog entry
Added support for onUpdated custom action in HeadNode section
How Has This Been Tested?
Manually tested a dry-run locally using PC API 3.4.0
Verified that with versions < 3.4.0 the option is not displayed
PR Quality Checklist
[ ] I added tests to new or existing code
[ ] I removed hardcoded strings and used our i18n solution instead (see here)
[ ] I made sure no sensitive info gets logged at any time in the codebase (see here) (e.g. no user info or details, no stacktraces, etc.)
[ ] I checked that infrastructure/update_infrastructure.sh runs without any error
[x] I checked that npm run build builds without any error
[x] I checked that clusters are listed correctly
[x] I checked that a new cluster can be created (config is produced and dry run passes)
[ ] I checked that login and logout work as expected
Description
With ParallelCluster 3.4.0 users are now able to specify a custom script to be executed in the head node during the update of the cluster. The script can be specified with
OnNodeUpdated
parameter when using Slurm as scheduler.This PR aims at providing support for
OnNodeUpdated
custom action in ParallelCluster Manager, by adding a dedicated component in the advanced options of the HeadNode section of the wizard (see attached image).Changelog entry
onUpdated
custom action inHeadNode
sectionHow Has This Been Tested?
PR Quality Checklist
i18n
solution instead (see here)npm run build
builds without any errorIn order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.