[
https://issues.apache.org/jira/browse/HDDS-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng resolved HDDS-4865.
------------------------------
Resolution: Duplicate
Duplicates HDDS-5279.
Note: Initially I thought it's just the error message is misleading hence the
title, but later found the root cause is actually a bug when ACL is enabled.
For more details, see HDDS-5279 and its PR.
> Improve "ozone fs mkdir -p ofs://..." error message when users don't have
> create volume permission
> --------------------------------------------------------------------------------------------------
>
> Key: HDDS-4865
> URL: https://issues.apache.org/jira/browse/HDDS-4865
> Project: Apache Ozone
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
>
> When the user doesn't have permission to create volume, the mkdir -p command
> implicitly involving volume creation will fail with a confusing message
> "Volume vol2 is not found"
> Reproducible in Docker with compose/ozonesecure:
> {code}
> bash-4.2$ kinit -kt /etc/security/keytabs/testuser.keytab
> testuser/[email protected]
> bash-4.2$ ozone fs -mkdir -p ofs://om/vol2/bucket2
> mkdir: Volume vol2 is not found
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]