-
Notifications
You must be signed in to change notification settings - Fork 338
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
Minor stonith fixes and refactoring #742
Commits on Jun 25, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 35a8bfc - Browse repository at this point
Copy the full SHA 35a8bfcView commit details -
Fix: fencing: do not set call options twice in query
stonith_create_op() already adds the call options attribute to the operation XML, and then initiate_remote_stonith_op() was explicitly adding the attribute again. Now it passes the correct value to stonith_create_op() so it is added once.
Configuration menu - View commit details
-
Copy full SHA for cfa1446 - Browse repository at this point
Copy the full SHA cfa1446View commit details -
Refactor: fencing: functionize testing whether localhost is eligible …
…to fence This has no effect now but will be needed when reboot is remapped to off+on, and eligibility will need to be checked separately for off and on.
Configuration menu - View commit details
-
Copy full SHA for 8da2144 - Browse repository at this point
Copy the full SHA 8da2144View commit details -
Refactor: fencing: functionize adding action-specific device properti…
…es to XML This has no effect now but will be needed when reboot is remapped to off+on, and properties will need to be added separately for off and on.
Configuration menu - View commit details
-
Copy full SHA for b8e120d - Browse repository at this point
Copy the full SHA b8e120dView commit details -
Refactor: fencing: functionize parsing action-specific device propert…
…ies from XML This has no effect now but will be needed when reboot is remapped to off+on, and properties will need to be parsed separately for off and on.
Configuration menu - View commit details
-
Copy full SHA for 2699f36 - Browse repository at this point
Copy the full SHA 2699f36View commit details -
Refactor: fencing: isolate access to peers' device lists
This has no effect now but will be helpful when reboot is remapped to off+on, and device lists will need to take into account whether the device can execute off, on or both.
Configuration menu - View commit details
-
Copy full SHA for 07e8dec - Browse repository at this point
Copy the full SHA 07e8decView commit details -
Refactor: fencing: make structure member name for device count clearer
This renames the "devices" member to "ndevices" in st_query_result_t. It's a little easier to read since "devices" is often used in other contexts as a list or such, but the main reason is because it allows the current "device_list" member be renamed to "devices" if its implementation changes as planned for remapping reboot to off+on.
Configuration menu - View commit details
-
Copy full SHA for e0b0da3 - Browse repository at this point
Copy the full SHA e0b0da3View commit details -
Fix: fencing: use "off" timeout when remapping "reboot" to "off"
If a fence agent does not advertise support for reboots, the executing stonithd will remap the reboot to off at execution time. Previously, that meant the action-specific timeout for reboot had already been applied. Now, the remapping is checked when determining the timeout, as well as when executing.
Configuration menu - View commit details
-
Copy full SHA for 2a82a0a - Browse repository at this point
Copy the full SHA 2a82a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e93fb - Browse repository at this point
Copy the full SHA 30e93fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5966ddb - Browse repository at this point
Copy the full SHA 5966ddbView commit details