Bug 1108652
| Summary: | [SNAPSHOT]: Restore fails with prevalidation when the glusterd is restarted after the quorum didnt match | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
| Component: | snapshot | Assignee: | rjoseph | |
| Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | rhgs-3.0 | CC: | nsathyan, rhs-bugs, ssamanta, storage-qa-internal | |
| Target Milestone: | --- | |||
| Target Release: | RHGS 3.0.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | SNAPSHOT | |||
| Fixed In Version: | glusterfs-3.6.0.17-1.el6rhs | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1109024 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-22 19:41:19 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: | ||||
| Bug Blocks: | 1067342, 1100282, 1109024 | |||
|
Description
Rahul Hinduja
2014-06-12 11:42:29 UTC
Verified with build: glusterfs-3.6.0.17-1.el6rhs.x86_64 [root@snapshot13 ~]# gluster snapshot list vol0 snap1 [root@snapshot13 ~]# [root@snapshot13 ~]# [root@snapshot13 ~]# [root@snapshot13 ~]# cat /var/lib/glusterd/snaps/missed_snaps_list [root@snapshot13 ~]# gluster peer status Number of Peers: 3 Hostname: snapshot14.lab.eng.blr.redhat.com Uuid: 359bb151-a987-4dd1-a1e6-6fe2c3c30b9e State: Peer in Cluster (Disconnected) Hostname: snapshot15.lab.eng.blr.redhat.com Uuid: 262f8999-3c5e-4ccf-8efc-47ccce690ff8 State: Peer in Cluster (Connected) Hostname: snapshot16.lab.eng.blr.redhat.com Uuid: 4afe2c38-2cb0-432a-81ec-18799eaea5cd State: Peer in Cluster (Disconnected) [root@snapshot13 ~]# gluster volume stop vol0 Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y volume stop: vol0: success [root@snapshot13 ~]# [root@snapshot13 ~]# ls /var/lib/glusterd/trash/ ls: cannot access /var/lib/glusterd/trash/: No such file or directory [root@snapshot13 ~]# cat /var/lib/glusterd/snaps/missed_snaps_list [root@snapshot13 ~]# gluster snapshot restore snap1 snapshot restore: failed: glusterds are not in quorum Snapshot command failed [root@snapshot13 ~]# ls /var/lib/glusterd/trash/ ls: cannot access /var/lib/glusterd/trash/: No such file or directory [root@snapshot13 ~]# [root@snapshot13 ~]# gluster peer status Number of Peers: 3 Hostname: snapshot14.lab.eng.blr.redhat.com Uuid: 359bb151-a987-4dd1-a1e6-6fe2c3c30b9e State: Peer in Cluster (Connected) Hostname: snapshot15.lab.eng.blr.redhat.com Uuid: 262f8999-3c5e-4ccf-8efc-47ccce690ff8 State: Peer in Cluster (Connected) Hostname: snapshot16.lab.eng.blr.redhat.com Uuid: 4afe2c38-2cb0-432a-81ec-18799eaea5cd State: Peer in Cluster (Disconnected) [root@snapshot13 ~]# cat /var/lib/glusterd/snaps/missed_snaps_list [root@snapshot13 ~]# gluster snapshot restore snap1 Snapshot restore: snap1: Snap restored successfully [root@snapshot13 ~]# cat /var/lib/glusterd/snaps/missed_snaps_list 4afe2c38-2cb0-432a-81ec-18799eaea5cd:9e782c7e-54ac-4b88-8360-e74e072c8336=1eebeff0a2e34fe5b3ffe2460843a341:4:/var/run/gluster/snaps/1eebeff0a2e34fe5b3ffe2460843a341/brick4/b0:3:1 [root@snapshot13 ~]# ls /var/lib/glusterd/trash/ ls: cannot access /var/lib/glusterd/trash/: No such file or directory [root@snapshot13 ~]# [root@snapshot16 ~]# ls /var/lib/glusterd/snaps/ missed_snaps_list [root@snapshot16 ~]# cat /var/lib/glusterd/snaps/missed_snaps_list 4afe2c38-2cb0-432a-81ec-18799eaea5cd:9e782c7e-54ac-4b88-8360-e74e072c8336=1eebeff0a2e34fe5b3ffe2460843a341:4:/var/run/gluster/snaps/1eebeff0a2e34fe5b3ffe2460843a341/brick4/b0:3:2 [root@snapshot16 ~]# Moving the bug to verified state. 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 |