[
https://issues.apache.org/jira/browse/HDDS-7346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen O'Donnell updated HDDS-7346:
------------------------------------
Summary: Cannot set bucket args when the bucket has quota set (was: Cannot
bucket args when the bucket has quota set)
> Cannot set bucket args when the bucket has quota set
> ----------------------------------------------------
>
> 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: Stephen O'Donnell
> 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: [email protected]
For additional commands, e-mail: [email protected]