NovaEvacuate: Allow debug logging to be turned on easily

Change-Id: I334c80ec0f9b2aa78b95decc6e9e7c4a01101248
This commit is contained in:
Andrew Beekhof 2016-03-17 14:06:44 +11:00
parent 3d724a29a9
commit b2197fcc13
1 changed files with 14 additions and 0 deletions

View File

@ -117,6 +117,14 @@ will be lost.
<content type="boolean" default="0" />
</parameter>
<parameter name="verbose" unique="0" required="0">
<longdesc lang="en">
Enable extra logging from the evacuation process
</longdesc>
<shortdesc lang="en">Enable debug logging</shortdesc>
<content type="boolean" default="0" />
</parameter>
</parameters>
<actions>
@ -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)