Bug 1319670 - regression : RHGS 3.0 introduced a maximum value length in the info files
Summary: regression : RHGS 3.0 introduced a maximum value length in the info files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHGS 3.1.3
Assignee: Satish Mohan
QA Contact: Byreddy
URL:
Whiteboard:
Depends On:
Blocks: 1311817
TreeView+ depends on / blocked
 
Reported: 2016-03-21 10:08 UTC by Gaurav Kumar Garg
Modified: 2016-09-17 16:45 UTC (History)
14 users (show)

Fixed In Version: glusterfs-3.7.9-1
Doc Type: Bug Fix
Doc Text:
Previously, if a user set an option where the number of characters in the key/value pair was greater than the value of PATH_MAX (4096), a restriction in the fgets operation meant that tokenizing the option failed. This meant that when users attempted to restart glusterd after setting a very long key/value pair, glusterd did not restart. This update ensures that the buffer length is controlled by the gf_store_read_and_tokenize operation so that tokenizing succeeds.
Clone Of: 1269203
Environment:
Last Closed: 2016-06-23 05:04:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Comment 3 Gaurav Kumar Garg 2016-03-21 10:10:32 UTC
this bug is to track the fix
which was already in 3.1.2 but missed out as part of rebasing to 3.1.3
from upstream 3.7.9

Comment 4 Gaurav Kumar Garg 2016-03-21 10:12:31 UTC
downstream patch for this bug: https://code.engineering.redhat.com/gerrit/70324

Comment 7 Byreddy 2016-04-05 04:51:58 UTC
Verified this bug using the build "glusterfs-3.7.9-1".


Set a key/value longer than 4096 characters for a volume and restarted glusterd, restart worked properly without any error message.

Steps done to verify:
=====================
1. Set the volume option "auth.allow" with 4109 characters
2. Restarted glusterd



With these details, moving the bug to verified state

Comment 11 Atin Mukherjee 2016-06-14 03:47:55 UTC
LGTM :)

Comment 13 errata-xmlrpc 2016-06-23 05:04:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1240


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