Amanda Tian created AMBARI-25403:
------------------------------------
Summary: Ambari Management Pack: Ambari throws 500 error while
downloading OneFS client configuration
Key: AMBARI-25403
URL: https://issues.apache.org/jira/browse/AMBARI-25403
Project: Ambari
Issue Type: Bug
Components: contrib
Affects Versions: 2.7.0
Reporter: Amanda Tian
When attemping to download OneFS client configuration, Ambari throws 500 error
with below exception:
{code:java}
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
{code}
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"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)