Description of problem: ======================== Getting the warning message while erasing the gluster packages. Erasing : glusterfs-server-3.8.4-7.el7rhgs.x86_64 8/17 warning: file /var/lib/glusterd/glusterfind/.keys: remove failed: No such file or directory success Erasing : glusterfs-fuse-3.8.4-7.el7rhgs.x86_64 Note: This issue is not there in rhgs 3.1.3 build (more details in additional info section) Version-Release number of selected component (if applicable): ============================================================= glusterfs-server-3.8.4-7.el7rhgs.x86_64 How reproducible: ================= Always Steps to Reproduce: =================== 1. Install the above mentioned build 2. Create -> start -> stop -> delete a simple volume. 3. Try to erase the packages, you will see the above warning message. Actual results: ============== Getting the warning message while erasing the gluster packages. Expected results: ================= No warning message should come Additional info: ================ problem in 3.2 is, the ".key" file is not creating in 3.2 after installation of bits BUT the same file is present in 3.1.3 build after installation.
Is there any functional impact here apart from the log? I guess no right?
(In reply to Atin Mukherjee from comment #2) > Is there any functional impact here apart from the log? I guess no right? No functionality loss BUT This is Regression and TPS package erase tests will fail.
I think would be functional impact here. gluster volume delete causes the "post delete" hook script to run. The "post delete" script mistakenly deletes the .keys directory under /var/lib/glusterd/glusterfind which may cause SSH keys to be deleted if there were glusterfind sessions created on the node. Although the issue has become evident as part of erasing RPMs, the problem is not related to packaging. This needs to be fixed.
(In reply to Milind Changire from comment #4) > I think would be functional impact here. > > gluster volume delete causes the "post delete" hook script to run. The "post > delete" script mistakenly deletes the .keys directory under > /var/lib/glusterd/glusterfind which may cause SSH keys to be deleted if > there were glusterfind sessions created on the node. > > Although the issue has become evident as part of erasing RPMs, the problem > is not related to packaging. > > This needs to be fixed. Thanks a lot for your update Milind
upstream mainline patch http://review.gluster.org/#/c/16052 posted for review.
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-2018:3827