Displaying 3 results from an estimated 3 matches for "ocf_err_generic".
2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
...to get domain"*)
: ;; # unexpected path to the intended outcome, all is well sucess
[!0]*)
ocf_exit_reason "forced stop failed" # <============ fail of destroy seems to be possible
return $OCF_ERR_GENERIC ;;
0*)
while [ $status != $OCF_NOT_RUNNING ]; do
VirtualDomain_status
status=$?
done ;;
esac
return $OCF_SUCCESS
}
The function force_stop is respons...
2014 Nov 15
1
Understanding why Dovecot unexpectedly died
...-ne 0 ]; then
exit $OCF_SUCCESS
else
echo "DOVECOT STOPPED - NO LISTEN [`/bin/netstat -tupan | /bin/grep dovecot`]" | /usr/bin/logger -p local0.info -t DOVECOT-MONITOR -i
exit $OCF_ERR_GENERIC
fi
fi
fi
exit $OCF_SUCCESS
;;
The "loggers" was added now to try to understand why it dies...
Well, I can see in my syslog, when Pacemaker restarts Dovecot, these lines:
ov 15 18:59:0...
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
...: ;; # unexpected path to the intended outcome,
> all is well sucess
> [!0]*)
> ocf_exit_reason "forced stop failed" #
> <============ fail of destroy seems to be possible
> return $OCF_ERR_GENERIC ;;
> 0*)
> while [ $status != $OCF_NOT_RUNNING ]; do
> VirtualDomain_status
> status=$?
> done ;;
> esac
> return $OCF_SUCCESS
> }...