Merge "NovaEvacuate: Allow debug logging to be turned on easily"
This commit is contained in:
commit
1102662aad
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user