[Bugs] [Bug 1551640] New: GD2 fails to dlopen server xlator

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 5 15:39:19 UTC 2018


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

            Bug ID: 1551640
           Summary: GD2 fails to dlopen server xlator
           Product: GlusterFS
           Version: 4.0
         Component: core
          Keywords: Triaged
          Severity: urgent
          Priority: urgent
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: anoopcs at redhat.com, bugs at gluster.org,
                    kaushal at redhat.com
        Depends On: 1550895
            Blocks: 1550894



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

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

Description of problem:
GD2 fails to open the server xlator to read its options. This causes GD2 to
fail to start.

The reason for this is because, server xlator uses two external function from
glusterfsd, glusterfs_mgmt_pmap_signout and glusterfs_autoscale_threads. These
functions are not resolved when dlopen tries to load the xlator, causing it to
fail with 'undefined symbol' error.

This is not a problem with normal brick operation, as the server xlator is
loaded by glusterfsd, which already has the relevant symbols defined.


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

How reproducible:
Reproducible on packaged RPMs of GlusterFS-v4.0.0rc1 on Fedora and
GlusterD2-v4.0.0rc1 always.

Steps to Reproduce:
1. On Fedora 27, install GlusterFS-v4.0.0rc1 from [1] and GlusterD2-v4.0.0rc1
2. Start glusterd2.

Actual results:

GD2 fails to start with logged error,
```
FATA[2018-02-28 15:02:53.345686] Failed to load xlator options                
error="dlopen(/usr/lib64/glusterfs/4.0.0rc1/xlator/protocol/server.so) failed;
dlerror = /usr/lib64/glusterfs/4.0.0rc1/xlator/protocol/server.so: undefined
symbol: glusterfs_mgmt_pmap_signout" source="[main.go:79:main.main]"
```


Expected results:
GD2 should not fail to start.

Additional info:

--- Additional comment from Kaushal on 2018-03-02 13:54:16 IST ---

Missed links to RPMs.
GlusterFS-4.0.0rc1 -
https://download.gluster.org/pub/gluster/glusterfs/qa-releases/4.0rc1/Fedora/fedora-27/x86_64/
GlusterD2-4.0.0rc1 - https://copr.fedorainfracloud.org/coprs/kshlm/glusterd2/

--- Additional comment from Worker Ant on 2018-03-02 03:39:44 EST ---

REVIEW: https://review.gluster.org/19657 (glusterfsd: create libglusterfsd)
posted (#1) for review on master by Kaushal M

--- Additional comment from Worker Ant on 2018-03-02 17:20:04 EST ---

REVIEW: https://review.gluster.org/19664 (build: address linkage issues) posted
(#1) for review on master by Kaleb KEITHLEY


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1550894
[Bug 1550894] GD2 fails to dlopen server xlator
https://bugzilla.redhat.com/show_bug.cgi?id=1550895
[Bug 1550895] GD2 fails to dlopen server xlator
-- 
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