Description of problem: ======================= When a restore happens as part of missed restored, the entry of snap volume under snaps directory after successful restore doesnt clear. Also all the gluster cli's times out Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.6.0.5-1.el6rhs.x86_64 How reproducible: ================= 1/1 Steps to Reproduce: =================== 1. Create and start the volume(2*2) from 4 nodes 2. Create a snapshot of volume 3. kill glusterd on node2 4. bring down the node4(poweroff) 5. offline the volume from node1 (gluster volume stop volume) 6. Restore the volume to snapshot taken at step2 7. Start the glusterd on node2 8. bring back the node4 Actual results: =============== 1. snap volume entry under /var/lib/glusterd/snaps/ of node2 and node4 still present 2. Any gluster command hung and eventually times out since glusterd is trying to do the handshake Expected results: ================= 1. snap volume entry under /var/lib/glusterd/snaps/ of node2 and node4 should be deleted 2. Any gluster command should succeed
Fix at https://code.engineering.redhat.com/gerrit/25736
During verification hit bz 1108652, marking it dependent for verification
Version : glusterfs 3.6.0.17 ======= Repeated the steps as mentioned in 'Steps to Reproduce' missed snaps list shows the entry with Snap UUID with 3:2 ratio . Marking the bug 'Verified' Node where glusterd was down : ============================ cat /var/lib/glusterd/snaps/missed_snaps_list |grep cbe565c107bf4a589420730504d1f9f8 ad1244a5-7c43-4812-808d-cae70399fecf:c8c90378-4ec4-41ff-83c9-4d731916c064=cbe565c107bf4a589420730504d1f9f8:2:/var/run/gluster/snaps/cbe565c107bf4a589420730504d1f9f8/brick2/b1:3:2 9f6160b0-a4db-47a5-ab8f-b7f0a328eadc:c8c90378-4ec4-41ff-83c9-4d731916c064=cbe565c107bf4a589420730504d1f9f8:4:/var/run/gluster/snaps/cbe565c107bf4a589420730504d1f9f8/brick4/b1:3:2 Node which was powered off and brought back up : ============================================== cat /var/lib/glusterd/snaps/missed_snaps_list |grep cbe565c107bf4a589420730504d1f9f8 ad1244a5-7c43-4812-808d-cae70399fecf:c8c90378-4ec4-41ff-83c9-4d731916c064=cbe565c107bf4a589420730504d1f9f8:2:/var/run/gluster/snaps/cbe565c107bf4a589420730504d1f9f8/brick2/b1:3:2 9f6160b0-a4db-47a5-ab8f-b7f0a328eadc:c8c90378-4ec4-41ff-83c9-4d731916c064=cbe565c107bf4a589420730504d1f9f8:4:/var/run/gluster/snaps/cbe565c107bf4a589420730504d1f9f8/brick4/b1:3:2
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. http://rhn.redhat.com/errata/RHEA-2014-1278.html