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 2022/05/24 18:04:00 UTC
[jira] [Commented] (HDDS-6604) [MultiTenancy] Tenant being created on existing volume
[ https://issues.apache.org/jira/browse/HDDS-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541645#comment-17541645 ]
Siyao Meng commented on HDDS-6604:
----------------------------------
Hmm, cannot reproduce on the latest HDDS-4944 branch:
{code}
bash-4.2$ ozone sh volume create vol1
bash-4.2$ ozone tenant create vol1
2022-05-24 10:27:52,558 [main] INFO rpc.RpcClient: Creating Tenant: 'vol1', with new volume: 'vol1'
VOLUME_ALREADY_EXISTS Volume already exists
{code}
> [MultiTenancy] Tenant being created on existing volume
> ------------------------------------------------------
>
> Key: HDDS-6604
> URL: https://issues.apache.org/jira/browse/HDDS-6604
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Manager
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Priority: Major
> Labels: ozone-multitenancy
>
> As per design tenant should not be created on an existing volume as we don't know the policies associated with existing volume.
> But I was able to create tenant on an existing volume.
> {code:java}
> bash-4.2$ ozone sh volume create test
> bash-4.2$ echo $?
> 0
> bash-4.2$ ozone tenant create test
> 2022-04-19 15:54:11,665 [main] INFO rpc.RpcClient: Creating Tenant: 'test', with new volume: 'test'
> Created tenant 'test'.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org