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

pcs cluster setup --name archiclust archie archicomble --force is not working #114

Closed
eileon opened this issue Oct 17, 2016 · 2 comments
Closed

Comments

@eileon
Copy link

eileon commented Oct 17, 2016

 [root@archie corosync]# pcs cluster setup --name archiclust archie archicomble --force
 Destroying cluster on nodes: archie, archicomble...
 archicomble: Error connecting to archicomble - (HTTP error: 400)
 archie: Error connecting to archie - (HTTP error: 400)
 archicomble: Successfully destroyed cluster
 archie: Successfully destroyed cluster

 Sending cluster config files to the nodes...
 archie: Succeeded
 archicomble: Succeeded

 Synchronizing pcsd certificates on nodes archie, archicomble...
 archicomble: Success
 archie: Success 

 Restarting pcsd on the nodes in order to reload the certificates...
 archicomble: Success
 archie: Success

Command is done on archie. Strangely corosync can be re-run on archicomble but corosync cannot be re-run on archie.

But command 👍

 [root@archie moulonguetn]# pcs cluster setup --name archiclust 192.168.1.2 192.168.1.3 --force
 Destroying cluster on nodes: 192.168.1.2, 192.168.1.3...
 192.168.1.2: Error connecting to 192.168.1.2 - (HTTP error: 400)
 192.168.1.3: Error connecting to 192.168.1.3 - (HTTP error: 400)
 192.168.1.2: Successfully destroyed cluster
 192.168.1.3: Successfully destroyed cluster

 Sending cluster config files to the nodes...
 192.168.1.2: Succeeded
 192.168.1.3: Succeeded

 Synchronizing pcsd certificates on nodes 192.168.1.2, 192.168.1.3...
 192.168.1.3: Success
 192.168.1.2: Success

 Restarting pcsd on the nodes in order to reload the certificates...
 192.168.1.3: Success
 192.168.1.2: Success 

makes corosync can be re-run on archie and on archicomble.

It's ok with ip addresses but not with nodes names.

@tomjelinek
Copy link
Member

It's not OK in either case, see the errors right on the top of the output. I cannot really tell what went wrong though unless you provide output of the command run with --debug flag and content of the /var/log/pcsd/pcsd.log files from the nodes.

Also I cannot even guess what went wrong with corosync as I can see no error message neither /etc/corosync/corosync.conf from any node.

@tomjelinek
Copy link
Member

I think the corosync issue is a duplicate to #116 and the pcs issue (HTTP 400) is a duplicate to #115 (comment). Therefore I'm closing this.

Feel free to reopen and provide further details if the issue hasn't been resolved for you.

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