Bug 1054151
| Summary: | [SNAPSHOT]: Snapshot list shows epoch time on the nodes after glusterd restart | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik |
| Component: | snapshot | Assignee: | Sachin Pandit <spandit> |
| Status: | CLOSED ERRATA | QA Contact: | senaik |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rhgs-3.0 | CC: | asengupt, nlevinki, nsathyan, rhs-bugs, rjoseph, ssamanta, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | SNAPSHOT | ||
| Fixed In Version: | glusterfs-3.4.2.snap.Mar11.2014 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-22 19:31:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1044476 | ||
| Bug Blocks: | 1039956 | ||
|
Description
senaik
2014-01-16 10:46:56 UTC
This was happening because during glusterd snaptime was not getting read from the snap_list.info properly. http://review.gluster.org/#/c/6720/ Version : glusterfs 3.4.1.0.snap.feb05.2014git ======= On restarting glusterd , snaps taken on the volume are not listed , which is tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1044476 (Re-opened) Verification of this bug depends on 1044476 .Moving the bug to Assigned We were hitting this issue because snapshot time was not made persistent during the snapshot create. Fixed it. Fixed with http://review.gluster.org/#/c/7123/21 Version : glusterfs 3.4.1.6.snap.mar25.2014git ======= With the new snap driven changes, snapshot info command will be used to get the snapshot details and snapshot list will only be listing the snapshots as below : [root@snapshot-01 ~]# gluster snapshot list snap_vol1_1 snap_vol1_2 snap_vol1_3 snap_vol1_4 Steps: ------ 1) On a dist-replicate volume, created 10 snapshots 2) Use snapshot info command to get the snapshot information gluster snapshot info volume vol1 Volume Name : vol1 Snaps Taken : 10 Snaps Available : 246 Snapshot : snap_vol1_1 Snap UUID : d45ccab8-8b06-4472-87e6-f329fa2322de Created : 2014-03-26 09:07:23 Status : Started Snapshot : snap_vol1_2 Snap UUID : 14636ecb-238e-49bb-974a-4ddc817b0a89 Created : 2014-03-26 09:07:29 Status : Started Snapshot : snap_vol1_3 Snap UUID : 9b1a7b09-f885-49b9-a3f8-39bd51a3694e Created : 2014-03-26 09:07:33 Status : Started gluster snapshot info snap_vol1_2 Snapshot : snap_vol1_2 Snap UUID : 14636ecb-238e-49bb-974a-4ddc817b0a89 Created : 2014-03-26 09:07:29 Snap Volumes: Snap Volume Name : f0c649d867da4f58840c5136da1c5d55 Origin Volume name : vol1 Snaps taken for vol1 : 10 Snaps available for vol1 : 246 Status : Started 3) Restart glusterd 4) Use snapshot info command again and the check the snap created time. gluster snapshot info volume vol1 Volume Name : vol1 Snaps Taken : 10 Snaps Available : 246 Snapshot : snap_vol1_1 Snap UUID : d45ccab8-8b06-4472-87e6-f329fa2322de Created : 2014-03-26 09:07:23 Status : Started Snapshot : snap_vol1_2 Snap UUID : 14636ecb-238e-49bb-974a-4ddc817b0a89 Created : 2014-03-26 09:07:29 Status : Started Snapshot : snap_vol1_3 Snap UUID : 9b1a7b09-f885-49b9-a3f8-39bd51a3694e Created : 2014-03-26 09:07:33 Status : Started gluster snapshot info snap_vol1_2 Snapshot : snap_vol1_2 Snap UUID : 14636ecb-238e-49bb-974a-4ddc817b0a89 Created : 2014-03-26 09:07:29 Snap Volumes: Snap Volume Name : f0c649d867da4f58840c5136da1c5d55 Origin Volume name : vol1 Snaps taken for vol1 : 10 Snaps available for vol1 : 246 Status : Started Snapshot created time is shown correctly after restarting glusterd Marking the bug as 'Verified' Marking snapshot BZs to RHS 3.0. Setting flags required to add BZs to RHS 3.0 Errata 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 |