-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix duplication of nodes in NodeName #172
base: master
Are you sure you want to change the base?
Conversation
Prior to this change slurmctld would fail to start if adding nodes to multiple partitions e.g: openhpc_slurm_partitions: - name: allnodes groups: - name: alfa - name: beta partition_params: Priority: 50 default: YES - name: alfa partition_params: Priority: 100 - name: bravo partition_params: Priority: 100 This change tracks all nodes that already have a NodeName entry and will not add again.
This does not require using filters outside of the role like the workaround we have previously used:
|
Can someone add a molecule test for this specific case please? |
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.
Can we get a) a molecule test and b) docs changes to match up with code behaviour changes please.
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.
I have written a molecule test named test15 and have pushed the revision to my forked repo: https://github.com/jianguo-ukaea/ansible-role-openhpc.git
Prior to this change slurmctld would fail to start if adding nodes to multiple partitions e.g:
This change tracks all nodes that already have a NodeName entry and will not add again.