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

Update firmware install status for scheduling state #373

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

coffeefreak101
Copy link
Collaborator

What does this PR implement/change/remove?

During my firmware update testing, I encountered a situation where the firmware update status went from "initializing" to "running" for just a second, then to "powercycle-host" then back to "running".

This occurred because the BMC's "scheduling" state gets reported as "running", and the "scheduled" state is reported as "powercycle-host".

This change moves "scheduling" BMC state to the "initializing" firmware update status.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b299d27) 43.47% compared to head (1e2d807) 43.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #373   +/-   ##
=======================================
  Coverage   43.47%   43.47%           
=======================================
  Files          59       59           
  Lines        5274     5274           
=======================================
  Hits         2293     2293           
  Misses       2762     2762           
  Partials      219      219           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelrebel
Copy link
Member

joelrebel commented Nov 28, 2023

good catch,
Since theres an ongoing overhaul in this area - do you mind basing this PR off this branch https://github.com/bmc-toolbox/bmclib/tree/redfish-dell

@coffeefreak101
Copy link
Collaborator Author

good catch, Since theres an ongoing overhaul in this area - do you mind basing this PR off this branch https://github.com/bmc-toolbox/bmclib/tree/redfish-dell

I see you're moving the firmware file in that branch. Looks like your PR has the approvals. I can wait for that to merge first before merging this one.

@coffeefreak101 coffeefreak101 force-pushed the switch-state-scheduling-fix branch from 9d412eb to 1e2d807 Compare December 18, 2023 17:39
@coffeefreak101
Copy link
Collaborator Author

@joelrebel

I rebased and fixed this base on the new code.

Copy link
Member

@joelrebel joelrebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this up

@mergify mergify bot merged commit 6487b60 into main Dec 19, 2023
9 checks passed
@mergify mergify bot deleted the switch-state-scheduling-fix branch December 19, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants