summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'stable'Michael Klishin2016-01-061-0/+2
|\
| * Didn't mean to delete this behaviourMichael Klishin2016-01-061-0/+2
| |
* | Merge branch 'stable'Michael Klishin2016-01-062-1/+19
|\ \ | |/
| * DocsMichael Klishin2016-01-061-0/+16
| |
| * DocsMichael Klishin2016-01-061-1/+3
| |
* | Merge branch 'stable'Michael Klishin2016-01-051-0/+31
|\ \ | |/
| * Essay doco for rabbit_runtime_parametersMichael Klishin2016-01-051-0/+31
| |
* | Merge branch 'stable'Michael Klishin2016-01-051-1/+3
|\ \ | |/
| * Merge pull request #529 from rabbitmq/rabbitmq-server-521Michael Klishin2016-01-051-1/+3
| |\ | | | | | | Adds handling for bindings not of type 'queue'
| | * Adds get_queue_master_per_binding/3 handle all clause, to handleAyanda Dube2016-01-051-1/+3
| |/ | | | | | | | | | | exchange type bindings, for example. References #521
* | Merge branch 'stable'Michael Klishin2016-01-0195-95/+95
|\ \ | |/
| * Update (c) infoMichael Klishin2016-01-0195-95/+95
| |
* | Merge branch 'stable'Michael Klishin2015-12-311-20/+39
|\ \ | |/
| * Merge pull request #525 from bogdando/bug/1530150Michael Klishin2015-12-311-20/+39
| |\ | | | | | | Ensure rabbit node uptime is reset in the CIB for OCF resource
| | * Ensure rabbit node uptime is reset in the CIB for OCF resourceBogdan Dobrelya2015-12-311-20/+39
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ocf_run wrappers and info log messages for CIB attribute events * Move "fast" CIB attribute updates before "heavy" operations like start/stop/wait to ensure CIB consistent even if the timeouts exceeded for the ops * Delete master and start time attributes from CIB on action_start to ensure the correct rabbit nodes uptime evaluation for new master elections for corresponding pacemaker resources * For post-demote notify and action_demote() delete the master attribute from CIB as well. * For post-start notify, update the start time in the CIB even when the node is already clustered. Otherwise it would remain running in cluster w/o the start time registered, which affects the new master elections badly. * fix wrong log message when joining by a node Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1530150 https://bugs.launchpad.net/fuel/+bug/1530296 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* | More details on rabbit.password_hashing_moduleMichael Klishin2015-12-301-0/+6
| |
* | Merge branch 'stable'Michael Klishin2015-12-301-50/+195
|\ \ | |/
| * Merge pull request #523 from bogdando/bug/1529897Michael Klishin2015-12-301-50/+195
| |\ | | | | | | Fix stop conditions for the rabbit OCF resource
| | * Fix stop conditions for the rabbit OCF resourceBogdan Dobrelya2015-12-301-50/+195
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix the get_status() unexpectedly reports generic error instead of "not running" * Add proc_stop and proc_kill functions (TODO these shall go as external common ocf heplers, eventually) * Rework stop_server_process() - make it to return SUCCESS/ERROR as expected - grant the "rabbitmqctl stop" a graceful termintation window and only then ensure the beam process termination and pidfile removal as well - return the actual status with get_status() * Rework kill_rmq_and_remove_pid() - use proc_stop to try to kill by pgrp with -TERM, then -KILL, or by the beam process name match, if there is no PID. - make it to returns SUCCESS/ERROR * Fix action_stop() - fail early by the stop_server_process() results without additional rabbitmqctl invocations in the get_status() call - rework hard-coded sleep 10 to use the gracefull stop windows in the stop_server_process() instead - ensure the rabbit-start-time removal from CIB before to try to stop the server process - issue the "stop: action end" log record before the actual end * Add comments and make logs to be more informational Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1529897 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com> Co-authored-by: Alex Schultz <aschultz@mirantis.com>
* | Merge branch 'stable'Michael Klishin2015-12-300-0/+0
|\ \ | |/
| * WordingMichael Klishin2015-12-301-2/+2
| |
| * indent with emacsDaniil Fedotov2015-12-301-22/+28
| |
| * Hint to stop_app if mnesia is running but should notDaniil Fedotov2015-12-301-20/+27
| |
| * Proper error reportDaniil Fedotov2015-12-301-6/+10
| |
| * Hint to stop_app when running rabbitmqctl resetDaniil Fedotov2015-12-301-2/+14
| |
* | Merge pull request #510 from rabbitmq/rabbitmq-server-167Michael Klishin2015-12-301-11/+40
|\ \ | | | | | | Improve error message of rabbitmqctl reset when the node is running
| * | WordingMichael Klishin2015-12-301-2/+2
| | |
| * | Merge branch 'master' into rabbitmq-server-167Daniil Fedotov2015-12-244-29/+43
| |\ \
| * | | indent with emacsDaniil Fedotov2015-12-241-22/+28
| | | |
| * | | Hint to stop_app if mnesia is running but should notDaniil Fedotov2015-12-221-20/+27
| | | |
| * | | Proper error reportDaniil Fedotov2015-12-221-6/+10
| | | |
| * | | Hint to stop_app when running rabbitmqctl resetDaniil Fedotov2015-12-221-2/+14
| | | |
* | | | Merge branch 'stable'Michael Klishin2015-12-301-1/+5
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge pull request #516 from rabbitmq/rabbitmq-server-328Michael Klishin2015-12-301-1/+5
| |\ \ \ | | | | | | | | | | Adds exception handling to rabbit_vm:bytes/1
| | * | | Changes rabbit_vm:bytes/1 to return 0 on exceptionAyanda Dube2015-12-241-1/+1
| | | | | | | | | | | | | | | | | | | | References #328
| | * | | Adds try-catch block and returns error on exceptionAyanda Dube2015-12-241-1/+5
| | |/ / | | | | | | | | | | | | Fixes #328
* | | | Merge branch 'stable'Michael Klishin2015-12-280-0/+0
|\ \ \ \ | |/ / /
| * | | .gitignore: make absolute paths relativePierre Fenoll2015-12-281-27/+27
| | | |
* | | | Merge pull request #518 from fenollp/patch-1Michael Klishin2015-12-281-27/+27
|\ \ \ \ | |_|_|/ |/| | | .gitignore: make absolute paths relative
| * | | .gitignore: make absolute paths relativePierre Fenoll2015-12-281-27/+27
|/ / /
* | | Merge branch 'stable'Michael Klishin2015-12-242-23/+33
|\ \ \ | |/ /
| * | Merge branch 'stable' into rabbitmq-server-485Michael Klishin2015-12-24182-22432/+12290
| |\ \
| * | | Moves Erlang and OTP functions from rabbit_mnesiaAyanda Dube2015-12-222-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | to rabbit_version. References #485
* | | | Merge branch 'stable'Michael Klishin2015-12-241-3/+1
|\ \ \ \ | | |/ / | |/| |
| * | | purge may crash in lazy queue(3.6.0)shawnsli2015-12-231-3/+9
| | | |
| * | | Sync RPM package description with DebianMichael Klishin2015-12-231-3/+1
| | |/ | |/|
* | | Merge pull request #513 from javaforfun/lazy_purgeAlvaro Videla2015-12-231-3/+9
|\ \ \ | |/ / |/| | purge may crash in lazy queue(3.6.0)
| * | purge may crash in lazy queue(3.6.0)shawnsli2015-12-231-3/+9
|/ /
* | packaging: Always use xzcat(1) to decompress xz archiverabbitmq_v3_6_0Jean-Sébastien Pédron2015-12-223-3/+3
| | | | | | | | | | Do not rely on tar's behaviour. It was already done everywhere except in those three places.
* | packaging: tar `-n` is not portable, use --no-recursion insteadJean-Sébastien Pédron2015-12-222-2/+4
| |