Mate Lakat
b43f6aa7db
Log rabbitmqctl's output on failure
...
It would be helpful to see rabbit's output when it exits with non-zero
status code. The log level is left at info, as it might be business as
usual that a node is not running rabbit. The -q switch prevents the
output from being logged if the return value is zero.
2017-05-03 11:46:26 +02:00
Michael Klishin
a81cc7f91b
Merge branch 'stable'
...
Conflicts:
scripts/rabbitmq-server.ocf
2017-04-05 17:56:25 +03:00
Michael Klishin
054c72d6dd
Manually backport #20 , #21 , #24 , #25 by @vuntz and @aplanas to stable
2017-04-05 17:54:43 +03:00
Alberto Planas
d2d5d5e893
OCF RA: Add new limit_nofile parameter to rabbitmq-server OCF RA
...
This enables to change the limit of open files, as the default on
distributions is usually too low for rabbitmq. Default is 65535.
2017-04-05 17:50:23 +03:00
Michael Klishin
0da346eb88
Merge pull request #21 from vuntz/ocf-limit_nofile
...
OCF RA: Add new limit_nofile parameter to both OCF resource agents
2017-04-05 17:49:34 +03:00
Vincent Untz
73080ac783
OCF RA: Only set limit for open files when higher than current value
...
This allows to set the limit via some other way.
2017-04-04 15:13:52 +02:00
Vincent Untz
49f4c4b566
OCF RA: accept 1 as valid exit code from "rabbitmqctl status"
...
It may return 1 if the server is not completely running yet, and we
don't want pacemaker to treat that as a complete unexpected error.
2017-03-31 14:28:09 +03:00
Vincent Untz
35bba6f8ad
OCF RA: Use rabbitmqctl_action wrapper for stop action
...
We want to use the wrapper function to call rabbitmqctl for stop, so
that we interpret correctly the exit code.
2017-03-31 14:28:01 +03:00
Vincent Untz
3b9dcfc665
OCF RA: accept 1 as valid exit code from "rabbitmqctl status"
...
It may return 1 if the server is not completely running yet, and we
don't want pacemaker to treat that as a complete unexpected error.
2017-03-31 12:55:06 +02:00
Vincent Untz
6d9a00d544
OCF RA: Use rabbitmqctl_action wrapper for stop action
...
We want to use the wrapper function to call rabbitmqctl for stop, so
that we interpret correctly the exit code.
2017-03-31 12:55:05 +02:00
Alberto Planas
0a93dca147
OCF RA: Add new limit_nofile parameter to rabbitmq-server OCF RA
...
This enables to change the limit of open files, as the default on
distributions is usually too low for rabbitmq. Default is 65535.
2017-03-30 16:08:48 +02:00
Jean-Sébastien Pédron
e97ca28ac7
scripts: Take package-specific files from rabbitmq-server
...
[#130659985 ]
2016-09-21 16:25:24 +02:00