[Bugs] [Bug 1208520] New: [Backup]: Glusterfind not working with change-detector as 'changelog'

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 2 12:38:21 UTC 2015


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

            Bug ID: 1208520
           Summary: [Backup]: Glusterfind not working with change-detector
                    as 'changelog'
           Product: GlusterFS
           Version: mainline
         Component: glusterfind
          Assignee: bugs at gluster.org
          Reporter: sanandpa at redhat.com
        QA Contact: bugs at gluster.org
                CC: avishwan at redhat.com, khiremat at redhat.com



Description of problem:

When the glusterfind pre command is run with change-detector as 'brickfind' it
works fine. When it is run with 'changelog' it errors out saying change
detection failed.

Version-Release number of selected component (if applicable):
Gluster 3.7 upstream nightly glusterfs-3.7dev-0.852.git3feaf16.el6.x86_64

How reproducible: Always

Steps to Reproduce:

1. Have a gluster volume, say 'ozone' and create a glusterfind session
glusterfind create <sessionName> <volumeName>
2. Run the glusterfind pre command with change-detector as 'changelog'
glusterfind pre <sessionName> <volumeName> /tmp/outfile.txt
--change-detector=changelog

Actual results:

Step2 should succeed. The specified output file 'outfile.txt' should get
updated with the list of changed files, from the last change

Expected results:

Step 2 errors out saying: Change detection failed

Additional info:

Could not get much info from the logs as well. It just says: Change detection
failed.
[2015-04-02 23:37:53,689] ERROR [utils - 115:fail] - 10.70.43.48 - Change
detection failed
[2015-04-02 23:37:53,733] ERROR [utils - 115:fail] - 10.70.43.48 - Change
detection failed
[2015-04-02 23:37:53,745] ERROR [utils - 115:fail] - 10.70.43.48 - Change
detection failed
[2015-04-02 23:37:54,867] ERROR [utils - 115:fail] - 10.70.42.147 - Change
detection failed
[2015-04-02 23:37:54,867] ERROR [utils - 115:fail] - 10.70.42.147 - Change
detection failed
[2015-04-02 23:37:54,871] ERROR [utils - 115:fail] - 10.70.42.147 - Change
detection failed

[root at dhcp43-48 ~]# 
[root at dhcp43-48 ~]# gluster v i ozone

Volume Name: ozone
Type: Tier
Volume ID: 4611c8ba-4f32-409c-8858-81d55d2acc75
Status: Started
Number of Bricks: 6 x 1 = 6
Transport-type: tcp
Bricks:
Brick1: 10.70.42.147:/rhs/thinbrick1/ozone/hdd
Brick2: 10.70.43.48:/rhs/thinbrick1/ozone/hdd
Brick3: 10.70.43.48:/rhs/thinbrick1/ozone/dd
Brick4: 10.70.43.48:/rhs/thinbrick2/ozone/dd
Brick5: 10.70.42.147:/rhs/thinbrick1/ozone/dd
Brick6: 10.70.42.147:/rhs/thinbrick2/ozone/dd
Options Reconfigured:
storage.build-pgfid: on
changelog.changelog: on
geo-replication.ignore-pid-check: on
geo-replication.indexing: on
[root at dhcp43-48 ~]# 
[root at dhcp43-48 ~]# glusterfind session list
usage: glusterfind [-h] {pre,create,list,post,delete} ...
glusterfind: error: argument mode: invalid choice: 'session' (choose from
'pre', 'create', 'list', 'post', 'delete')
[root at dhcp43-48 ~]# glusterfind  list
SESSION                   VOLUME                    SESSION TIME             
---------------------------------------------------------------------------
sess                      nash                      2015-04-01 16:43:53      
sess                      pluto                     2015-04-02 16:46:13      
sess                      ozone                     2015-04-02 20:02:56      
[root at dhcp43-48 ~]# 
[root at dhcp43-48 ~]# glusterfind pre sess ozone /tmp/out.txt
--change-detector=changelog
10.70.43.48 - Change detection failed
10.70.43.48 - Change detection failed
10.70.43.48 - Change detection failed
10.70.42.147 - Change detection failed
10.70.42.147 - Change detection failed
10.70.42.147 - Change detection failed
[root at dhcp43-48 ~]# 
[root at dhcp43-48 ~]# 
[root at dhcp43-48 ~]#

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list