Skip to content
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

[Backport release/3.33] CRAYSAT-1948: Fix traceback in sat swap blade #308

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

github-actions[bot]
Copy link

Backport of #303

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.

(cherry picked from commit 5cae513)
@haasken-hpe haasken-hpe reopened this Dec 19, 2024
@haasken-hpe haasken-hpe merged commit 9e8712b into release/3.33 Dec 19, 2024
3 checks passed
@haasken-hpe haasken-hpe deleted the backport/303-to-release/3.33 branch December 19, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant