Bug 987668
Summary: | Dist-geo-rep: geo-rep start and stop force always succeeds even without geo-rep create | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | M S Vishwanath Bhat <vbhat> |
Component: | geo-replication | Assignee: | Avra Sengupta <asengupt> |
Status: | CLOSED ERRATA | QA Contact: | M S Vishwanath Bhat <vbhat> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | aavati, amarts, csaba, mzywusko, rhs-bugs, ssaha |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0.19rhs-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-23 22:38:46 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: |
Description
M S Vishwanath Bhat
2013-07-23 20:31:11 UTC
geo-rep stop force is a afail safe method and will always succeed. The geo-rep start force fix is in the patch https://code.engineering.redhat.com/gerrit/11204 I think it would be great if we can provide a proper error message when both start and stop force commands are executed while a corresponding geo-rep session does not exist. Looks like the issue with start force is addressed but stop force is not. Reducing the priority to medium as this should not have a big end-user impact. The issue is fixed now. I can't start a session with a invalid slave volume or a slave node which is not reachable. Tested in version: [root@spitfire ~]# rpm -q glusterfs glusterfs-3.4.0.20rhs-2.el6rhs.x86_64 [root@spitfire ~]# gluster --version glusterfs 3.4.0.20rhs built on Aug 14 2013 09:04:38 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. [root@spitfire ~]# gluster v geo master falcon1::slave start falcon1 not reachable. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon1::slave start force falcon1 not reachable. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slaveg start Session between master and falcon::slaveg has not been created. Please create session and retry. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slaveg start force Session between master and falcon::slaveg has not been created. Please create session and retry. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slave1 start Session between master and falcon::slave1 has not been created. Please create session and retry. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slave1 start force Session between master and falcon::slave1 has not been created. Please create session and retry. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slave status NODE MASTER SLAVE HEALTH UPTIME --------------------------------------------------------------------------- spitfire.blr.redhat.com master falcon::slave Stable 00:01:14 harrier.blr.redhat.com master falcon::slave Stable 00:01:14 mustang.blr.redhat.com master falcon::slave Stable 00:01:14 typhoon.blr.redhat.com master falcon::slave Stable 00:01:13 [root@spitfire ~]# gluster v geo master falcon::slave1 stop Geo-replication session between master and falcon::slave1 does not exist. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slave1 stop force Stopping geo-replication session between master & falcon::slave1 has been successful [root@spitfire ~]# gluster v geo master falcon1::slave stop force falcon1 not reachable. geo-replication command failed [root@spitfire ~]# gluster v geo master falcon::slave stop Stopping geo-replication session between master & falcon::slave has been successful [root@spitfire ~]# gluster v geo master falcon::slave status NODE MASTER SLAVE HEALTH UPTIME -------------------------------------------------------------------------- spitfire.blr.redhat.com master falcon::slave Stopped N/A mustang.blr.redhat.com master falcon::slave Stopped N/A harrier.blr.redhat.com master falcon::slave Stopped N/A typhoon.blr.redhat.com master falcon::slave Stopped N/A Moving the bug to verified. 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/RHBA-2013-1262.html 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/RHBA-2013-1262.html |