| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Spec states that demonitor/2 should always return #state{}, but it
wasn't the case when pid wasn't found in #state.dict. This made API
unsafe to use, as it could lead to some other process storing incorrect
data as a pmon state.
|
| |\
| |
| | |
Add host_ip field
|
| |/
|
|
|
|
|
|
| |
Working with RMQ definitions via management plugin
requires knowing the IP address where it listens.
host_ip parameter will default to 127.0.0.1, but is
configurable.
|
| |\
| |
| | |
Adds authentication command to rabbitmqctl.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
"auth" is an overloaded term that some use to say
"authentication" and some to say "authorization". We distinguish
between authn and authz in RabbitMQ for that reason.
So lets be more specific in user-facing bits.
|
| | |
| |
| |
| | |
References #119
|
| | |
| |
| |
| | |
References #119
|
| | |
| |
| |
| |
| |
| | |
Adds handling of results of {ok, Result} format.
References #119
|
| | |
| |
| |
| | |
References #119
|
| |/
|
|
| |
References #119
|
| | |
|
| |\
| |
| | |
Disable disk monitor in unsupported platforms
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
The service script was forgotten when fixing the bug in rabbitmq-env.bat
and rabbitmq-server.bat.
References #375.
|
| |\ \
| | |
| | | |
Fix spelling of function name
|
| |/ / |
|
| |\ \
| |/
|/| |
Check port using ipv6
|
| |/ |
|
| |\
| |
| | |
Recognize help as a valid sub-command for rabbitmqctl and rabbitmq-plugins
|
| |/
|
|
|
|
|
| |
Some people believe that rabbitmqctl and rabbitmq-plugins should provide
a valid help subcommand (instead of throwing an error). So here it is.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
| |\
| |
| | |
Accept absolute values in memory high watermark
|
| |/ |
|
| |
|
|
|
|
| |
In addition to owner_pid, which makes little sense to beginners.
References #371
|
| |\
| |
| | |
Fix issue 375
|
| |/ |
|
| |\
| |
| | |
More OCF HA fixes ported from OpenStack Fuel
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix return code of the get_all_pacemaker_nodes() and
get_alive_pacemaker_nodes_but() to be
not provided as ignored anyway.
* Fix return code expectation of the fetched count attribute
in the check_timeouts().
(Fuel related bug)
Closes-bug: #1506440
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |/
|
|
|
|
|
|
|
| |
And fix local bashisms as a little bonus
(Fuel related bug)
Related-bug: #1464637
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |
|
|
|
| |
The -ifdef(use_specs) part was correct, but the -else part was incorrect
compared to it.
|
| |\
| |
| | |
Sync lost change from Fuel HA rabbitmq OCF fixes
|
| | |
| |
| |
| |
| |
| |
| | |
Fix missed change for the return value from the fix:
5097d94 - Bogdan Dobrelya, 3 months ago : Fix error return codes for rabbit OCF
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |\ \
| |/
| | |
Port Fuel fixes for the HA rabbitmq OCF
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sync OCF script changes and fixes from Fuel,
version 8.0dev/9ca5b6709cd18c8134cd8feaccf937ef49a625b4
Changelog brief:
9ca5b67 - Matthew Mosesohn, 8 days ago : Wait for rabbitmq sync before stop/demote actions
00a6a01 - Davanum Srinivas, 4 days ago : Avoid division operation in shell
c1900b4 - Dmitry Mescheryakov, 4 weeks ago : Start RabbitMQ app on notify
00f28b5 - Vladimir Kuklin, 4 weeks ago : Return NOT_RUNNING when beam is not RUNNING
2707a5e - Dmitry Mescheryakov, 7 weeks ago : Make RabbitMQ OCF script tolerate rabbitmqctl timeouts
403b28c - Bogdan Dobrelya, 6 weeks ago : Detect a last man standing for rabbit OCF agent
60d5743 - Victor Sergeyev, 7 weeks ago : Add more logs to rabbitmq get_status function
11c4e4c - Alex Schultz, 9 weeks ago : Fix rabbitmq data restore for large datasets
8ccdfc6 - Stanislav Makar, 6 months ago : Implement the dumping of rabbitMQ definitions
5097d94 - Bogdan Dobrelya, 3 months ago : Fix error return codes for rabbit OCF
b5ae83a - Bogdan Dobrelya, 3 months ago : Fix chowning for rabbit OCF
bf604f8 - Bogdan Dobrelya, 4 months ago : Restart rabbit if can't list queues or found memory alert
Co-authored-by: Matthew Mosesohn <mmosesohn@mirantis.com>
Co-authored-by: Davanum Srinivas <dsrinivas@mirantis.com>
Co-authored-by: Vladimir Kuklin <vkuklin@mirantis.com>
Co-authored-by: Dmitry Mescheryakov <dmescheryakov@mirantis.com>
Co-authored-by: Victor Sergeyev <vsergeyev@mirantis.com>
Co-authored-by: Alex Schultz <aschultz@mirantis.com>
Co-authored-by: Makar Stanislav <smakar@mirantis.com>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |\ \
| | |
| | | |
Move rabbit_mirror_queue_misc:all_nodes/0 to rabbit_nodes:all_running/0
|
| |/ / |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This line
https://github.com/rabbitmq/rabbitmq-server/blob/master/src/rabbit_priority_queue.erl#L78
sets the rabbit_priority_queue as the default rabbit_backing_queue
which had the side effect of disabling the tests for the
rabbit_variable_queue
|
| |\ \
| |/
| | |
Ra ocf ha
|
| | |
| |
| |
| | |
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Do not use kill -9, use kill -TERM
* If pidfile is empty try to kill by matching beam process
* Fix mnesia files removal to be more name-safe
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Add use_fqdn to control a rabbit node and a node naming
rules. Defaults False (use shortnames)
* Fix default pidfile path
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove bashisms and switch to the /bin/sh shebang
* Partial apply changes for the fixed Fuel bug
https://bugs.launchpad.net/fuel/+bug/1463433
- Treat resource failed when list_channels hangs
and killed by timeout.
- Ignore memory alerts, if any were set, as this maybe
out of the generic OCF control scope and is a Fuel
specific change.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add OCF script for Pacemaker resource agent
for dynamic membership control of the nodes
in RabbitMQ active-active mirrored cluster.
source https://github.com/stackforge/fuel-library
v6.1-dev b9b6376cab317906af625faa5e48521aaeb0201b
Co-Author: Vladimir Kuklin <vkuklin@mirantis.com>
Co-Author: Sergey Vasilenko <svasilenko@mirantis.com>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |\ \
| | |
| | | |
Allow ERLANG_HOME to be overridden from rabbitmq-env.bat
|
| | | |
| | |
| | | |
Moving the rabbitmq-ev.bat call above the ERLANG_HOME check. This grants the ability to override ERLANG_HOME within rabbitmq-env-conf.bat.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
* to not use "AMQP" as there are 2 versions in use today
* to be a bit more humble in the description
* to have up-to-date (and future-proof) contacts
|
| | | | |
|
| | | | |
|