NovaEvacuate: Allow debug logging to be turned on easily
Change-Id: I334c80ec0f9b2aa78b95decc6e9e7c4a01101248
This commit is contained in:
parent
3d724a29a9
commit
b2197fcc13
@ -117,6 +117,14 @@ will be lost.
|
|||||||
<content type="boolean" default="0" />
|
<content type="boolean" default="0" />
|
||||||
</parameter>
|
</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>
|
</parameters>
|
||||||
|
|
||||||
<actions>
|
<actions>
|
||||||
@ -319,6 +327,12 @@ evacuate_validate() {
|
|||||||
fi
|
fi
|
||||||
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
|
if [ -n "${OCF_RESKEY_endpoint_type}" ]; then
|
||||||
case ${OCF_RESKEY_endpoint_type} in
|
case ${OCF_RESKEY_endpoint_type} in
|
||||||
adminURL|publicURL|internalURL)
|
adminURL|publicURL|internalURL)
|
||||||
|
Loading…
Reference in New Issue
Block a user