-
Notifications
You must be signed in to change notification settings - Fork 109
[SlurmTopo] Use --force-configuration option for creating topology configuration
#3008
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
Conversation
…conf * Ignore checks like Capacity Block and Matching Instance Type
5a3d89f to
d5476c7
Compare
* We do not update the file if queues are not updated and p6egb200_block_sizes does not exist
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3008 +/- ##
===========================================
- Coverage 75.50% 75.22% -0.29%
===========================================
Files 23 24 +1
Lines 2356 2446 +90
===========================================
+ Hits 1779 1840 +61
- Misses 577 606 +29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
...aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_topology_generator.py
Outdated
Show resolved
Hide resolved
| not_if { ::File.exist?(node['cluster']['previous_cluster_config_path']) && topology_generator_command_args.nil? } | ||
| "#{topology_generator_command_args}"\ | ||
| "#{topology_generator_extra_args}" | ||
| not_if { topology_generator_command_args.nil? } |
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.
Why the previous_cluster_config_path check was removed?
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.
We dont need to check the existence of this file. And this is the check which is causing the errors in our integ tests as ['cluster']['previous_cluster_config_path'] will exist in every update
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 will add a followup PR to solve the update cluster issue as this doesnt solve it
...aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_topology_generator.py
Show resolved
Hide resolved
e8a8c18 to
94d2a72
Compare
Description of changes
--force-configurationoption for creating topology configurationTests
tests shows file exist
Tests to check files are updated.
and chnages in the files
and see that files are deleted/cleaned up.
References
Checklist
developadd the branch name as prefix in the PR title (e.g.[release-3.6]).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.