Pivotal Knowledge Base

Follow

PCC log tab reports error "Cannot retrieve data"

Environment

  • PHD 2.0.1
  • PCC 2.2.1

Symptom

Cause:

The node agent is stopped on one of the cluster node.  PCC will report this error if a single node in the cluster has nodeagent reporting errors or is down.

[root@hdw1 ~]# service nodeagent status
is stopped

When attempting to retrieve status from nodeagent running on remote node it fails with error connection refused

[root@pccadmin ~]# curl http://localhost:8080/gphdmgr/v1/clusters/3/services/logs/status?node=hdw1.phd.local
{"error":"java.net.ConnectException: Connection refused"}

Fix:

To prevent this error from occuring please make sure nodeagent is running on all cluster nodes.  Run this command from PCC admin node to verify status

massh hostfile verbose "service nodeagent status"

Run this command from PCC admin node to start nodeagent on all nodes

massh hostfile verbose "service nodeagent start"

Miscellaneous:

Internal employee reference jira CC-3728 

Comments

Powered by Zendesk