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

Ambari Management Pack: Ambari throws 500 error while downloading OneFS client configuration

    XMLWordPrintableJSON

Details

    Description

      When attemping to download OneFS client configuration, Ambari throws 500 error with below exception:

      org.apache.ambari.server.controller.spi.SystemException: 
      Execution of "ambari-python-wrap /var/lib/ambari-server/resources/stacks/HDP/3.0/services/ONEFS/package/scripts/onefs_client.py generate_configs 
      /var/lib/ambari-server/data/tmp/ONEFS_CLIENT7933335097995561813-configuration.json /var/lib/ambari-server/resources/stacks/HDP/3.0/services/ONEFS/package 
      /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp" returned 1. java.lang.Throwable: ambari_jinja2.exceptions.UndefinedError: 'java_version' is undefined
      

      Reproduction steps:

      1. Log into Amabri UI
      2. Click on "Services" --> "Download All Client Configs" 
      OR
      3. Click on "Service" --> "OneFS" --> "Actions" --> "Download Client Configs"

      Attachments

        Issue Links

          Activity

            People

              sziszo Szilárd Antal
              atian Amanda Tian
              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 - 0.5h
                  0.5h