summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* "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
|\ \ \ \ \
| * \ \ \ \ Merge branch 'stable' into rabbitmq-server-398Michael Klishin2016-03-029-135/+194
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #669 from rabbitmq/rabbitmq-server-667Michael Klishin2016-03-021-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Bump rabbit.channel_operation_timeout default to 15s
| * | | | | | Bump rabbit.channel_operation_timeout default to 15sMichael Klishin2016-03-021-1/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | Fixes #667.
* | | | | | Commit 3.6.1-1 change lograbbitmq_v3_6_1Michael Klishin2016-03-012-0/+9
| | | | | |
* | | | | | Ignore debug/* and PACKAGES/*Michael Klishin2016-03-011-0/+3
| | | | | |
* | | | | | Merge branch 'deadtrickster-rabbitmqctl-man-fix' into stableMichael Klishin2016-03-011-23/+23
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | vhostpath => vhost in rabbitmqctl.1Michael Klishin2016-03-011-23/+23
| | | | | |
| * | | | | Document rabbitmqctl commands sync_queue, cancel_sync_queue, purge_queue ↵Ilya Khaprov2016-02-291-3/+3
|/ / / / / | | | | | | | | | | | | | | | also accept vhostpath.
* | | | | Run xmlto in more verbose modeMichael Klishin2016-02-291-1/+1
| | | | |
* | | | | Merge pull request #657 from dmitrymex/seamless-promotionMichael Klishin2016-02-291-55/+77
|\ \ \ \ \ | | | | | | | | | | | | [OCF HA] On neighbor promotion do nothing if we are already clustered
| * | | | | [OCF HA] On neighbor promotion do nothing if we are already clusteredDmitry Mescheryakov2016-02-291-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + extracted function checking if we are in the same cluster with given node + made post-promote ignore promotion of self. Previously it was done inside jjj_join, but now we need to do that before the new check. + now we write "post-promote end" log entry at the very end of post-promote, not somewhere in the middle.
| * | | | | [OCF HA] Do not check cluster health if master is not electedDmitry Mescheryakov2016-02-261-41/+47
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing otherwise causes node to restart when get_monitor is called within action_promote - it does not find a master and assumes that it is running out of cluster. Also, code is refactored a little bit - a new function returning current master is created and is used in the changed code.
* | | | | Merge pull request #655 from rabbitmq/rabbitmq-server-596Michael Klishin2016-02-271-40/+57
|\ \ \ \ \ | |/ / / / |/| | | | Unescape list_permissions and list_user_permissions regexes
| * | | | Unescape list_permission and list_user_permission regexesDiana Corbacho2016-02-261-40/+57
|/ / / /