Bug 1590710 - Gluster Block PVC fails to mount on Jenkins pod
Summary: Gluster Block PVC fails to mount on Jenkins pod
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1591185 1591187
TreeView+ depends on / blocked
 
Reported: 2018-06-13 09:02 UTC by Pranith Kumar K
Modified: 2018-10-23 15:11 UTC (History)
10 users (show)

Fixed In Version: glusterfs-5.0
Clone Of: 1590633
: 1591185 1591187 (view as bug list)
Environment:
Last Closed: 2018-10-23 15:11:37 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Pranith Kumar K 2018-06-13 09:08:40 UTC
On a gluster volume with 100GB if we try to create a gluster-block of size 100GB with pre-allocation, block creation succeeds but it silently fails to allocate the correct sizes for the shards on the posix xlator.

sh-4.2# du -sh .shard/* | awk '{print $1}' | sort | uniq -c
      1 18M
      1 26M
   1597 64M

Because of this when writes happen on a pre-allocated block device, writes fail with ENOSPC which shouldn't happen for preallocated files.

Comment 2 Worker Ant 2018-06-13 09:11:58 UTC
REVIEW: https://review.gluster.org/20254 (storage/posix: Handle ENOSPC correctly in zero_fill) posted (#1) for review on master by Pranith Kumar Karampuri

Comment 3 Worker Ant 2018-06-14 05:45:00 UTC
COMMIT: https://review.gluster.org/20254 committed in master by "jiffin tony Thottan" <jthottan> with a commit message- storage/posix: Handle ENOSPC correctly in zero_fill

Change-Id: Icc521d86cc510f88b67d334b346095713899087a
fixes: bz#1590710
Signed-off-by: Pranith Kumar K <pkarampu>

Comment 4 Shyamsundar 2018-10-23 15:11:37 UTC
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-5.0, please open a new bug report.

glusterfs-5.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] https://lists.gluster.org/pipermail/announce/2018-October/000115.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.