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

CRAYSAT-1929: Fix CFS fields in sat status for CFS v3 #279

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

haasken-hpe
Copy link
Contributor

@haasken-hpe haasken-hpe commented Oct 29, 2024

Summary and Scope

The CFSStatusModule still had hard-coded property names for the properties of a CFS component, and these property names were only valid for CFS v2, so sat status only showed CFS fields when CFS v2 was used. Update the mapping so that it correctly maps CFS properties to the sat status column names for both CFS v2 and v3.

Issues and Related PRs

Testing

Tested on:

  • noname

Test description:

Built cray-sat image and tested on noname with both CFS versions, that is:

  • sat status --cfs-version v2
  • sat status --cfs-version v3

Risks and Mitigations

Low risk change which only affects sat status.

Pull Request Checklist

  • Version number(s) incremented, if applicable
  • Copyrights updated
  • License file intact
  • Target branch correct
  • CHANGELOG.md updated
  • Testing is appropriate and complete, if applicable
  • HPC Product Announcement prepared, if applicable

The `CFSStatusModule` still had hard-coded property names for the
properties of a CFS component, and these property names were only valid
for CFS v2, so `sat status` only showed CFS fields when CFS v2 was used.
Update the mapping so that it correctly maps CFS properties to the
`sat status` column names for both CFS v2 and v3.

Test Description:
Built `cray-sat` image and tested on `noname` with both CFS versions,
that is:

* `sat status --cfs-version v2`
* `sat status --cfs-version v3`
@haasken-hpe haasken-hpe force-pushed the CRAYSAT-1929-fix-sat-status-cfs-fields branch from d781968 to 829ba2c Compare October 29, 2024 20:26
@haasken-hpe
Copy link
Contributor Author

@haasken-hpe haasken-hpe merged commit 8b586d6 into main Oct 30, 2024
3 checks passed
@haasken-hpe haasken-hpe deleted the CRAYSAT-1929-fix-sat-status-cfs-fields branch October 30, 2024 13:22
@haasken-hpe
Copy link
Contributor Author

/backport release/3.32

Copy link

Backporting into branch release/3.32 was successful. New PR: #281

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.

3 participants