Commit Graph

13 Commits

Author SHA1 Message Date
Daniil Fedotov 994850fc45 Instruction to complete rabbtimq-plugins and rabbitmq-diagnostics 2017-01-27 13:37:38 +00:00
Daniil Fedotov 7835f4c9c9 Reworked ZSH completion. It's now a function that should explicitely loaded on startup 2017-01-25 12:26:34 +00:00
Daniil Fedotov 6d86d77213 Install separate autocomplete scripts for BASH and ZSH
. /etc/profile can be called from shells incompatible with
    autocomplete script syntax. To avoid that specific BASH and
    ZSH autocomplete scripts are called only if shell version is
    detected.
2017-01-24 17:00:13 +00:00
Daniil Fedotov 2c555fef49 Pass auto-completion arguments as argv, not a single argument 2017-01-24 14:44:45 +00:00
Daniil Fedotov fbe7b90ab3 Make sure completion call has locale var 2017-01-18 15:41:18 +00:00
Daniil Fedotov 31dac38fb7 Install auto-complete script 2017-01-18 15:40:21 +00:00
Bogdan Dobrelya c5ba6d0218 Add Travis tests for Pacemaker OCF RA cluster
Add a matrix of two test cases:
* Smoke test: just a check if rabbit cluster assembles.
* Jepsen test: allowed to fail, it's main value is to
  verify cluster auto-healing after consequent network
  partitions and to provide numbers for
  duplicated/lost/recovered/unexpected messages as well.

Make the gate always passing if there is no changes found
to the RabbitMQ OCF RA script in the patch under test.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-11-25 12:56:14 +01:00
Jean-Sébastien Pédron e0cedc45c4
Merge branch 'rabbitmq-cli-integration' 2016-11-08 19:10:22 +01:00
Daniil Fedotov f0583e6621 Integrate rabbitmq-cli deps to release build 2016-10-28 17:59:59 +01:00
Dmitry Mescheryakov 67cdbe3067 Correctly return exit code from stop
Panicking and returning non-success on stop often leads to resource
becoming unmanaged on that node.

Before we called get_status to verify that RabbitMQ is dead. But
sometimes it returns error even though RabbitMQ is not running. There
is no reason to call it - we will just verify that there is no beam
process running.

Related fuel bug - https://bugs.launchpad.net/fuel/+bug/1626933
2016-10-17 19:43:46 +03:00
Alexey Lebedeff 1d564c8746 OCF RA: Check partitions on non-master nodes
Partitions reported by `rabbit_node_monitor:partitions/0` are not
commutative (i.e. node1 can report itself as partitioned with node2, but
not vice versa).

Given that we now have strong notion of master in OCF script, we can
check for those fishy situations during master health check, and order
damaged nodes to restart.

Fuel bug: https://bugs.launchpad.net/fuel/+bug/1628487
2016-09-29 16:13:18 +03:00
Jean-Sébastien Pédron e97ca28ac7
scripts: Take package-specific files from rabbitmq-server
[#130659985]
2016-09-21 16:25:24 +02:00
Jean-Sébastien Pédron 14d7902ae6
scripts/rabbitmq-script-wrapper: Moved from rabbitmq-server
[#130659985]
2016-09-21 12:32:15 +02:00