Bug 1212413
Summary: | [RFE] Return proper error codes in case of snapshot failure | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Avra Sengupta <asengupt> | |
Component: | snapshot | Assignee: | Avra Sengupta <asengupt> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | mainline | CC: | asengupt, bugs, csaba, deepakcs, dshetty, gluster-bugs, nlevinki, rcyriac, rhs-bugs, rwheeler, storage-qa-internal, vagarwal, vbellur | |
Target Milestone: | --- | Keywords: | Reopened, Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | Scheduler | |||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1186216 | |||
: | 1226117 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 12:52:08 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: | ||
Embargoed: | ||||
Bug Depends On: | 1186216, 1211643 | |||
Bug Blocks: | 1186580, 1226117 |
Comment 1
Anand Avati
2015-04-21 12:15:40 UTC
Submitted the first patch. Will be sending subsequent patches once this gets merged REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct ret codes in events of failure - PATCH 1) posted (#2) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#3) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#4) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#1) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#2) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#5) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#3) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#6) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#4) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#7) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#5) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#6) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#8) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#7) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#8) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#9) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#10) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#11) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#12) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#13) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#9) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#14) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#15) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10313 (glusterd/snapshot: Return correct errno in events of failure - PATCH 1) posted (#10) for review on master by Avra Sengupta (asengupt) COMMIT: http://review.gluster.org/10313 committed in master by Krishnan Parthasarathi (kparthas) ------ commit 4397d7e72fdff6f01c59b72eebea421f23c1a392 Author: Avra Sengupta <asengupt> Date: Tue May 5 10:58:10 2015 +0530 glusterd/snapshot: Return correct errno in events of failure - PATCH 1 RETCODE ERROR ------------------------------------------- 30800 Internal Error 30801 Another Transaction In Progress Change-Id: Ica7fd2e513b2c28717b6df73cfb2667725dbf057 BUG: 1212413 Signed-off-by: Avra Sengupta <asengupt> Reviewed-on: http://review.gluster.org/10313 Reviewed-by: Rajesh Joseph <rjoseph> Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System Reviewed-by: Krishnan Parthasarathi <kparthas> REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#16) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#17) for review on master by Avra Sengupta (asengupt) REVIEW: http://review.gluster.org/11010 (mgmt/glusterd: Add glusterd-errno.h to Makefile) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: http://review.gluster.org/10588 (glusterd/snapshot: Return correct errno in events of failure - PATCH 2) posted (#18) for review on master by Avra Sengupta (asengupt) Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well. This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |