Skip to content

AWS AutoScale Peer Discover not working - old config file format present #496

@bowersni

Description

@bowersni
  • Cookbook version used
    5.6.2

  • Operating system, version, and patch level
    Red Hat Enterprise Linux Server release 7.5 (Maipo) - all up to date

  • Node attributes
    node.default['rabbitmq']['version'] = '3.7.7'
    node.default['rabbitmq']['clustering']['enable'] = true
    node.default['rabbitmq']['clustering']['use_auto_clustering'] = true
    node.default['pilot_rabbitmq']['key_id'] = 'XXXXXXXX'
    node.default['pilot_rabbitmq']['secret_key'] = 'XXXXXXXX'
    node.default['rabbitmq']['erlang_cookie'] = 'XXXXXXXXX'
    node.default['erlang']['install_method'] = "esl"
    node.default['erlang']['esl']['version'] = '19.3'

  • RabbitMQ version provisioned
    3.7.7

  • Erlang version provisioned
    19.3

I have been trying to get the aws auto peer discovery working with my auto scaling group using this cookbook, but the problem I have ran into is the config file formats. This recipe sources the rabbitmq.config.erb template and will always create that in the /etc/rabbitmq directory.

In order for me to get the auto discovery working manually, I had to delete the .config file so that the service would pickup my rabbitmq.conf file instead. This is because I am using the new sysctl format for the config file (Key = Value style).

Any plans to update this and add an attribute to not source the .config (erlang style config) in the default recipe when a user is wanting to use the new .conf (sysctl) style?

I was going to fork this and try myself, but figured I'd ask first. I could just be doing something completely wrong as well. This is my first stab at RMQ, let alone auto clustering :)

Thanks all in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions