[Bugs] [Bug 1477014] New: Using encryption, write and read a small file, then mess code returns

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 1 05:00:58 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1477014

            Bug ID: 1477014
           Summary: Using encryption, write and read a small file, then
                    mess code returns
           Product: GlusterFS
           Version: 3.10
         Component: encryption-xlator
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: liud.fnst at cn.fujitsu.com
                CC: bugs at gluster.org



Description of problem:
Using encryption, write and read a small file, then mess code returns

Version-Release number of selected component (if applicable):
3.10.3

How reproducible:


Steps to Reproduce:
1.Created a file (file size is smaller than 1k) in the volume’s mount point.
2.Read the file, finally got a mess code.


Actual results:
no decryption is operated on the file content, so mess code returns.


Expected results:
Returns the correct data

Additional info:
I found that the content I got is from cache.
If I set the following property to off, then everything is OK.
performance.quick-read
performance.write-behind
performance.open-behind

OS : CentOS 7.1

Configuration
   According quick start of official website, set features.encryption to on and
encryption.master-key, then start and mount the volume.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list