You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Kishor Ramakrishnan (JIRA)" <ji...@apache.org> on 2018/02/08 22:12:00 UTC

[jira] [Updated] (AMBARI-22946) Download client configs API failing with 500 server error

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

Kishor Ramakrishnan updated AMBARI-22946:
-----------------------------------------
    Description: 
Download client configs API failing with 500 server error
{code:java}
http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/components?format=client_config_tar
http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/hosts/<HOST_NAME>/host_components?format=client_config_tar

{ "status": 500, "message": "org.apache.ambari.server.controller.spi.SystemException: Execution of \"ambari-python-wrap /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py generate_configs /var/lib/ambari-server/data/tmp/KERBEROS_CLIENT2999359502875665328-configuration.json /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp\" returned 1. java.lang.Throwable: Traceback (most recent call last):\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py\", line 20, in <module>\n from kerberos_common import *\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py\", line 32, in <module>\n from ambari_agent import Constants\nImportError: No module named ambari_agent\n" }


{code}

  was:
Download client configs API failing with 500 server error
http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/components?format=client_config_tar
http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/hosts/ctr-e137-1514896590304-64167-01-000002.hwx.site/host_components?format=client_config_tar 

{ "status": 500, "message": "org.apache.ambari.server.controller.spi.SystemException: Execution of \"ambari-python-wrap /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py generate_configs /var/lib/ambari-server/data/tmp/KERBEROS_CLIENT2999359502875665328-configuration.json /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp\" returned 1. java.lang.Throwable: Traceback (most recent call last):\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py\", line 20, in <module>\n from kerberos_common import *\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py\", line 32, in <module>\n from ambari_agent import Constants\nImportError: No module named ambari_agent\n" }


> Download client configs API failing with 500 server error
> ---------------------------------------------------------
>
>                 Key: AMBARI-22946
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22946
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-sever
>    Affects Versions: 2.6.2
>            Reporter: Kishor Ramakrishnan
>            Priority: Major
>             Fix For: 2.6.2
>
>
> Download client configs API failing with 500 server error
> {code:java}
> http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/components?format=client_config_tar
> http://<AMBARI_SERVER>:<PORT>/api/v1/clusters/cl1/hosts/<HOST_NAME>/host_components?format=client_config_tar
> { "status": 500, "message": "org.apache.ambari.server.controller.spi.SystemException: Execution of \"ambari-python-wrap /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py generate_configs /var/lib/ambari-server/data/tmp/KERBEROS_CLIENT2999359502875665328-configuration.json /var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp\" returned 1. java.lang.Throwable: Traceback (most recent call last):\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py\", line 20, in <module>\n from kerberos_common import *\n File \"/var/lib/ambari-server/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py\", line 32, in <module>\n from ambari_agent import Constants\nImportError: No module named ambari_agent\n" }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)