Bug 1105439 - [USS]: RPC to retrieve snapshot list from glusterd and enable snapd (snapview-server) to refresh snap list dynamically
Summary: [USS]: RPC to retrieve snapshot list from glusterd and enable snapd (snapvie...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Ric Wheeler
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 06:52 UTC by Anand Subramanian
Modified: 2016-01-04 04:40 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of:
Environment:
Last Closed: 2014-11-11 08:34:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anand Subramanian 2014-06-06 06:52:25 UTC
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:

Comment 1 Anand Avati 2014-06-06 09:00:03 UTC
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)

Comment 2 Anand Avati 2014-06-06 09:07:44 UTC
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)

Comment 3 Anand Avati 2014-06-06 11:09:12 UTC
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)

Comment 4 Anand Avati 2014-06-06 11:35:05 UTC
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)

Comment 5 Anand Avati 2014-06-09 11:41:42 UTC
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)

Comment 6 Anand Avati 2014-06-10 10:24:10 UTC
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)

Comment 7 Anand Avati 2014-06-10 10:33:50 UTC
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)

Comment 8 Anand Avati 2014-06-11 06:23:48 UTC
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)

Comment 9 Anand Avati 2014-06-12 07:29:11 UTC
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)

Comment 10 Anand Avati 2014-06-12 12:29:37 UTC
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)

Comment 11 Anand Avati 2014-06-12 12:39:51 UTC
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)

Comment 12 Anand Avati 2014-06-13 09:58:48 UTC
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)

Comment 13 Anand Avati 2014-06-13 13:25:47 UTC
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)

Comment 14 Anand Avati 2014-06-13 13:34:06 UTC
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)

Comment 15 Anand Avati 2014-06-13 13:41:04 UTC
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)

Comment 16 Anand Avati 2014-06-13 16:13:36 UTC
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)

Comment 17 Anand Avati 2014-06-15 17:33:32 UTC
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>

Comment 18 Anand Avati 2014-06-16 08:45:41 UTC
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)

Comment 19 Anand Avati 2014-06-16 10:04:52 UTC
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)

Comment 20 Anand Avati 2014-06-16 12:20:04 UTC
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>

Comment 21 Niels de Vos 2014-09-22 12:42:19 UTC
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/

Comment 22 Niels de Vos 2014-11-11 08:34:33 UTC
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


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