-
Notifications
You must be signed in to change notification settings - Fork 5
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
CRAYSAT-1948: Fix traceback in sat swap blade
#303
Conversation
60cf7c8
to
139cedd
Compare
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.
Looks good to me 👍🏻
Fix a traceback that occurs in `sat swap blade` when the node classes reported by HSM includes both "Mountain" and "Hill" for a single blade. This probably indicates some sort of configuration problem in HSM, but the behavior of `sat swap blade` is the same for both Mountain and Hill, so we can log a warning and proceed in this case. Test Description: Existing and new unit tests validate the new logic in `blade_class` property. Tested the `sat swap blade --action disable` command on baldar, which was exhibiting the issue where a single blade had some nodes reporting as "Hill" and some as "Mountain" in HSM. The command worked as expected.
139cedd
to
5cae513
Compare
The build of cray-sat from this branch was tested by Faiyaz on baldar today with the |
/backport release/3.33 |
Backporting into branch release/3.33 was successful. New PR: #308 |
Summary and Scope
Fix a traceback that occurs in
sat swap blade
when the node classes reported by HSM includes both "Mountain" and "Hill" for a single blade.This probably indicates some sort of configuration problem in HSM, but the behavior of
sat swap blade
is the same for both Mountain and Hill, so we can log a warning and proceed in this case.Issues and Related PRs
Testing
Tested on:
Test description:
Unit tested only so far.
Risks and Mitigations
Introduces some risk to the
sat swap blade
command, but unit tests are pretty good for the modifiedblade_class
property.Still needs to be tested on a system.
Pull Request Checklist