Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22946

Download client configs API failing with 500 server error

    XMLWordPrintableJSON

Details

    Description

      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/<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" }
      
      
      

      Attachments

        Activity

          People

            amagyar Attila Magyar
            kramakrishnan Kishor Ramakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h