Huang Kuan Hao created HDDS-15854:
-------------------------------------
Summary: Revert HDDS-15467 : removing the OM starter-user fallback
breaks internal doAs writes
Key: HDDS-15854
URL: https://issues.apache.org/jira/browse/HDDS-15854
Project: Apache Ozone
Issue Type: Bug
Reporter: Huang Kuan Hao
Assignee: Huang Kuan Hao
HDDS-15467 (#10469) removed the getUserIfNotExists fallback in OMClientRequest.
This breaks OM-internal writes that carry their identity via ugi.doAs().
For example, the object TTL service creating a .Trash/.../Current directory
fails on the Ratis apply path with UNAUTHORIZED:
{code:java}
UNAUTHORIZED ... AuthenticationException: User info is not set. Please check
client auth credentials
at OMClientRequest.createUGIForApi(OMClientRequest.java:391)
at OMKeyRequest.getAclsForDir(OMKeyRequest.java:388)
at OMKeyRequest.createDirectoryInfoWithACL(...)
at OMKeyRequest.getAllMissingParentDirInfo(...)
at OMDirectoryCreateRequestWithFSO.validateAndUpdateCache(...){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]