Reply
Highlighted
Explorer
Posts: 8
Registered: ‎03-01-2018
Accepted Solution

Installation stuck on distributing with Auto-TLS

[ Edited ]

Hello,

I am trying to install CDH with cloudera manger 6.2 on 2 goodgle cloud VM instances

when creating the cluster it downloaded  CDH 6.2.0-1.cdh6.2.0.p0.967373 sucessfully

but then it is not doing any distrubution and just hang there

firewall is disable , SELinux is disabled

i can login with ssh and copy with scp between both VMs normal 

when checking the agent log

File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Checker.py", line 125, in __call__
fieldName='subjectAltName')
WrongHost: Peer certificate subjectAltName does not match host, expected mugzy.c.essential-rider-208218.internal, got DNS:mugzy

 

and here is hostname:

[root@mugzy ~]# python -c "import socket; hostname = socket.gethostname(); print hostname;"
mugzy
[root@mugzy ~]#

 

Appreciate your insight

Master
Posts: 430
Registered: ‎07-01-2015

Re: Installation stuck on distributing with Auto-TLS

Make sure that the command above returns not just the name of the server, but the fully qualified domain name, so in your case "mugzy.c.essential-rider-208218.internal".

You can do it by editing the /etc/hosts file. Or check the GCP documentation regarding the FQDN for VMs for your specific Linux OS.
Explorer
Posts: 8
Registered: ‎03-01-2018

Re: Installation stuck on distributing with Auto-TLS

I fixed the issue by making both hostname & hostname -f returning the same value.

then uninstalled cloudera manger & agents 

then rerun the certmanager

/opt/cloudera/cm-agent/bin/certmanager --location /opt/cloudera/CMCA setup --configure-services

All went fine afterwards

thanks for all help

New Contributor
Posts: 1
Registered: ‎05-16-2019

Re: Installation stuck on distributing with Auto-TLS

Could you supply what your /var/log/cloudera-scm-agent/certmanager.log looked like after the successful installation? For comparative purposes?