You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/10/26 20:34:00 UTC

[jira] [Updated] (HDDS-7346) Cannot create EC buckets when Volume has Quotas

     [ https://issues.apache.org/jira/browse/HDDS-7346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uma Maheswara Rao G updated HDDS-7346:
--------------------------------------
        Parent: HDDS-6462
    Issue Type: Sub-task  (was: Bug)

> Cannot create EC buckets when Volume has Quotas
> -----------------------------------------------
>
>                 Key: HDDS-7346
>                 URL: https://issues.apache.org/jira/browse/HDDS-7346
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone CLI, Ozone Client
>            Reporter: Saketa Chalamchala
>            Assignee: Saketa Chalamchala
>            Priority: Major
>
> {code:java}
> # ozone sh volume info o3://ozone1/testquota
> {
>   "metadata" : { },
>   "name" : "testquota",
>   "admin" : "cdpuser1",
>   "owner" : "cdpuser1",
>   "quotaInBytes" : 943718400,
>   "quotaInNamespace" : 1000,
>   "usedNamespace" : 4,
>   "creationTime" : "2022-10-17T15:56:54.886Z",
>   "modificationTime" : "2022-10-17T17:18:17.060Z",
>   "acls" : [ {
>     "type" : "USER",
>     "name" : "cdpuser1",
>     "aclScope" : "ACCESS",
>     "aclList" : [ "ALL" ]
>   }, {
>     "type" : "GROUP",
>     "name" : "cdpuser1",
>     "aclScope" : "ACCESS",
>     "aclList" : [ "ALL" ]
>   } ],
>   "refCount" : 0
> }
> # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket5 --type EC --replication rs-3-2-1024k
> QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.
> # ozone sh bucket create o3://ozone1/testquota/ec-bucket6 --layout=FILE_SYSTEM_OPTIMIZED
> 22/10/17 18:47:53 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket6, with the Bucket Layout FILE_SYSTEM_OPTIMIZED, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
> # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket6 --type EC --replication rs-3-2-1024k
> QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.
> # ozone sh bucket create o3://ozone1/testquota/ec-bucket7 --layout=OBJECT_STORE
> 22/10/17 18:48:38 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket7, with the Bucket Layout OBJECT_STORE, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
> # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket7 --type EC --replication rs-3-2-1024k
> QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared. 
> # ozone fs -mkdir -p ofs://ozone1/testquota/ec-bucket8
> 22/10/17 18:52:52 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket8, with the Bucket Layout FILE_SYSTEM_OPTIMIZED, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
> #  ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket8 --type EC --replication rs-3-2-1024k
> QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org