Hi everyone, I have a question about using encryption in Gluster FS. 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. I found that the content I got is from cache and no decryption is operated on the file content, so mess code returns. If I set the following property to off, then everything is OK. performance.quick-read performance.write-behind performance.open-behind My question is : Is above metioned phenomenon right? Does I have wrong configurations? OS : CentOS 7.1 Gluster FS: 3.10.3 Configuration According quick start of official website, set features.encryption to on and encryption.master-key, then start and mount the volume. Looking forward to your answers. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170705/d7ec1a07/attachment.html>
It looks like a bug to me. Can you file an issue in github. Regards Rafi KC On 07/05/2017 03:30 PM, Liu, Dan wrote:> > Hi everyone, > > > > I have a question about using encryption in Gluster FS. > > > > 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. > > I found that the content I got is from cache and no decryption is > operated on the file content, so mess code returns. > > If I set the following property to off, then everything is OK. > > performance.quick-read > > performance.write-behind > > performance.open-behind > > > > My question is : > > Is above metioned phenomenon right? > > Does I have wrong configurations? > > > > OS : CentOS 7.1 > > Gluster FS: 3.10.3 > > > > Configuration > > According quick start of official website, set features.encryption > to on and encryption.master-key, then start and mount the volume. > > > > Looking forward to your answers. Thanks. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170727/a13abeb3/attachment.html>
HI I have filed an issue to the bugzilla, please refer to this hyper-link. https://bugzilla.redhat.com/show_bug.cgi?id=1477014 Regards ???: Mohammed Rafi K C [mailto:rkavunga at redhat.com] ????: 2017?7?27? 22:02 ???: Liu, Dan/? ?; gluster-users at gluster.org ??: Re: [Gluster-users] Mess code when encryption It looks like a bug to me. Can you file an issue in github. Regards Rafi KC On 07/05/2017 03:30 PM, Liu, Dan wrote: Hi everyone, I have a question about using encryption in Gluster FS. 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. I found that the content I got is from cache and no decryption is operated on the file content, so mess code returns. If I set the following property to off, then everything is OK. performance.quick-read performance.write-behind performance.open-behind My question is : Is above metioned phenomenon right? Does I have wrong configurations? OS : CentOS 7.1 Gluster FS: 3.10.3 Configuration According quick start of official website, set features.encryption to on and encryption.master-key, then start and mount the volume. Looking forward to your answers. Thanks. _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://lists.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170814/b57346b3/attachment.html>