summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Merge pull request #650 from dmitrymex/increase-timeoutMichael Klishin2016-02-251-1/+1
|\ | | | | [OCF HA] Increase tolerable number of rabbitmqctl timeouts
| * [OCF HA] Increase tolerable number of rabbitmqctl timeoutsDmitry Mescheryakov2016-02-251-1/+1
|/ | | | | | | | | We still see that rabbitmqctl list_channels times out from time to time, though the RabbitMQ cluster is absolutely healthy in any other aspect. Setting max_rabbitmqctl_timeouts to 3 seems to be a sane default to help avoid unnecessary restarts.
* Merge pull request #636 from rabbitmq/rabbitmq-server-634Gabriele Santomaggio2016-02-191-0/+2
|\ | | | | Windows installer: don't jump to the finish page on install/uninstall
| * Do not jump to finish in windows uninstallDaniil Fedotov2016-02-181-0/+1
| |
| * Do not jump to finish in windows installDaniil Fedotov2016-02-181-0/+1
| |
* | Merge pull request #639 from lefremova/stableMichael Klishin2016-02-191-9/+9
|\ \ | | | | | | Private attributes usage in rabbitmq script
| * | Private attributes usage in rabbitmq scriptLiubov Efremova2016-02-191-9/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are three types of rabbitmq attributes for pacemaker nodes: -'rabbit-master' -'rabbit-start-time' - timeouts: -'rabbit_list_channels_timeouts' -'rabbit_get_alarms_timeouts' -'rabbit_list_queues_timeouts' Attributes with names 'rabbit-master' and 'rabbit-start-time' should be public because we monitor this attributes in cycle for all nodes in our script. All timeouts attributes were changed to private to avoid unnecessary transitions. Also, --lifetime and --node options were removed for attrd_updater as 'lifetime' for this command is always 'reboot' and 'node' default value is local one.
* | Merge pull request #630 from dmitrymex/stableMichael Klishin2016-02-191-0/+2
|\ \ | | | | | | Exit waiting loop once node has unjoined
| * | Exit waiting loop once node has unjoinedDmitry Mescheryakov2016-02-161-0/+2
| | | | | | | | | | | | | | | Without the break we always wait for 50 seconds, even if we don't need to wait at all.
* | | Merge pull request #635 from rabbitmq/rabbitmq-server-248rabbitmq_v3_6_1_rc2Michael Klishin2016-02-181-1/+3
|\ \ \ | | | | | | | | Introduce rabbit.channel_operation_timeout
| * \ \ Merge branch 'stable' into rabbitmq-server-248Michael Klishin2016-02-187-54/+115
| |\ \ \ | | | |/ | | |/|
| * | | Bump rabbit.channel_operation_timeout to 5sMichael Klishin2016-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Per discussion with Ayanda. Lower values are known to produce false positives in a variety of contexts.
| * | | Sets initial channel_operation_timeout to 3s.Ayanda Dube2016-02-171-1/+1
| | | | | | | | | | | | | | | | To update to a higher value in future, for cross-node calls.
| * | | Adds channel_operation_timeout envionment variable.Ayanda Dube2016-02-171-1/+3
| | | | | | | | | | | | | | | | References: #248
* | | | Makefile: Fix Makefile indentationJean-Sébastien Pédron2016-02-181-5/+5
| | | | | | | | | | | | | | | | Spaces were mixed with tabs, though make(1) expects the latter.
* | | | make manpages: Fix xmlto(1) failures handlingJean-Sébastien Pédron2016-02-181-1/+2
| |/ / |/| | | | | | | | | | | Before, a failure from xmlto(1) was ignored and the build continued "happily".
* | | Merge pull request #631 from rabbitmq/rabbitmq-server-625Michael Klishin2016-02-171-0/+2
|\ \ \ | |_|/ |/| | Added erl call to make sure epmd is started
| * | IndentationMichael Klishin2016-02-171-2/+2
| | |
| * | added erl with -sname to make sure epmd is startedgabriele santomaggio2016-02-171-0/+2
|/ /
* | Use basic regular expressions for sed portabilityChris Bandy2016-02-152-12/+3
| |
* | Merge pull request #617 from rabbitmq/rabbitmq-server-616Michael Klishin2016-02-111-3/+56
|\ \ | | | | | | rabbit_mirror_queue_sync: Pause the syncer process if memory is low
| * | rabbit_mirror_queue_sync: Pause the syncer process if memory is lowJean-Sébastien Pédron2016-02-101-3/+56
|/ / | | | | | | | | | | | | If any node in the cluster is running out of memory, we pause the syncer process. If we don't do this, this alarmed node could crash. Fixes #616.
* | rabbit_alarm: Fix resource_alarm_source() typeJean-Sébastien Pédron2016-02-101-1/+1
| | | | | | | | | | Alarms are emitted for 'disk' or 'memory' resources shortage, not 'node'.
* | rabbitmq-env.bat: Do not prepare and escape RABBITMQ_PLUGINS_EXPAND_DIRrabbitmq_v3_6_1_rc1Jean-Sébastien Pédron2016-02-091-4/+4
| | | | | | | | | | | | | | | | RabbitMQ recreates it anyway so we can't pass it the escaped directory name. Therefore, this directory must not contain any non-US-ASCII in its name. References #493.
* | Merge pull request #609 from bogdando/bug/1541029Michael Klishin2016-02-051-15/+25
|\ \ | | | | | | Fix action_stop for the rabbit OCF
| * | Fix action_stop for the rabbit OCFBogdan Dobrelya2016-02-041-15/+25
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The action_stop may sometimes stop the rabbitmq-server gracefully by the PID, but leave unresponsive beam.smp processes running and spoiling rabbits. Those shall be stopped as well. The solution is: - make proc_stop() to accept a pid=none to use a name matching instead - make kill_rmq_and_remove_pid() to stop by the beam process matching as well - fix stop_server_process() to ensure there is no beam process left running Related Fuel bug: https://launchpad.net/bugs/1541029 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* | Merge pull request #604 from rabbitmq/rabbitmq-server-595Michael Klishin2016-02-041-1/+3
|\ \ | | | | | | Add emitting node info to amq.rabbitmq.log messages
| * | Add emitting node info to amq.rabbitmq.log messagesMichael Klishin2016-02-041-1/+3
|/ / | | | | | | Fixes #595.
* | Merge pull request #602 from dmitrymex/stableMichael Klishin2016-02-031-23/+21
|\ \ | | | | | | Streamline checking for cluster partitioning
| * | Streamline checking for cluster partitioningDmitry Mescheryakov2016-02-031-23/+21
|/ / | | | | | | | | Move check if we are current cluster master to earlier place in code. That way we will avoid unnecessary operations for master case.
* | Merge pull request #601 from bogdando/bug/1540936Michael Klishin2016-02-031-0/+5
|\ \ | | | | | | Fix cluster membership check for running master
| * | Fix cluster membership check for running masterBogdan Dobrelya2016-02-021-0/+5
| |/ | | | | | | The running master is always inside of its own cluster. Fix the cluster membership check when a node is the master.
* | Merge pull request #600 from bogdando/bug/1540936Michael Klishin2016-02-021-0/+1
|\ \ | |/ | | Fix uninitialized status_master
| * Fix uninitialized status_masterBogdan Dobrelya2016-02-021-0/+1
|/ | | | | | | | Fix multiple nodes may be reported in logs as the running master Related Fuel bug https://bugs.launchpad.net/bugs/1540936 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* Merge pull request #597 from binarin/rabbitmq-server-ocf-quiet-curlMichael Klishin2016-02-021-1/+1
|\ | | | | Suppress curl progress indicator in rabbit OCF
| * Suppress curl progress indicator in rabbit OCFAlexey Lebedeff2016-02-021-1/+1
|/ | | | | | | | | | | | | curl is used by OCF script for fetching definitions (queues etc.), but results of that invocation is shown as garbage in pacemaker logs - progress indicator doesn't make any sense in logs. According to curl manpage the following combination of options should be used "--silent --show-error" - this will suppress only progress indicator, errors will still be shown. Also other short curl options are replaced with their long counterparts - for improved readability.
* Merge pull request #594 from rabbitmq/rabbitmq-server-592Michael Klishin2016-02-011-1/+6
|\ | | | | Use -r with sed on Linux
| * Use -r with sed on Linux, fixes #592Michael Klishin2016-02-011-1/+6
|/ | | | | | | | We previously did the same change in #273 (PR: #275), but the file in which it was done was removed in 231e90cacf3daec5f43b3307867129e61496b123. Note that #592 recommends using `-r` unconditionally but that option is not recognised by sed which ships with OS X.
* Merge branch 'rabbitmq-server-541' into stableMichael Klishin2016-01-291-4/+6
|\ | | | | | | | | | | | | | | This is only a part of what #541 is supposed to cover but it already helped in a particular node shutdown lockup we've observed => worth merging earlier. Per discussion with @dcorbacho.
| * Merge branch 'stable' into rabbitmq-server-541Michael Klishin2016-01-271-1/+9
| |\
| * | Increase supervisor timeout to net_ticktime + 10sDiana Corbacho2016-01-271-1/+1
| | |
| * | Introduce timeout in rabbit_channel_supDiana Corbacho2016-01-271-4/+6
| | |