Description of problem:
1. Creating a Normal User: ``` $ oc create user test user.user.openshift.io/test created $ oc get user NAME UID FULL NAME IDENTITIES test cef90f53-715e-4c10-9e26-c431d31de8c3 ``` This command worked as expected, and the user appeared correctly in both the CLI and the web console. 2. Using Special Characters: ``` $ oc create user test$*( > test) user.user.openshift.io/test( test) created $ oc get user NAME UID FULL NAME IDENTITIES test cef90f53-715e-4c10-9e26-c431d31de8c3 test(... 50f2ad2b-1385-4b3c-b32c-b84531808864 ``` In this case, the user was created successfully and displayed correctly in the web console as test( test). However, the CLI output was not as expected. 3. Handling Quoted Names: ``` $ oc create user test' > test' $ oc get user NAME UID FULL NAME IDENTITIES test... 1fdaadf0-7522-4d38-9894-ee046a58d835 ``` Similarly, creating a user with quotes produced a discrepancy: the CLI displayed test..., but the web console showed it as test test.
Version-Release number of selected component (if applicable):
4.16
How reproducible:
100%
Steps to Reproduce:
Given in the description.
Actual results:
The user list is not getting listed properly.
Expected results:
1. User should not be created with a line break. 2. If they are being created, then they should be displayed properly.
Additional info:
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update