You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Soumitra Sulav (Jira)" <ji...@apache.org> on 2024/04/15 12:54:00 UTC
[jira] [Created] (HDDS-10694) Tenant API throwing internal error exception on the console
Soumitra Sulav created HDDS-10694:
-------------------------------------
Summary: Tenant API throwing internal error exception on the console
Key: HDDS-10694
URL: https://issues.apache.org/jira/browse/HDDS-10694
Project: Apache Ozone
Issue Type: Bug
Components: s3gateway
Reporter: Soumitra Sulav
On an invalid user, the tenant API is dumping internal exception message on the client console
{code:java}
[root@ccycloud-1.quasar-vqbgau.root.comops.site ~]# ozone tenant user assign scm/ccycloud-1.quasar-vqbgau.root.comops.site --tenant=test
24/04/15 11:46:57 INFO protocolPB.OmTransportFactory: Loading OM transport implementation org.apache.hadoop.ozone.om.protocolPB.Hadoop3OmTransportFactory as specified by configuration.
24/04/15 11:46:58 INFO client.ClientTrustManager: Loading certificates for client.
TENANT_AUTHORIZER_ERROR java.io.IOException: org.apache.ranger.RangerServiceException: Ranger API org.apache.ranger.RangerClient$API@18f17eea failed: statusCode=400, status=Bad Request, response:{"statusCode":1,"msgDesc":"user with name: scm/ccycloud-1.quasar-vqbgau.root.comops.site does not exist ","messageList":[{"name":"INVALID_INPUT_DATA","rbKey":"xa.validation.invalid_input_data","message":"Invalid input data"}]} {code}
There is no need for user to experience such messages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org