Blame SOURCES/bz1245264-01-Added-more-detailed-warnings-for-pcs-stonith-confirm.patch

71541a
From fc89908d91a2438f59dd08cf79aedfb85512091b Mon Sep 17 00:00:00 2001
71541a
From: Chris Feist <cfeist@redhat.com>
71541a
Date: Fri, 18 Sep 2015 16:29:58 -0500
71541a
Subject: [PATCH] Added more detailed warnings for 'pcs stonith confirm'
71541a
71541a
---
71541a
 pcs/pcs.8    | 4 +++-
71541a
 pcs/usage.py | 5 ++++-
71541a
 2 files changed, 7 insertions(+), 2 deletions(-)
71541a
71541a
diff --git a/pcs/pcs.8 b/pcs/pcs.8
71541a
index 70f0f6c..e89c813 100644
71541a
--- a/pcs/pcs.8
71541a
+++ b/pcs/pcs.8
71541a
@@ -333,7 +333,9 @@ fence <node> [\fB\-\-off\fR]
71541a
 Fence the node specified (if \fB\-\-off\fR is specified, use the 'off' API call to stonith which will turn the node off instead of rebooting it)
71541a
 .TP
71541a
 confirm <node>
71541a
-Confirm that the host specified is currently down.  WARNING: if this node is not actually down data corruption/cluster failure can occur.
71541a
+Confirm that the host specified is currently down.  This command should \fBONLY\fR be used when the node specified has already been confirmed to be down.
71541a
+
71541a
+.B WARNING: if this node is not actually down data corruption/cluster failure can occur.
71541a
 .SS "acl"
71541a
 .TP
71541a
 [show]
71541a
diff --git a/pcs/usage.py b/pcs/usage.py
71541a
index c430965..63baa76 100644
71541a
--- a/pcs/usage.py
71541a
+++ b/pcs/usage.py
71541a
@@ -833,7 +833,10 @@ Commands:
71541a
         call to stonith which will turn the node off instead of rebooting it)
71541a
 
71541a
     confirm <node>
71541a
-        Confirm that the host specified is currently down.
71541a
+        Confirm that the host specified is currently down.  This command
71541a
+        should ONLY be used when the node specified has already been
71541a
+        confirmed to be down.
71541a
+
71541a
         WARNING: if this node is not actually down data corruption/cluster
71541a
         failure can occur.
71541a
 
71541a
-- 
71541a
1.9.1
71541a