Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster join #534

Closed
masikmos opened this issue Aug 5, 2019 · 3 comments
Closed

cluster join #534

masikmos opened this issue Aug 5, 2019 · 3 comments

Comments

@masikmos
Copy link

masikmos commented Aug 5, 2019

cookbook 6.0.0
ubuntu 18.04

join cluster
  * rabbitmq_cluster[5b094660f53f367ecc190e203f9a3bf10376c864] action join[2019-08-05T17:06:39+03:00] FATAL: rabbitmq_cluster with action :join requires a non-nil/empty cluster_nodes.

BUT!
in attributes i have

override['rabbitmq']['clustering']['cluster_nodes'] = [
    {
        :name => 'rabbit@app01'
    },
    {
        :name => 'rabbit@app02'
    },
    {
        :name => 'rabbit@app03'
    }
]

and on chef web in attrebutes i see

rabbitmq
default_user: blabla
default_pass: blabla
erlang_cookie: blablabla
clustering
enable: true
cluster_name: app_rabbitmq
cluster_nodes
0
name: rabbit@srv01
1
name: rabbit@srv02
2
name: rabbit@srv03

WHY non-nil/empty cluster_nodes. ??? HELP ME! )

@masikmos
Copy link
Author

masikmos commented Aug 5, 2019

OMG.... how i got version 6.0.0 )))
o use berksfile and download from git latest and got 6.0.0

OOOPS Sry, move to 5.8.2 and looks good

@michaelklishin
Copy link
Member

I don't see why master would be meaningfully different at the moment but there isn't much information to work with (sorry).

@michaelklishin
Copy link
Member

#238 was the last meaningful change around cluster member validation. The validation also seems to be pretty basic.

There are two mandatory properties for each node, though: name and type (the latter has to be set to disc for at least one, and for 99% of workloads all, of the nodes). That's my best as to what is off in your environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants