[Bugs] [Bug 1234695] New: [geo-rep]: Setting meta volume config to false when meta volume is stopped/deleted leads geo-rep to faulty

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 23 05:17:40 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1234695

            Bug ID: 1234695
           Summary: [geo-rep]: Setting meta volume config to false when
                    meta volume is stopped/deleted leads geo-rep to faulty
           Product: GlusterFS
           Version: 3.7.0
         Component: geo-replication
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: aavati at redhat.com, bugs at gluster.org, csaba at redhat.com,
                    gluster-bugs at redhat.com, khiremat at redhat.com,
                    nlevinki at redhat.com, rcyriac at redhat.com,
                    rhinduja at redhat.com
        Depends On: 1233575, 1234694
            Blocks: 1223636



+++ This bug was initially created as a clone of Bug #1234694 +++

+++ This bug was initially created as a clone of Bug #1233575 +++

Description of problem:
======================

In a scenario, where the shared volume (gluster_shared_storage) is
stopped/deleted or non-existing. And the config use_meta_volume is set to
false. The worker fails with "_GMaster: Meta-volume is not mounted. Worker
Exiting..."

[root at georep1 scripts]# gluster volume geo-replication master
10.70.46.154::slave status

MASTER NODE    MASTER VOL    MASTER BRICK      SLAVE USER    SLAVE             
    SLAVE NODE      STATUS     CRAWL STATUS       LAST_SYNCED                  
----------------------------------------------------------------------------------------------------------------------------------------------------
georep1        master        /rhs/brick1/b1    root         
10.70.46.154::slave    10.70.46.101    Active     Changelog Crawl    2015-06-19
18:10:14          
georep1        master        /rhs/brick2/b2    root         
10.70.46.154::slave    10.70.46.101    Active     Changelog Crawl    2015-06-19
18:10:14          
georep2        master        /rhs/brick1/b1    root         
10.70.46.154::slave    10.70.46.103    Passive    N/A                N/A        
georep2        master        /rhs/brick2/b2    root         
10.70.46.154::slave    10.70.46.103    Passive    N/A                N/A        
georep3        master        /rhs/brick1/b1    root         
10.70.46.154::slave    10.70.46.154    Passive    N/A                N/A        
georep3        master        /rhs/brick2/b2    root         
10.70.46.154::slave    10.70.46.154    Passive    N/A                N/A        
[root at georep1 scripts]# 

[root at georep1 scripts]# gluster volume stop gluster_shared_storage
Stopping the shared storage volume(gluster_shared_storage), will affect
features like snapshot scheduler, geo-replication and NFS-Ganesha. Do you still
want to continue? (y/n) y
volume stop: gluster_shared_storage: success
[root at georep1 scripts]# gluster volume geo-replication master
10.70.46.154::slave status

MASTER NODE    MASTER VOL    MASTER BRICK      SLAVE USER    SLAVE             
    SLAVE NODE    STATUS    CRAWL STATUS    LAST_SYNCED          
--------------------------------------------------------------------------------------------------------------------------------------
georep1        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep1        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep2        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep2        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep3        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep3        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
[root at georep1 scripts]#

[root at georep1 scripts]# gluster volume geo-replication master
10.70.46.154::slave config use_meta_volume false
geo-replication config updated successfully
[root at georep1 scripts]#

[root at georep1 scripts]# gluster volume geo-replication master
10.70.46.154::slave status

MASTER NODE    MASTER VOL    MASTER BRICK      SLAVE USER    SLAVE             
    SLAVE NODE    STATUS    CRAWL STATUS    LAST_SYNCED          
--------------------------------------------------------------------------------------------------------------------------------------
georep1        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep1        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep2        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep2        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep3        master        /rhs/brick1/b1    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
georep3        master        /rhs/brick2/b2    root         
10.70.46.154::slave    N/A           Faulty    N/A             N/A              
[root at georep1 scripts]#


Version-Release number of selected component (if applicable):
==============================================================


How reproducible:
=================

Always

--- Additional comment from Anand Avati on 2015-06-23 01:11:41 EDT ---

REVIEW: http://review.gluster.org/11358 (geo-rep: Fix toggling of
use_meta_volume config) posted (#1) for review on master by Kotresh HR
(khiremat at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1223636
[Bug 1223636] 3.1 QE Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1233575
[Bug 1233575] [geo-rep]: Setting meta volume config to false when meta
volume is stopped/deleted leads geo-rep to faulty
https://bugzilla.redhat.com/show_bug.cgi?id=1234694
[Bug 1234694] [geo-rep]: Setting meta volume config to false when meta
volume is stopped/deleted leads geo-rep to faulty
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list