| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| | |
Systemd improvements
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
Before that it happened implicitly due to the death of the controlling
process. But it's better to make it explicit.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
Revert "Private attributes usage in rabbitmq script"
|
| |/
|
|
|
|
| |
This reverts commit 4aeaa79bc566c81bc7f5c20d7afbe39c32771aba.
Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1556123
|
| |\
| |
| | |
Verify that mandatory environment variables are (pre)set
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Disable erlang break handler in rabbitmqctl
|
| |/ /
| |
| |
| |
| | |
So rabbitmq operator will not be baffled by erlang break handler when he
tries to interrupt some long-running `rabbitmqctl` command by `Ctrl-C`.
|
| |\ \
| | |
| | | |
Create rabbitmq.config on windows installation
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
[OCF HA] Log process id in RabbitMQ OCF script
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| |_|_|/
|/| | | |
Avoid hipe compile versioned modules
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Move auth_backend and types modules to rabbitmq-common.
|
| |/ / / /
| | | |
| | | |
| | | | |
* Delete these modules from rabbitmq-server and add them to rabbitmq-common.
|
| |\ \ \ \
| | | | |
| | | | | |
Restart option for windows service.
|
| | | | | | |
|
| |\ \ \ \ \ |
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Bump rabbit.channel_operation_timeout default to 15s
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Fixes #667.
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
|
| | | | | | | |
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
also accept vhostpath.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
[OCF HA] On neighbor promotion do nothing if we are already clustered
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
+ 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.
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
Unescape list_permissions and list_user_permissions regexes
|
| |/ / / / |
|