Kotresh Hiremath Ravishankar
2016-Nov-15 05:50 UTC
[Gluster-users] Unable to stop volume because geo-replication
Hi, Could you please restart glusterd in DEBUG mode and share the glusterd logs? *Starting glusterd in DEBUG mode as follows. #glusterd -LDEBUG *Stop the volume #gluster vol stop <volume-name> Share the glusterd logs. Thanks and Regards, Kotresh H R ----- Original Message -----> From: "Chao-Ping Chien" <cchien at eqbank.ca> > To: gluster-users at gluster.org > Sent: Monday, November 14, 2016 10:18:16 PM > Subject: [Gluster-users] Unable to stop volume because geo-replication > > > > Hi, > > > > Hope someone can point me how to do this. > > > > I want to delete a volume but not able to do so because glusterfs is keep > reporting there is geo-replication setup which seems to be not exist at the > moment when I issue stop command. > > > > On a Redhat 7.2 kernel: 3.10.0-327.36.3.el7.x86_64 > > [root at eqappsrvp01 mule1]# rpm -qa |grep gluster > > glusterfs-3.7.14-1.el7.x86_64 > > glusterfs-fuse-3.7.14-1.el7.x86_64 > > glusterfs-server-3.7.14-1.el7.x86_64 > > glusterfs-libs-3.7.14-1.el7.x86_64 > > glusterfs-api-3.7.14-1.el7.x86_64 > > glusterfs-geo-replication-3.7.14-1.el7.x86_64 > > glusterfs-cli-3.7.14-1.el7.x86_64 > > glusterfs-client-xlators-3.7.14-1.el7.x86_64 > > > > ===========================================================> > [root at eqappsrvp01 mule1]# gluster volume stop mule1 Stopping volume will make > its data inaccessible. Do you want to continue? (y/n) y volume stop: mule1: > failed: geo-replication sessions are active for the volume mule1. > > Stop geo-replication sessions involved in this volume. Use 'volume > geo-replication status' command for more info. > > [root at eqappsrvp01 mule1]# gluster volume geo-replication status > > > > MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL > STATUS LAST_SYNCED > > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > eqappsrvp01 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data > N/A Stopped N/A N/A > > eqappsrvp02 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data > N/A Stopped N/A N/A > > [root at eqappsrvp01 mule1]# uname -a > > Linux eqappsrvp01 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 04:56:07 EDT > 2016 x86_64 x86_64 x86_64 GNU/Linux > > [root at eqappsrvp01 mule1]# cat /etc/redhat-release Red Hat Enterprise Linux > Server release 7.2 (Maipo) > ============================================================> > > > I search the internet found in Redhat Bugzilla bug 1342431 seems to address > this problem but according to its status should be fixed in 3.7.12 but in my > version 3.7.14 it still exist. > > > > Thanks > > > > Ping. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Chao-Ping Chien
2016-Nov-16 14:02 UTC
[Gluster-users] Unable to stop volume because geo-replication
Hi Kotresh, Thank you very much for taking time to help. I follow your instruction, restart glusterd with log level at DEBUG. I think the restart somehow fix the state. The geo-replication statue correctly report all the volumes status (unlink before when the time I report the problem, it only show some part of setting) I was able to stop the geo-replication and delete the geo-replication and eventually delete the volume. If you wish I can send you the log. I am not attach the log this time because the problem seems to because the environment is not in normal state. And the restart fix the problem. Thanks. Ping. -----Original Message----- From: Kotresh Hiremath Ravishankar [mailto:khiremat at redhat.com] Sent: Tuesday, November 15, 2016 12:51 AM To: Chao-Ping Chien <cchien at eqbank.ca> Cc: gluster-users at gluster.org Subject: Re: [Gluster-users] Unable to stop volume because geo-replication Hi, Could you please restart glusterd in DEBUG mode and share the glusterd logs? *Starting glusterd in DEBUG mode as follows. #glusterd -LDEBUG *Stop the volume #gluster vol stop <volume-name> Share the glusterd logs. Thanks and Regards, Kotresh H R ----- Original Message -----> From: "Chao-Ping Chien" <cchien at eqbank.ca> > To: gluster-users at gluster.org > Sent: Monday, November 14, 2016 10:18:16 PM > Subject: [Gluster-users] Unable to stop volume because geo-replication > > > > Hi, > > > > Hope someone can point me how to do this. > > > > I want to delete a volume but not able to do so because glusterfs is > keep reporting there is geo-replication setup which seems to be not > exist at the moment when I issue stop command. > > > > On a Redhat 7.2 kernel: 3.10.0-327.36.3.el7.x86_64 > > [root at eqappsrvp01 mule1]# rpm -qa |grep gluster > > glusterfs-3.7.14-1.el7.x86_64 > > glusterfs-fuse-3.7.14-1.el7.x86_64 > > glusterfs-server-3.7.14-1.el7.x86_64 > > glusterfs-libs-3.7.14-1.el7.x86_64 > > glusterfs-api-3.7.14-1.el7.x86_64 > > glusterfs-geo-replication-3.7.14-1.el7.x86_64 > > glusterfs-cli-3.7.14-1.el7.x86_64 > > glusterfs-client-xlators-3.7.14-1.el7.x86_64 > > > > ===========================================================> > [root at eqappsrvp01 mule1]# gluster volume stop mule1 Stopping volume > will make its data inaccessible. Do you want to continue? (y/n) y volume stop: mule1: > failed: geo-replication sessions are active for the volume mule1. > > Stop geo-replication sessions involved in this volume. Use 'volume > geo-replication status' command for more info. > > [root at eqappsrvp01 mule1]# gluster volume geo-replication status > > > > MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS > CRAWL STATUS LAST_SYNCED > > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > ---------- > > eqappsrvp01 gitlab_data /data/gitlab_data root > ssh://eqappsrvd02::gitlab_data N/A Stopped N/A N/A > > eqappsrvp02 gitlab_data /data/gitlab_data root > ssh://eqappsrvd02::gitlab_data N/A Stopped N/A N/A > > [root at eqappsrvp01 mule1]# uname -a > > Linux eqappsrvp01 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 > 04:56:07 EDT > 2016 x86_64 x86_64 x86_64 GNU/Linux > > [root at eqappsrvp01 mule1]# cat /etc/redhat-release Red Hat Enterprise > Linux Server release 7.2 (Maipo) > ============================================================> > > > I search the internet found in Redhat Bugzilla bug 1342431 seems to > address this problem but according to its status should be fixed in > 3.7.12 but in my version 3.7.14 it still exist. > > > > Thanks > > > > Ping. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users