ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnama Raju K (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21538) Zeppelin service check failing in SSL enabled environment.
Date Thu, 20 Jul 2017 18:14:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Krishnama Raju K updated AMBARI-21538:
--------------------------------------
    Description: 
>From Ambari documentation (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-ambari.html),
we confirm HDP-2.6.1 compatibility with Ambari 2.5.0. However, when HDP 2.6.1 is deployed
using Ambari 2.5.0.3 and upon enabling SSL for Zeppelin, we observe that Zeppelin service
check would fail. This may be due to introduction of two distinct properties for a secure
(SSL enabled) and non secure links as described here, https://issues.apache.org/jira/browse/ZEPPELIN-1321

Zeppelin service check fails with below stack trace,


{code:java}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 40, in <module>
    ZeppelinServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 314, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 37, in service_check
    logoutput=True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
262, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in
checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in
_call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in
_call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -s -o /dev/null -w'%{http_code}'
--negotiate -u: -k https://<HOSTNAME>:9995 | grep 200' returned 1.
{code}


  was:
>From Ambari documentation (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-ambari.html),
we confirm HDP-2.6.1 compatibility with Ambari 2.5.0. However, when HDP 2.6.1 is deployed
using Ambari 2.5.0.3 and upon enabling SSL for Zeppelin, we observe that Zeppelin service
check and quick links would fail. This may be due to introduction of two distinct properties
for a secure (SSL enabled) and non secure links as described here, https://issues.apache.org/jira/browse/ZEPPELIN-1321


Zeppelin Quick links would point to 9995 port. But, the service would be listening on 8443
port.

Zeppelin service check fails with below stack trace,


{code:java}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 40, in <module>
    ZeppelinServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 314, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 37, in service_check
    logoutput=True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
262, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in
checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in
_call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in
_call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -s -o /dev/null -w'%{http_code}'
--negotiate -u: -k https://<HOSTNAME>:9995 | grep 200' returned 1.
{code}



> Zeppelin service check failing in SSL enabled environment.
> ----------------------------------------------------------
>
>                 Key: AMBARI-21538
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21538
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-admin
>            Reporter: Krishnama Raju K
>              Labels: easyfix
>
> From Ambari documentation (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-ambari.html),
we confirm HDP-2.6.1 compatibility with Ambari 2.5.0. However, when HDP 2.6.1 is deployed
using Ambari 2.5.0.3 and upon enabling SSL for Zeppelin, we observe that Zeppelin service
check would fail. This may be due to introduction of two distinct properties for a secure
(SSL enabled) and non secure links as described here, https://issues.apache.org/jira/browse/ZEPPELIN-1321
> Zeppelin service check fails with below stack trace,
> {code:java}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 40, in <module>
>     ZeppelinServiceCheck().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 314, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py",
line 37, in service_check
>     logoutput=True)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155,
in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
160, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
124, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 262, in action_run
>     tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72,
in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102,
in checked_call
>     tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150,
in _call_wrapper
>     result = _call(command, **kwargs_copy)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303,
in _call
>     raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -s -o /dev/null
-w'%{http_code}' --negotiate -u: -k https://<HOSTNAME>:9995 | grep 200' returned 1.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message