summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix `rabbitmqctl list_consumers`Alexey Lebedeff2016-03-241-8/+19
| | | | | | | | As we are mapping over queues in search of their consumers, actual result for every queue could be zero or more consumers. We need to take that into account while printing. Closes #701
* Merge pull request #704 from rabbitmq/rabbitmq-server-703Michael Klishin2016-03-232-2/+2
|\ | | | | Increase IO async to 64 for windows
| * increase IO async to 64 for windows / serviceGabriele Santomaggio2016-03-231-1/+1
| |
| * increase IO async to 64 for windowsGabriele Santomaggio2016-03-231-1/+1
| |
* | Merge pull request #689 from bogdando/rabbit_ocf_ra_travisJean-Sébastien Pédron2016-03-232-2/+40
|\ \ | | | | | | Rabbit ocf ra travis
| * | Add Travis CI job to deploy and smoke test a rabbit OCFBogdan Dobrelya2016-03-152-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a CI job which triggers only if there are changes to the scripts/rabbitmq-server-ha.ocf * Add a script to setup a cluster by the pacemaker OCF RA and issue a simple smoke test for the cluster membership. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* | | Merge pull request #699 from binarin/rabbitmq-server-systemd-logrotateJean-Sébastien Pédron2016-03-231-1/+1
|\ \ \ | | | | | | | | Fix logrotate / systemd incompatibility
| * | | Fix logrotate / systemd incompatibilityAlexey Lebedeff2016-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | On systemd-enabled hosts `/sbin/service` just proxies commands to `systemctl`, which doesn't understand funny commands like `rotate-logs`. So `rabbitmqctl rotate_logs` is a better alternative.
* | | | Inline, don't reinvent rabbit_misc:get_env/3Michael Klishin2016-03-231-8/+1
| | | |
* | | | Make slaves wait timeout configurable instead of hardcoded 15000Peter Lemenkov2016-03-231-4/+13
| |_|/ |/| | | | | | | | | | | | | | This slightly improves rabbitmq/rabbitmq-server#584 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
* | | Update rabbitmq-components.mkMichael Klishin2016-03-231-0/+4
|/ /
* | rabbitmq-server: Remove trailing spacesJean-Sébastien Pédron2016-03-181-2/+1
| |
* | Do not warn about mising kernel polling on WindowsJean-Sébastien Pédron2016-03-181-5/+10
| | | | | | | | | | | | | | Erlang does not support kernel polling on Windows: there is no need to confuse users about this. Fixes #695.
* | Merge pull request #694 from rabbitmq/rabbitmq-server-693Brandon Shroyer2016-03-181-1/+4
|\ \ | | | | | | "rabbitmqctl stop" exits with 0 if it fails to contact the node
| * | "rabbitmqctl stop" exits with 0 if it fails to contact the nodeJean-Sébastien Pédron2016-03-181-1/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If rabbitmqctl fails to contact the node to ask it to stop, it still displays an error message. However, now it exits with 0; it was EX_UNAVAILABLE before. There are two main reasons it can happen: o The node is stopped, so that's ok to exit with 0 because the end result is the same. o The Erlang cookie is incorrect. The error message is here to help but this situation is quite rare compared to the other one. There is no way to distinguish both, so let's assume the common situation. This helps in the case of systemd in particular: if one stops RabbitMQ using "rabbitmqctl stop" instead of "service rabbitmq-server stop", systemd tries to call "rabbitmqctl stop" again. Before this change, it failed and put the service in a "failed" state. Fixes #693.
* | Merge pull request #666 from binarin/rabbitmq-server-664Jean-Sébastien Pédron2016-03-175-16/+158
|\ \ | |/ |/| Systemd improvements
| * Check 'systemctl' usability for activaction checkAlexey Lebedeff2016-03-161-1/+8
| |
| * Support abstract unix socket for systemd notifyAlexey Lebedeff2016-03-161-1/+6
| |
| * Explicitly close `socat` portAlexey Lebedeff2016-03-111-5/+10
| | | | | | | | | | Before that it happened implicitly due to the death of the controlling process. But it's better to make it explicit.
| * Add an explanation about why `socat(1)` is usedAlexey Lebedeff2016-03-111-0/+9
| |
| * Improve systemd integrationAlexey Lebedeff2016-03-115-16/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this patch will fix all systemd-related problems: - Proxy shell process (which converts signals to `rabbitmqtl stop`) will no longer be started under systemd. There is no need in it, as systemd unit already contains instructions for graceful shutdown. - Ready notification for systemd will be sent with the help of `socat`, as `systemd-notify` is currently broken for non-root users. `socat` is the most lightweight way to do it (other options are using NIF or some external helper in Perl). - epmd will not be able to interfere by sending it's own ready notifications. - systemd journal will contain some additional messages about startup and shutdown sequence, just to be sure that everything is working correctly. Fixes #664
* | Merge pull request #685 from bogdando/bug/1556123Michael Klishin2016-03-111-9/+9
|\ \ | |/ |/| Revert "Private attributes usage in rabbitmq script"
| * Revert "Private attributes usage in rabbitmq script"Bogdan Dobrelya2016-03-111-9/+9
|/ | | | | | This reverts commit 4aeaa79bc566c81bc7f5c20d7afbe39c32771aba. Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1556123
* Merge pull request #674 from rabbitmq/rabbitmq-server-553Gabriele Santomaggio2016-03-103-0/+66
|\ | | | | Verify that mandatory environment variables are (pre)set
| * removed check_start_params on stop_rabbitmq_serverGabriele Santomaggio2016-03-101-2/+1
| |
| * variable unquotingDaniil Fedotov2016-03-092-2/+2
| |
| * remove debug echoDaniil Fedotov2016-03-091-2/+0
| |
| * moved check_not_empty controls, removed double quotesGabriele Santomaggio2016-03-081-9/+11
| |
| * fixed messageGabriele Santomaggio2016-03-081-1/+1
| |
| * more error detailsGabriele Santomaggio2016-03-081-1/+1
| |
| * removed double quotes for the variablesGabriele Santomaggio2016-03-081-3/+3
| |
| * mention RABBITMQ_CONF_ENV_FILEDaniil Fedotov2016-03-043-9/+12
| |
| * Don't install rabbitmq service if empty envDaniil Fedotov2016-03-031-0/+20
| |
| * Check for env variables in windows scriptDaniil Fedotov2016-03-031-10/+17
| |
| * Check env variables before startDaniil Fedotov2016-03-032-0/+37
| |
* | Merge pull request #680 from binarin/rabbitmq-server-ctl-no-break-handlerrabbitmq_v3_6_2_milestone1Daniil Fedotov2016-03-091-1/+1
|\ \ | | | | | | Disable erlang break handler in rabbitmqctl
| * | Disable erlang break handler in rabbitmqctlAlexey Lebedeff2016-03-091-1/+1
|/ / | | | | | | | | So rabbitmq operator will not be baffled by erlang break handler when he tries to interrupt some long-running `rabbitmqctl` command by `Ctrl-C`.
* | Merge pull request #660 from rabbitmq/rabbitmq-server-659Gabriele Santomaggio2016-03-071-0/+6
|\ \ | | | | | | Create rabbitmq.config on windows installation
| * | fixed a small syntax errorGabriele Santomaggio2016-03-071-1/+1
| | |
| * | Move default config creation to rabbitmq-service.batDaniil Fedotov2016-03-042-9/+6
| | |
| * | Create rabbitmq.config on installationDaniil Fedotov2016-02-291-0/+9
| | |
* | | Merge pull request #653 from dmitrymex/log-pidMichael Klishin2016-03-071-4/+5
|\ \ \ | | | | | | | | [OCF HA] Log process id in RabbitMQ OCF script
| * | | [OCF HA] Log process id in RabbitMQ OCF scriptDmitry Mescheryakov2016-02-251-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several OCF calls might run simultaneously. For example, it often happens that two monitor calls intersect. Logging current process id for each line helps distinguish logs of different calls. Also aligned get_status() logging with format used in all other parts of the script.
* | | | Merge pull request #572 from rabbitmq/rabbitmq-server-346Michael Klishin2016-03-041-1/+6
|\ \ \ \ | |_|_|/ |/| | | Avoid hipe compile versioned modules
| * | | Merge branch 'stable' into rabbitmq-server-346Michael Klishin2016-03-0415-749/+212
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #673 from rabbitmq/rabbitmq-server-671Michael Klishin2016-03-033-616/+0
|\ \ \ \ | | | | | | | | | | Move auth_backend and types modules to rabbitmq-common.
| * | | | Move auth_backend and types modules to rabbitmq-common.Brandon Shroyer2016-03-023-616/+0
|/ / / / | | | | | | | | | | | | * Delete these modules from rabbitmq-server and add them to rabbitmq-common.
* | | | Merge pull request #648 from rabbitmq/rabbitmq-server-645Michael Klishin2016-03-021-0/+5
|\ \ \ \ | | | | | | | | | | Restart option for windows service.
| * | | | onfail parameter to erlsrvDaniil Fedotov2016-02-241-0/+5
| | | | |
* | | | | Merge branch 'rabbitmq-server-398' into stableMichael Klishin2016-03-025-13/+35
|\ \ \ \ \