| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| | |
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
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Collect tags from all authz backends
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
authorization backends.
|
| | | | |
| | | |
| | | |
| | | | |
the user record.
|
| |\ \ \ \
| | | | |
| | | | | |
Fixes log handlers breakage since 18.1
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is rather ugly. In the future once we have erlang.mk support we
should use a semver libary instead.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
closes the journal handle before erasing the queue index dir
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes #341
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
improves fetchwhile performance
|
| | | |/ / /
| |/| | |
| | | | |
| | | | | |
Fixes #316
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
forces GC after queue paging
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
See malingin list discussion linked in #290
Fixes #290
|
| |\ \ \ \
| | | | |
| | | | | |
Adds documentation for credit_flow usage
|
| | | | | | |
|
| | | | | | |
|