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

Provide mechanism to synchronize services when a bmc reset occurs with chassis power on #19

Open
geissonator opened this issue Mar 4, 2022 · 0 comments

Comments

@geissonator
Copy link
Contributor

IBM recently ran into an issue where a service got out of synch due to a certain bmc reboot scenario. The fsi-scan and cfam-reset services (both specific to IBM systems) have to be run in both the chassis power on target and the host start target. This is to handle IBM's cronus debug tool requirements.

During a normal power on, they run in the chassis power on target and then are not run in the host-start. But if you were to just power on the chassis, and then reboot the BMC, and then initiate a host power on, you run into a weird scenario where the cfam-reset is run, but not the fsi-scan. This is due to how we support bmc resets with the host running (only run fsi-scan, not cfam-reset).

Anyway, since this is a very IBM specific issue and only affect this one service, a quick fix was put into a downstream fork (ibm-openbmc/phosphor-state-manager#4) but that's not acceptable for upstream. Use this issue to track a real solution which I think is going to be a separate target that is started to indicate this scenario has occurred. That will allow service to have an appropriate Conflicts if needed.

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

No branches or pull requests

1 participant