Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker.3577
bug-977201_pacemaker-stonith_admin-history-all-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-977201_pacemaker-stonith_admin-history-all-nodes.patch of Package pacemaker.3577
commit 09e11d15db1b7136cbd18b5dcefa903dd06beacf Author: Ken Gaillot <kgaillot@redhat.com> Date: Tue May 31 10:21:02 2016 -0500 Feature: stonith_admin: allow -H '*' to show history for all nodes Index: pacemaker/fencing/admin.c =================================================================== --- pacemaker.orig/fencing/admin.c +++ pacemaker/fencing/admin.c @@ -61,7 +61,7 @@ static struct crm_option long_options[] {"unfence", 1, 0, 'U', "Unfence the named host"}, {"reboot", 1, 0, 'B', "Reboot the named host"}, {"confirm", 1, 0, 'C', "Confirm the named host is now safely down"}, - {"history", 1, 0, 'H', "Retrieve last fencing operation"}, + {"history", 1, 0, 'H', "Retrieve last fencing operation for specified node (or '*' for all)"}, {"last", 1, 0, 'h', "Indicate when the named node was last fenced. Optional: --as-node-id"}, {"-spacer-", 0, 0, '-', ""}, @@ -473,7 +473,9 @@ main(int argc, char **argv) { stonith_history_t *history, *hp, *latest = NULL; - rc = st->cmds->history(st, st_opts, target, &history, timeout); + rc = st->cmds->history(st, st_opts, + (safe_str_eq(target, "*")? NULL : target), + &history, timeout); for (hp = history; hp; hp = hp->next) { char *action_s = NULL; time_t complete = hp->completed;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor