Commit Graph

228 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 73e65eda43 Update rabbitmq-components.mk 2018-09-11 14:22:35 +02:00
Jean-Sébastien Pédron 003dc4cbb3 Update rabbitmq-components.mk 2018-08-09 17:44:18 +02:00
Jean-Sébastien Pédron 7a3875052b Update rabbitmq-components.mk 2018-08-09 12:17:05 +02:00
Jean-Sébastien Pédron 5a90502c99 Update rabbitmq-components.mk 2018-06-07 11:31:40 +02:00
Jean-Sébastien Pédron 9f69adacf4 Update erlang.mk 2018-04-11 10:53:45 +02:00
Jean-Sébastien Pédron 04055f0e8c Update rabbitmq-components.mk 2018-04-11 10:51:25 +02:00
Jean-Sébastien Pédron ab72afebed Update rabbitmq-components.mk 2018-04-11 10:10:07 +02:00
Jean-Sébastien Pédron 702f0776b1 Travis CI: Update config from rabbitmq-common 2018-04-10 13:07:52 +02:00
Jean-Sébastien Pédron 86da8146b5 Makefile: Load Erlang.mk early plugins
In particular, if tests are skipped in CI, we are not aware if that.

While here, remove duplicate or useless code.
2018-03-14 18:19:07 +01:00
Michael Klishin 02283a501d Explain test prerequisites 2018-03-09 01:42:57 +03:00
Jean-Sébastien Pédron 932c36ec2f integration_SUITE: Initial cluster formation testsuite
It creates a cluster of 2 RabbitMQ nodes on AWS EC2 VMs with the AWS
peer discovery plugin configured, and verify that the cluster is
correctly formed.

The plugin is tested with two configurations:
 * cluster formation based on tags
 * cluster formation based on an autoscaling group

[#153749132]
2018-03-08 17:18:56 +01:00
Michael Klishin 7b16be77a2 Merge pull request #21 from rabbitmq/consider-all-hosts-in-instancesset
Take all hostnames from an `instancesSet`
2018-03-08 17:44:49 +03:00
Jean-Sébastien Pédron 6aca8221f0 Take all hostnames from an `instancesSet`
Before this patch, the code was only taking the first item in an
`instancesSet`, using `proplists:get_value()`. Therefore it would ignore
all other entries in that list. Unfortunately, if that first host was
the VM running the code itself, the plugin would find no RabbitMQ nodes
to cluster with.

The patch simply consists of going through all `item` entries in that
`instancesSet` list.

Fixes #20.
[#153749132]
2018-03-08 11:24:46 +01:00
Jean-Sébastien Pédron e3301d5970 Update erlang.mk 2018-03-02 19:07:49 +01:00
Jean-Sébastien Pédron 4ffad53b79 Update erlang.mk 2018-03-02 18:31:44 +01:00
Michael Klishin fad72b95ea This mechanism should support randomized startup delay
Ever since the core integration
RSD is only used with backends that support registration.

Closes #17.

(cherry picked from commit 73f7ac18a4)

[#155536889]
2018-02-27 03:43:16 +03:00
Michael Klishin 73f7ac18a4 This mechanism should support randomized startup delay
Ever since the core integration
RSD is only used with backends that support registration.

Closes #17.
2018-02-27 03:08:26 +03:00
Michael Klishin 9fb247d4e1 Explain how to "install" and enable this plugin
References #16.

(cherry picked from commit 8b6c710d8f)
2018-02-15 19:00:22 +03:00
Michael Klishin 8b6c710d8f Explain how to "install" and enable this plugin
References #16.
2018-02-15 18:54:41 +03:00
Jean-Sébastien Pédron a91615f3f8 Update rabbitmq-components.mk 2018-01-30 16:37:34 +01:00
Jean-Sébastien Pédron bf9cb13704 Update rabbitmq-components.mk 2018-01-30 15:23:48 +01:00
Luke Bakken efc8198cd3 Update rabbitmq-components.mk 2018-01-29 16:22:19 -08:00
Jean-Sébastien Pédron dc00ec0d83 Update rabbitmq-components.mk 2018-01-23 18:03:12 +01:00
Jean-Sébastien Pédron 2f901212bd Update rabbitmq-components.mk 2018-01-23 17:21:37 +01:00
Jean-Sébastien Pédron d0e95c2391 Update rabbitmq-components.mk 2018-01-23 15:31:26 +01:00
Jean-Sébastien Pédron ed6707460d Update rabbitmq-components.mk 2018-01-23 12:50:31 +01:00
Diana Corbacho 4119f2682f Update rabbitmq-components.mk 2018-01-22 22:13:26 +00:00
Diana Corbacho e9695426a9 Update rabbitmq-components.mk 2018-01-22 21:54:05 +00:00
Michael Klishin 56e643d6a8 Clarify what this plugin is and isn't [ci skip]
(cherry picked from commit a3e0be13a2)
2018-01-19 17:54:42 +03:00
Michael Klishin a3e0be13a2 Clarify what this plugin is and isn't [ci skip] 2018-01-19 17:47:53 +03:00
Michael Klishin b7a9081ba9 Link to doc guide
(cherry picked from commit f708deeaee3e6a65ed33ecd04758b4d37ff5ec03)
2017-12-21 17:04:41 +04:00
Michael Klishin f3de552dad Link to doc guide 2017-12-21 17:04:32 +04:00
Jean-Sébastien Pédron 7d8675e02f Travis CI: Update config from rabbitmq-common 2017-12-15 15:13:57 +01:00
Jean-Sébastien Pédron 627336b87b Travis CI: Update config from rabbitmq-common 2017-12-15 14:55:25 +01:00
Michael Klishin 5556ba9a7d Configure HTTP client proxy at init step
Part of rabbitmq/rabbitmq-peer-discovery-common#5.

[#153615554]

(cherry picked from commit 0864f8dee999dabc987e9bc066219f5cd24a32d4)
2017-12-15 14:20:15 +03:00
Michael Klishin 5014f283f4 Configure HTTP client proxy at init step
Part of rabbitmq/rabbitmq-peer-discovery-common#5.

[#153615554]
2017-12-14 21:44:46 +03:00
Michael Klishin 38d92908ab Extra debug logging, references #6
(cherry picked from commit bbae8c980a1df8315c9e8e5d7457d4f5cbd283f5)
2017-12-13 21:22:06 +03:00
Michael Klishin 97da6d5b23 Extra debug logging, references #6 2017-12-13 21:21:47 +03:00
Jean-Sébastien Pédron 559d80e6ae Update rabbitmq-components.mk 2017-12-01 15:16:38 +01:00
Jean-Sébastien Pédron 2a43ebdd29 Update rabbitmq-components.mk 2017-12-01 11:06:47 +01:00
Jean-Sébastien Pédron 1027916e11 Update rabbitmq-components.mk 2017-11-28 14:01:04 +01:00
Jean-Sébastien Pédron 9f9d0836d9 Update rabbitmq-components.mk 2017-11-28 13:38:12 +01:00
Jean-Sébastien Pédron 0d5b1100bb Makefile: Add inets to LOCAL_DEPS
The plugin is using httpc.
2017-11-28 13:37:59 +01:00
Jean-Sébastien Pédron 26515231d9 Travis CI: Add initial configuration
[#152509619]
2017-11-08 10:31:40 +01:00
Jean-Sébastien Pédron 80e2015b4b Update rabbitmq-components.mk 2017-10-13 15:10:48 +02:00
Jean-Sébastien Pédron b7e9d0eb34 Update rabbitmq-components.mk 2017-10-13 14:33:12 +02:00
Jean-Sébastien Pédron ab91a19a4a Update rabbitmq-components.mk 2017-10-13 14:13:20 +02:00
Jean-Sébastien Pédron 39a0ce7607 Update rabbitmq-components.mk 2017-10-13 12:15:48 +02:00
Michael Klishin 1a04df31ee Update rabbitmq-components.mk 2017-09-13 17:57:38 -04:00
Michael Klishin 34ba5fdb59 Update rabbitmq-components.mk 2017-09-13 17:45:38 -04:00
Michael Klishin c2b0adc8b2 Update rabbitmq-components.mk 2017-09-12 12:41:58 -04:00
Michael Klishin f7cf5010a9 More logging 2017-08-30 13:40:25 -06:00
Daniil Fedotov c03513b9e6 Update erlang.mk 2017-08-30 19:39:40 +01:00
Michael Klishin 118150d919 AWS_DEFAULT_REGION => AWS_EC2_REGION
Both AWS_REGION and AWS_DEFAULT_REGION are used by various tools
and libraries. There is no "non-default" scenario this plugin supports,
so AWS_REGION makes more sense. However, the configuration counterpart
is "aws_ec2_region", so let's use AWS_EC2_REGION for consistency.

There's also AWS_EC2_TAGS already.
2017-08-22 17:43:07 -04:00
Michael Klishin b963e2610f Update rabbitmq-components.mk 2017-07-26 03:48:32 +03:00
Michael Klishin b96b1cafd7 Update rabbitmq-components.mk 2017-07-26 03:01:15 +03:00
Michael Klishin b47ac3868a Update rabbitmq-components.mk 2017-07-26 02:27:11 +03:00
Michael Klishin 47dcbe588d Merge pull request #3 from rabbitmq/rabbitmq-server-1257
Locking support
2017-06-12 19:57:47 +03:00
Michael Klishin bdfbec1feb Update rabbitmq-components.mk 2017-06-12 18:45:33 +03:00
Diana Corbacho 1af5e6da27 Locking support
rabbitmq-server#1257
[#146871615]
2017-06-09 15:05:21 +01:00
Luke Bakken e8ccb6aaec fix test broken by change of value from secret_key_id to secret_key 2017-06-07 15:14:38 -07:00
Luke Bakken 854c98acfb tags must be convertible into a map 2017-06-07 15:01:40 -07:00
Luke Bakken ff5354ed63 Add schema that passes tests 2017-06-07 14:40:45 -07:00
Luke Bakken e89aee983a Add failing CT tests for cuttlefish schema 2017-06-07 14:13:04 -07:00
Luke Bakken 8387ff794d Add schema test suite from rabbitmq-management and skeleton files 2017-06-07 10:03:26 -07:00
Diana Corbacho a1b0c164f0 Use map type for AWS tags 2017-06-06 13:03:05 +01:00
Diana Corbacho 0cb573e846 Rename autocluster -> cluster_formation 2017-06-06 08:28:21 +01:00
Diana Corbacho 36ed7bcf28 Use Erlang maps for tags 2017-06-05 19:49:05 +01:00
Michael Klishin a7b7003084 Update rabbitmq-components.mk 2017-06-02 17:51:32 +03:00
Michael Klishin 7a351473e5 merge branch 'stable' 2017-06-02 01:39:38 +03:00
Michael Klishin 03bd90f867 Update rabbitmq-components.mk 2017-06-02 00:43:28 +03:00
Michael Klishin 45c5d8429f Update rabbitmq-components.mk 2017-06-01 18:01:45 +03:00
Michael Klishin 25c01192c4 Add rabbitmq_aws as a dependencies 2017-05-31 13:58:12 +03:00
Michael Klishin 8100474bdc Log message tweaks 2017-05-25 14:56:39 +03:00
Diana Corbacho f549e3f9ac Change all return errors into log messages and empty node list 2017-05-25 12:37:31 +01:00
Michael Klishin f67eab4cd2 Correct a couple of misplaced parentheses 2017-05-25 12:56:10 +03:00
Michael Klishin 61261e4426 Add a .gitignore 2017-05-25 12:55:50 +03:00
Diana Corbacho f3ed4e59cd Initial commit 2017-05-25 10:13:52 +01:00