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 option to disable automatic reboots of host #942

Closed
geissonator opened this issue Jan 9, 2017 · 5 comments
Closed

Provide option to disable automatic reboots of host #942

geissonator opened this issue Jan 9, 2017 · 5 comments
Assignees

Comments

@geissonator
Copy link
Contributor

MFG and lab require the ability to disable the automated reboot that happens on a checkstop detection. This feature will enable that function. Need to define a property (host?) that can be set/cleared for this function.

@geissonator geissonator added this to the openBMC v2.0 Backlog milestone Jan 9, 2017
@sivassrr
Copy link

@geissonator This will be only applicable to MFG and lab setup, right. Customer would not see this. Because Andrea was working/worked on reboot the host on detecting checkstop.

@geissonator
Copy link
Contributor Author

Per a technical discussion today, we're just going to make one generic setting that people can set which will disable any type of automatic reboot. Re-titling and closing out #943

@geissonator geissonator changed the title Disable automatic reboot on host checkstop detection Provide option to disable automatic reboots of host Jan 20, 2017
@tritzsm
Copy link
Member

tritzsm commented Jan 26, 2017

  • Add new "Enable/disable automatic reboot" element to settingsd
  • Need new "quiesce" target file from Andrew
  • Modify host watchdog and host checkstop code to use the new target file
  • Modify the host state code to monitor for the new quiesce target being entered

@spinler
Copy link
Contributor

spinler commented Feb 23, 2017

So how do I disable automatic reboots?

@tritzsm
Copy link
Member

tritzsm commented Feb 23, 2017

Set the auto_reboot settingsd parameter to "no" - as in
busctl call org.openbmc.settings.Host /org/openbmc/settings/host0 org.freedesktop.DBus.Properties Set sss org.openbmc.settings.Host auto_reboot no

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

5 participants