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

bootstrap join consumes unnecessary time on passwordless checks for the existing cluster #1239

Closed
zzhou1 opened this issue Aug 22, 2023 · 2 comments
Assignees

Comments

@zzhou1
Copy link
Contributor

zzhou1 commented Aug 22, 2023

Could bootstrap join skips "Checking passwordless" among the existing 3-node cluster, when the 4th new node joins the cluster? It's noticeable time consuming when the cluster is large, and is not a good enough user experience. Example as below,

hanode4: # crm cluster join -yc hanode1                                        
[...]
INFO: Checking passwordless for hacluster between hanode1 and hanode2
INFO: Checking passwordless for hacluster between hanode1 and hanode3
INFO: Checking passwordless for hacluster between hanode2 and hanode1
INFO: Checking passwordless for hacluster between hanode2 and hanode3
INFO: Checking passwordless for hacluster between hanode3 and hanode1
INFO: Checking passwordless for hacluster between hanode3 and hanode2
[...]
@nicholasyang2022 nicholasyang2022 self-assigned this Aug 23, 2023
@nicholasyang2022
Copy link
Collaborator

I think it is a workaround for certain use case related to -N option used in bootstrap, which does not swap public keys correctly. I will try to find the root cause.

@nicholasyang2022
Copy link
Collaborator

Fixed in #1261.

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

No branches or pull requests

2 participants