You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Saketa Chalamchala (Jira)" <ji...@apache.org> on 2022/10/17 18:55:00 UTC

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

Saketa Chalamchala created HDDS-7346:
----------------------------------------

             Summary: 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: Bug
          Components: Ozone CLI, Ozone Client
            Reporter: Saketa Chalamchala


{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