You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/08/31 17:47:00 UTC

[jira] [Resolved] (HDDS-4865) Improve "ozone fs mkdir -p ofs://..." error message when users don't have create volume permission

     [ 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/scm@EXAMPLE.COM
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org