Description of problem: Infrastructure change to introduce a RPC in glusterd to retrieve the list of snapshots dynamically and change to enable snapd (snapview-server xlator) to use this RPC to refresh its snap list dynamically. Currently the polling interval for new snaps is set to 300s (5 mins). This is not a tunable currently and given the requirements for USS, it does not seem to be an issue. We can change that or make it configurable if required. Without this change the list of snapshots that appear in USS will not be dynamic or refreshed ie. new snapshots will not be picked up at run-time. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Try to use USS by accessing the .snaps directory 2. Create a new snapshot and wait for 5 minutes 3. Try to access the .snaps directory; the new snapshot should appear there. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and associated infra for snapview-server to refresh snaplist) posted (#1) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#2) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#3) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#4) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#5) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#6) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#7) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#8) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#9) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#10) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#11) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#12) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#13) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#14) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#15) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8001 (Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist) posted (#16) for review on master by Anand Subramanian (anands)
COMMIT: http://review.gluster.org/8001 committed in master by Vijay Bellur (vbellur) ------ commit ec845d93e74644bbfe27e0b085a38dbd7c02480f Author: Anand Subramanian <anands> Date: Thu May 15 08:19:14 2014 +0530 Get snapshot info dynamically via new rpc and infra for snapview-server to refresh snaplist BUG: 1105439 Change-Id: I4bb312a53d88f6f4955e69a3ef2b4955ec17f26d Signed-off-by: Anand Subramanian <anands> Reviewed-on: http://review.gluster.org/8001 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur>
REVIEW: http://review.gluster.org/8071 (Minor fixes for correcting the goto statements for frame destroy and checking pthread_mutex_lock return values Signed-off-by: Anand Subramanian <anands>) posted (#1) for review on master by Anand Subramanian (anands)
REVIEW: http://review.gluster.org/8071 (Minor fixes for correcting the goto statements for frame destroy and checking pthread_mutex_lock return values) posted (#2) for review on master by Anand Subramanian (anands)
COMMIT: http://review.gluster.org/8071 committed in master by Vijay Bellur (vbellur) ------ commit 4f9dff83ad3b91fcb066f26c1085ada002b3bc36 Author: Anand Subramanian <anands> Date: Mon Jun 16 07:10:32 2014 +0530 Minor fixes for correcting the goto statements for frame destroy and checking pthread_mutex_lock return values * Also some coverity fixes Signed-off-by: Anand Subramanian <anands> Change-Id: I0c27b913e62b0a072e508e37a3fb3421a9ca9503 BUG: 1105439 Signed-off-by: Anand Subramanian <anands> Reviewed-on: http://review.gluster.org/8071 Reviewed-by: Raghavendra Bhat <raghavendra> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur>
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users