Bug 1332465 - glusterd + bitrot : Creating clone of snapshot. error "xlator.c:148:xlator_volopt_dynload] 0-xlator: /usr/lib64/glusterfs/3.7.9/xlator/features/bitrot.so: cannot open shared object file:
Summary: glusterd + bitrot : Creating clone of snapshot. error "xlator.c:148:xlator_vo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On: 1332133
Blocks: 1332776 1332864
TreeView+ depends on / blocked
 
Reported: 2016-05-03 09:24 UTC by Kotresh HR
Modified: 2017-03-08 09:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1332133
: 1332776 (view as bug list)
Environment:
Last Closed: 2017-03-08 09:24:02 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 2 Kotresh HR 2016-05-03 09:26:37 UTC
Description of problem:

After enabling bitrot on volume, Creating a clone of snapshot genearates warning
" xlator.c:148:xlator_volopt_dynload] 0-xlator: /usr/lib64/glusterfs/3.7.9/xlator/features/bitrot.so: cannot open shared object file" 

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

How reproducible:

100

Steps to Reproduce:
1. Create 2*2 distribute replicate volume
2. Enable quota, set limit-usage and bitrot
3. Crate snapshot, activate it
4. Create clone of snapshot
 
Actual results:

Clone succeeds with Warning message
Expected results:

Snapshot clone should not generate the warning message

Additional info:

Error log for glusterd
==================================

E [MSGID: 106122] [glusterd-mgmt.c:2344:glusterd_mgmt_v3_initiate_snap_phases] 0-management: Post Validation Failed
The message "W [MSGID: 101095] [xlator.c:148:xlator_volopt_dynload] 0-xlator: /usr/lib64/glusterfs/3.7.9/xlator/features/bitrot.so: cannot open shared object file:

Comment 3 Vijay Bellur 2016-05-03 09:32:46 UTC
REVIEW: http://review.gluster.org/14183 (glusterd/bitrot: Fix bitrot xlator_type) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 4 Vijay Bellur 2016-05-03 12:47:02 UTC
COMMIT: http://review.gluster.org/14183 committed in master by Atin Mukherjee (amukherj) 
------
commit 29254449b19697b93ebf376541ea5062b4a99fcb
Author: Kotresh HR <khiremat>
Date:   Tue May 3 14:47:19 2016 +0530

    glusterd/bitrot: Fix bitrot xlator_type
    
    Fix "voltype" value for bitrot in 'glusterd_volopt_map'.
    Routines such as 'gd_is_boolean_option' will use
    the value of "voltype" to load the shared
    library and figure out data type of specific options.
    If the value of "voltype" does not match with
    the actual shared library name, it will break such
    routines.
    
    Change-Id: I36af4bb3e7043cc87dd19aea1985f3167ff82c18
    BUG: 1332465
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/14183
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Atin Mukherjee <amukherj>
    Reviewed-by: Kaushal M <kaushal>
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 5 Kotresh HR 2017-03-08 09:24:02 UTC
v3.10.0 contains the fix.


Note You need to log in before you can comment on or make changes to this bug.