Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.6.2
-
None
Description
When deploy ambari-agent use web UI, there is error like that
INFO 2018-08-21 14:19:49,634 security.py:93 - SSL Connect being called.. connecting to the server ERROR 2018-08-21 14:19:49,636 Controller.py:226 - Unable to connect to: https://hostxx:8441/agent/v1/register/hostxx Traceback (most recent call last): File "/usr/lib/ambari-agent/lib/ambari_agent/Controller.py", line 175, in registerWithServer ret = self.sendRequest(self.registerUrl, data) File "/usr/lib/ambari-agent/lib/ambari_agent/Controller.py", line 549, in sendRequest raise IOError('Request to {0} failed due to {1}'.format(url, str(exception))) IOError: Request to https://hostxx:8441/agent/v1/register/hostxx failed due to EOF occurred in violation of protocol (_ssl.c:661) ERROR 2018-08-21 14:19:49,637 Controller.py:227 - Error:Request to https://hostxx:8441/agent/v1/register/hostxx failed due to EOF occurred in violation of protocol (_ssl.c:661) WARNING 2018-08-21 14:19:49,637 Controller.py:228 - Sleeping for 28 seconds and then trying again
and creat Soft link
/usr/bin/ambari-python-wrap -> /usr/bin/python
while python version is 2.7, so I recreate a soft link to python2.6
ln -s /usr/bin/python2.6 /usr/bin/ambari-python-wrap
and restart ambari-server and ambari-agent, the the ambari-agent registe successfull.
INFO 2018-08-21 14:09:48,976 Controller.py:196 - Registration Successful (response id = 0)
It seems to have solved the problem.But when i Install,Start and Test, the Progress bar donot move.And I cannot stop it.