Member since
02-14-2019
5
Posts
1
Kudos Received
0
Solutions
03-07-2019
02:34 AM
Hello Experts, I finally found and resolved the problem. I destroyed all the VM and built new ones. I kept only the database VM on which I droped the database scm and re-created it (to empty it). In our company, we use proxy to go on Internet, direct access is forbidden. So I re-wrote the repo files in /etc/yum.repos.d to put proxy=http://<proxy_user>:<proxy_password>@<proxy_url>:8080/ after each repo definition. I canceled in /etc/yum.conf all proxy definition. The repos for cloudera-cm and cloudera-cdh were written with the local repo I created and filled with the good packages. I ran yum update to get rpg-key (for epel-release). The only disadvantage with this method is : no parcels can be used (the proxy definition in the wizard crashed the download (timeout connexion)). Thanks for your help. Alain
... View more
02-18-2019
02:45 AM
Thanks bgooley for your answer. To simplify the diagnostic, I just start an agent on the same server as the cloudera manager. netstat return: tcp 0 0 127.0.0.1:7182 127.0.0.1:41332 TIME_WAIT - tcp 0 0 127.0.0.1:7182 127.0.0.1:41346 TIME_WAIT - and the log: [18/Feb/2019 10:44:40 +0000] 120320 MainThread agent ERROR Heartbeating to localhost:7182 failed. Traceback (most recent call last): File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1388, in _send_heartbeat self.cfg.max_cert_depth) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__ self.conn.connect() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 80, in connect sock.connect((self.host, self.port)) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 305, in connect ret = self.connect_ssl() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 292, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: sslv3 alert bad certificate It's the last line I don't understand. The use of sslv3. Regards Alain
... View more
02-15-2019
06:00 AM
Hello experts, In the cloudera-scm-agent.log i find : [14/Feb/2019 22:22:47 +0000] 10626 MainThread agent ERROR Heartbeating to lnxsrv-cloudera6-m.mnh.fr:7182 f ailed. Traceback (most recent call last): File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1397, in _send_heartbeat response = self.requestor.request('heartbeat', heartbeat_data) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 141, in request return self.issue_request(call_request, message_name, request_datum) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 254, in issue_request call_response = self.transceiver.transceive(call_request) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 483, in transceive result = self.read_framed_message() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 489, in read_framed_message framed_message = response_reader.read_framed_message() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 417, in read_framed_message raise ConnectionClosedException("Reader read 0 bytes.") ConnectionClosedException: Reader read 0 bytes. and in File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py" it tries ssl/tls connect. So I decided to remove the certmanager directory to regenerate the Auto-TLS sudo rm -rf /var/lib/cloudera-scm-server/certmanager sudo JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64 /opt/cloudera/cm-agent/bin/certmanager setup --configure-services I restart all agents and server. And now agent.log show: [15/Feb/2019 14:22:17 +0000] 9577 MainThread agent ERROR Heartbeating to lnxsrv-cloudera6-m.mnh.fr:7182 failed. Traceback (most recent call last): File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1388, in _send_heartbeat self.cfg.max_cert_depth) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__ self.conn.connect() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 80, in connect sock.connect((self.host, self.port)) File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 305, in connect ret = self.connect_ssl() File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 292, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: sslv3 alert bad certificate Why did agent try sslv3 ? The manager is configured with SSLv2Hello, and TLSv1.2. If someone has an idea, I get it Regards Alain
... View more
02-15-2019
12:03 AM
Hello David, Thanks for your reply, it helped me to review installation. I think cloudera manager is fully installed via the packages (cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server). I thought the heartbeat good between manager and agent but with netstat: tcp 0 0 172.23.104.90:7182 172.23.104.91:56390 TIME_WAIT the time_wait let me think, the connection is not fully accepted, and I can't see the hosts in the hosts page. I continue to investigate. Best regards Alain
... View more
02-14-2019
04:38 AM
Hello experts,
I installed cloudera manager 6.1.0 on a centos 7.6.
I manually installed cloudera agents on several centos 7.6.
After starting server and agents I see the connections with netstat on port 7182.
When I try to add hosts in cloudera-manager, it detects the centos and ssh, but wants to install agent again.
How may I do to pass this step ?
Regards
Alain
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Security