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

Failed to re-init cluster on interactive mode #1587

Open
liangxin1300 opened this issue Oct 21, 2024 · 0 comments
Open

Failed to re-init cluster on interactive mode #1587

liangxin1300 opened this issue Oct 21, 2024 · 0 comments

Comments

@liangxin1300
Copy link
Collaborator

Reproduce steps:

  1. On the first node, run crm cluster init -y
  2. On the second node, run crm cluster join -c <first_node> -y
  3. On the first node, run crm cluster stop --all
  4. On the first node, run crm cluster init
# crm cluster init
...
/etc/corosync/corosync.conf already exists - overwrite (y/n)? n
...
INFO: BEGIN Waiting for cluster
...........                                                                                                                                                                                        
INFO: END Waiting for cluster
ERROR: cluster.init: Joined existing cluster - will not reconfigure.

The first node is online, but without configuring cluster property like stonith-enabled

liangxin1300 added a commit to liangxin1300/crmsh that referenced this issue Oct 21, 2024
Fix issue ClusterLabs#1587

At this point, the local node must already online, otherwise
the previous init_cluster_local will raise exceptions. And this
is not related to the join process.
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

1 participant