| Summary: | RFE: rados tool should fail with ENPSPC when maximum objects quota exceeded | ||
|---|---|---|---|
| Product: | Red Hat Ceph Storage | Reporter: | Lubos Trilety <ltrilety> |
| Component: | RADOS | Assignee: | Josh Durgin <jdurgin> |
| Status: | CLOSED DEFERRED | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.3.2 | CC: | anharris, ceph-eng-bugs, ceph-qe-bugs, dzafman, kchai, kdreyer, nlevine, uboppana, vakulkar |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | 3.* | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-10.2.0-1.el7cp | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-30 14:58:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Lubos Trilety
2016-03-01 09:09:03 UTC
Yep, easy to reproduce. I've created an upstream ticket. We'll presumably get to it during the jewel stabilization phase. Also, I think ENOSPC is a reasonable return value here. Just looked at master, it seems to be fixed. I don't think it's a good idea to backport it -- it required client side changes as well. I'm marking this for 2.0. This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Based on Sam's comment #4 above and the upstream tracker ticket, this fix will be in RHCS 2 only (not RHCS 1.3). The error message is still not clear once the max object quota is reached. The output should exit with a valid error message stating that the max object quota is exceeded. But, it gets stuck and the output is also not clear. [root@magna020 ~]# rados -p pool3 put testobject11 test.txt --cluster master 2016-05-30 12:56:07.413123 7f2e7c87fa40 0 client.40291.objecter FULL, paused modify 0x7f2e7cc61f50 tid 0 ^C The "getting stuck" there is deliberate. It's waiting for the cluster to become not full. Do we really want applications to get ENOSPC in that case? This is an RFE not a bug for 2.0. Please modify subject or close this BZ and open a new one. (In reply to Samuel Just from comment #11) > The "getting stuck" there is deliberate. It's waiting for the cluster to > become not full. Do we really want applications to get ENOSPC in that case? Sam, I think Yes, If you are using any automated scripts it doesn't return if it gets stuck. SO it's better to provide the ENOSPC in such cases. Yes, but it would also return ENOSPC to librbd, which would be really bad. I think this is an RFE to improve the rados tool to not block in that case since we definitely don't want to return ENPSPC to most clients. I have closed this issue because it has been inactive for some time now. If you feel this still deserves attention feel free to reopen it. |