Bug 1477014 - Using encryption, write and read a small file, then mess code returns
Using encryption, write and read a small file, then mess code returns
Status: NEW
Product: GlusterFS
Classification: Community
Component: encryption-xlator (Show other bugs)
3.10
x86_64 Unspecified
unspecified Severity high
: ---
: ---
Assigned To: bugs@gluster.org
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-01 01:00 EDT by liud.fnst
Modified: 2017-08-01 01:00 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description liud.fnst 2017-08-01 01:00:58 EDT
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.

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