Attila Doroszlai created HDDS-2352:
--------------------------------------
Summary: Client gets internal error instead of volume not found in
secure cluster
Key: HDDS-2352
URL: https://issues.apache.org/jira/browse/HDDS-2352
Project: Hadoop Distributed Data Store
Issue Type: Bug
Components: Ozone Manager
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
New Freon generators create volume and bucket if necessary. This does not work
in secure cluster for volume, but works for bucket:
{code}
$ cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozonesecure
$ docker-compose exec scm bash
$ kinit -kt /etc/security/keytabs/testuser.keytab testuser/[email protected]
$ ozone freon ockg -n 1
...
Check access operation failed for volume:vol1
...
Successful executions: 0
$ ozone sh volume create vol1
$ ozone freon ockg -n 1
...
2019-10-23 18:30:27,279 [main] INFO - Creating Bucket: vol1/bucket1, with
Versioning false and Storage Type set to DISK and Encryption set to false
...
Successful executions: 1
{code}
The problem is that {{VOLUME_NOT_FOUND}} result is lost during ACL check, and
client gets {{INTERNAL_ERROR}} instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]