Bug 1986493

Summary: Upload jar files: Java commands are JAVA_ARGS not the purported container command
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aos-bugs, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:42:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Jerolimov 2021-07-27 16:49:12 UTC
Description of problem:
When a user uploads a jar file the form shows an input for the "Java commands" (which should be "Java command" if this is the cli command).

But this field doesn't set the Java command (container command) as expected or purport. It sets the environment variable JAVA_ARGS instead. This could confuse users which expect to set a java command like "java -jar ... -port 8080 -otherParameter true" here.

Version-Release number of selected component (if applicable):
4.9

How reproducible:
Always

Steps to Reproduce:
1. Open developer perspective
2. Add page > Upload jar file

Actual results:
JAVA_ARGS environment variable field is labeled as "Java commands"

Expected results:
If setting the JAVA_ARGS as environment variables works fine for our users (instead of setting the container command), the field should be labeled as "Java arguments (JAVA_ARGS)".

Additional info:
None

Comment 2 Debsmita Santra 2021-08-05 11:03:25 UTC
verified on 4.9.0-0.nightly-2021-08-04-131508

Comment 5 errata-xmlrpc 2021-10-18 17:42:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759