You signed in with a
8000
nother tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: new node already at cluster Node is already a Storage Manager for different Cluster #324
Describe the bug
any attempts to create cluster not succeed.
root@kadalu-p01-n01:~# kadalu node add kadalu-p01-n02
Failed to add the node
Node is already a Storage Manager for different Cluster
root@kadalu-p01-n01:~# kadalu node add kadalu-p01-n03
Failed to add the node
Node is already a Storage Manager for different Cluster
root@kadalu-p01-n01:~# kadalu node add kadalu-p01-n01
Failed to add the node
Node is already part of the cluster
kadalu pool create Test-Pool replica 3 192.168.1.1:/opt/s3 192.168.1.2:/opt/s3 192.168.1.3:/opt/s3 --auto-add-nodes
Failed to create pool
{"error":"Node is already a Storage Manager for different Cluster"}
kadalu pool create Test-Pool replica 3 192.168.1.1:/opt/s3 192.168.1.2:/opt/s3 192.168.1.3:/opt/s3
Failed to create pool
Node 192.168.1.2 is not part of the Cluster
kadalu node add 192.168.1.2
Failed to add the node
Node is already a Storage Manager for different Cluster
same if use ns names (resolve via /etc/hosts conf)
right after service starting, try to create cluster.
Actual behavior
here https://docs.kadalu.tech/kadalu-storage/latest/setup/ it say No nodes are added to the cluster by default.. info config from nodes: {"pool_name":"","id":"0db99011-4883-494e-a6f5-fafc9c103530","name":"","token_hash":"","mgr_hostname":"","mgr_port":3000,"mgr_https":false,"mgr_token":"","joined":false}
So nodes really not at pool.
Environment:
ubuntu 22
Server Version : 1.2.0
CLI Version : 1.2.0
root@kadalu-p01-n01:~# kadalu node add kadalu-p01-n01
Node kadalu-p01-n01 added to the cluster
ID: 32fffd6e-abe3-4377-a63e-3ad3308645da
root@kadalu-p01-n01:~# kadalu node add kadalu-p01-n02
Failed to add the node
Node is already a Storage Manager for different Cluster
Activity
aravindavk commentedon Jan 11, 2024
Are these nodes used earlier? You can remove
/var/lib/kadaluin each node and try again.aravindavk commentedon Jan 11, 2024
@TristisOris I moved this bug to GitHub/kadalu/moana repo. Are you looking for Gluster alternative or curious about Kadalu Storage?
TristisOris commentedon Jan 11, 2024
no, all 3 nodes are fresh created vms.
Not familiar with gluster too, but found that k8s drop it from support.
TristisOris commentedon Jan 11, 2024
/var/lib/kadaluaravindavk commentedon Jan 11, 2024
Thanks for confirming. I will check it tomorrow and update here.
aravindavk commentedon Jan 11, 2024
Thanks. This project is not created to use with k8s. Please use https://github.com/kadalu/kadalu project if you are looking for k8s storage solution.
Moana is for on-premise use cases without using k8s. Both these projects are based on core GlusterFS.
TristisOris commentedon Jan 11, 2024
ah, got it. Also we need some S3 not only for k8s, so i'll try both.