Skip to content

[Bug]: new node already at cluster Node is already a Storage Manager for different Cluster #324

@TristisOris

Description

@TristisOris

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)

To Reproduce
Steps to reproduce the behavior:

  1. done installation according to https://kadalu.tech/storage/quick-start/
  2. 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

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