Hi Raffaele,

We'll need to know more details:
* What is your pcs version?
* Which node is used to access web UI?
* Which node is the log from?

The part of pcsd log you provided doesn't seem to cover the issue you are experiencing. If the node is not authenticated, which seems to be the case as pcsd is asking for a password, then the log simply states the node is not authenticated.

We would need a bigger portion of the log to see what's happening when you are trying to add the cluster to the web UI.


Thanks,
Tomas


Dne 29. 10. 20 v 8:02 Raffaele Pantaleoni napsal(a):
The node is already part of that cluster indeed. That's why I clicked on

"+Add Existing"

the pop-up form says:

"Enter the hostname/IP of a node in a cluster that you would like to manage:"

But I can't add it into the pcsd web gui.

That is the cluster list is empty.

On 28/10/20 21:59, Strahil Nikolov wrote:
Are you sure that the node you want to join is not one of the listed here:

Online: [ SRVDRSW01 SRVDRSW02 SRVDRSW03 SRVDRSW04 SRVDRSW05 SRVDRSW06 ]

The hostname looks pretty much the same.

Best Regards,
Strahil Nikolov






В сряда, 28 октомври 2020 г., 11:18:11 Гринуич+2, Raffaele Pantaleoni <[email protected]> написа:





Hello everybody,

I'm trying to add an existing cluster into the pcsd web gui.

When I try to add it, I select a node (SRVDRSW01.seko.com) and right
after I am requested to enter the password for the hacluster user but
from the pcsd log file I can see this:

I, [2020-10-28T09:58:26.213638 #12661]  INFO -- : Running: id -Gn hacluster
I, [2020-10-28T09:58:26.214091 #12661]  INFO -- : CIB USER: hacluster,
groups:
I, [2020-10-28T09:58:26.222338 #12661]  INFO -- : Return Value: 0
I, [2020-10-28T09:58:26.222730 #12661]  INFO -- : Running: id -Gn hacluster
I, [2020-10-28T09:58:26.222887 #12661]  INFO -- : CIB USER: hacluster,
groups:
I, [2020-10-28T09:58:26.230203 #12661]  INFO -- : Return Value: 0
I, [2020-10-28T09:58:26.230424 #12661]  INFO -- : Running:
/usr/sbin/corosync-cmapctl totem.cluster_name
I, [2020-10-28T09:58:26.230587 #12661]  INFO -- : CIB USER: hacluster,
groups:
I, [2020-10-28T09:58:26.251826 #12661]  INFO -- : Return Value: 0
I, [2020-10-28T09:58:26.253144 #12661]  INFO -- : SRWT Node:
SRVDRSW01.seko.com Request: check_auth
E, [2020-10-28T09:58:26.253603 #12661] ERROR -- : Unable to connect to
node SRVDRSW01.seko.com, no token available

I tried it using the node name only (SRVDRSW01) or the IP address. The
error message doesn't change.

Since this is a test installation inside our LAN there is no firewall
configured at all.

This is the actual status of the cluster:
root@SRVDRSW01:~# pcs status
Cluster name: debian
Stack: corosync
Current DC: SRVDRSW01 (version 1.1.16-94ff4df) - partition with quorum
Last updated: Wed Oct 28 09:55:20 2020
Last change: Mon Oct 19 17:07:33 2020 by root via crm_attribute on SRVDRSW01

6 nodes configured
5 resources configured

Online: [ SRVDRSW01 SRVDRSW02 SRVDRSW03 SRVDRSW04 SRVDRSW05 SRVDRSW06 ]

Full list of resources:

  ClusterIP      (ocf::heartbeat:IPaddr2):       Started SRVDRSW01
  CouchIP        (ocf::heartbeat:IPaddr2):       Started SRVDRSW03
  NodeJSIP       (ocf::heartbeat:IPaddr2):       Started SRVDRSW04
  FrontEnd       (ocf::heartbeat:nginx): Started SRVDRSW01
  ITATESTSERVER-DIP      (ocf::nodejs:pm2):      Started SRVDRSW04

Daemon Status:
   corosync: active/enabled
   pacemaker: active/enabled
   pcsd: active/disabled


I went through hundreds of tries with no luck.
Is it something I am doing wrong or I forgot to do?
I tried to google it but no solution was good.
I have no ideas left.

Thank you in advance.
---
Raffaele Pantaleoni

/
/

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to