From b2197fcc138be919968bf833ec5b11347dd9758d Mon Sep 17 00:00:00 2001 From: Andrew Beekhof Date: Thu, 17 Mar 2016 14:06:44 +1100 Subject: [PATCH] NovaEvacuate: Allow debug logging to be turned on easily Change-Id: I334c80ec0f9b2aa78b95decc6e9e7c4a01101248 --- ocf/NovaEvacuate | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ocf/NovaEvacuate b/ocf/NovaEvacuate index 90b059d..87bbb8c 100644 --- a/ocf/NovaEvacuate +++ b/ocf/NovaEvacuate @@ -117,6 +117,14 @@ will be lost. + + +Enable extra logging from the evacuation process + +Enable debug logging + + + @@ -319,6 +327,12 @@ evacuate_validate() { fi fi + if [ -n "${OCF_RESKEY_verbose}" ]; then + if ocf_is_true "${OCF_RESKEY_verbose}"; then + fence_options="${fence_options} --verbose" + fi + fi + if [ -n "${OCF_RESKEY_endpoint_type}" ]; then case ${OCF_RESKEY_endpoint_type} in adminURL|publicURL|internalURL)