I also have this issue - 'Failed to receive heartbeat from agent.' I use Cloudera Manager Portal to add one more node to the cluster and use package installation and assign roles on this node. This issue happened in the phrase when the Cloudera Manager Agent has started.
What happend is :
1. the cloudera manager agent has started, the cloudera-manager-server can detect the new host
2. the heartbeat can't be reached by cloudera-scm-agent
Can you explain a little bit details about the how the heartbeat happen betwwen Cloudera Manager Server and Cloudera Manager Agent?
How can the cloudera-scm-manager send the command like 'yum install' 'yum list' on the new node? And what port does cloudear-scm-server receive heartbeat from cloudera-scm-agent? What does cloudera-scm-agent do on the port 9000? Who will start supervisord and how does it start it?
Can you please guide me throw command since I'm really new to centos, and I'm facing the same issue while I am installing my cluster with dockers.
Encountered same issue installing CM6 agent in all my host.
>>[13/Dec/2018 11:11:08 +0000] 3831 MainThread agent ERROR Heartbeating to cl-cmu.cloudera.de:7182 failed.
>>Traceback (most recent call last):
>> File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1362, in _send_heartbeat
>> File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__
I have check my host file, and everthing looks good.
Even try to telnet from host to server also can get through...
Might be a bug in the installation.
Also, maybe there is some typo errors in the installation script?
This thread is pretty old and marked solved. It might be a good idea to start a new thread instead of adding more to this one.
The stack trace you provided appears to be a partial one, though I could be wrong. The stack trace we do have appears to point to a problem with TLS.
Have you configured TLS already in CM or on the Agent?
Are you attempting to use AutoTLS? If you are have you properly setup all of the host?
Im quite confuse with the auto-tls mechanism in cloudera manager setup.
Do we run it in all host or in just our CM?
P/s: i have started a new post. Pls do closed this thread. TQ
Can you more elaborate on "Hostname tied to the actual IP address?" and "Use "ifconfig -a" to see a listing of your network interfaces and choose one that has an actual IP address."
How do I know which hostname and ip address to use. Because while installing single node cluster of cloudera how would you know which hosts to specify?