Bug 1138567 - Disabling Epoll (using poll()) - fails SSL tests on mount point
Summary: Disabling Epoll (using poll()) - fails SSL tests on mount point
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: transport
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-05 08:27 UTC by Harshavardhana
Modified: 2015-03-26 21:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-26 21:57:50 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
mount point log file (7.49 KB, text/plain)
2014-09-05 08:30 UTC, Harshavardhana
no flags Details

Description Harshavardhana 2014-09-05 08:27:30 UTC
Description of problem:

Disabling epoll and enabling poll() fails ssl auth

[2014-09-05 08:26:34.122612] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /.Trash missing on subvol patchy-client-0
[2014-09-05 08:26:34.122893] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.123437] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /before missing on subvol patchy-client-0
[2014-09-05 08:26:34.123702] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.124046] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /before missing on subvol patchy-client-0
[2014-09-05 08:26:34.124399] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.124850] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /before missing on subvol patchy-client-0
[2014-09-05 08:26:34.125126] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.127152] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /.Trash-1000 missing on subvol patchy-client-0
[2014-09-05 08:26:34.127542] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.127868] I [dht-common.c:1825:dht_lookup_cbk] 0-patchy-dht: Entry /.Trash-1000 missing on subvol patchy-client-0
[2014-09-05 08:26:34.128346] I [dht-common.c:1086:dht_lookup_everywhere_done] 0-patchy-dht: STATUS: hashed_subvol patchy-client-0 cached_subvol null
[2014-09-05 08:26:34.203294] W [socket.c:530:__socket_rwv] 0-patchy-client-0: readv on 127.0.1.1:49169 failed (No data available)
[2014-09-05 08:26:34.203344] E [socket.c:2397:socket_poller] 0-patchy-client-0: error in polling loop
[2014-09-05 08:26:34.203439] I [client.c:2215:client_rpc_notify] 0-patchy-client-0: disconnected from patchy-client-0. Client process will keep trying to connect to glusterd until brick's port is available
[2014-09-05 08:26:35.435638] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2014-09-05 08:26:35.561468] I [glusterfsd-mgmt.c:1504:mgmt_getspec_cbk] 0-glusterfs: No change in volfile, continuing
[2014-09-05 08:26:35.838597] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-glusterfs: Started running glusterfs version 3.7dev (args: glusterfs --attribute-timeout=0 --entry-timeout=0 --volfile-server=sysrq --volfile-id=patchy /mnt/glusterfs/0)
[2014-09-05 08:26:35.839510] W [client-rpc-fops.c:2763:client3_3_lookup_cbk] 0-patchy-client-0: remote operation failed: Transport endpoint is not connected. Path: / (00000000-0000-0000-0000-000000000001)
[2014-09-05 08:26:35.839572] W [fuse-bridge.c:779:fuse_attr_cbk] 0-glusterfs-fuse: 13: LOOKUP() / => -1 (Transport endpoint is not connected)
[2014-09-05 08:26:35.839628] E [fuse-bridge.c:5339:init] 0-fuse: Mountpoint /mnt/glusterfs/0 seems to have a stale mount, run 'umount /mnt/glusterfs/0' and try again.
[2014-09-05 08:26:35.839676] E [xlator.c:425:xlator_init] 0-fuse: Initialization of volume 'fuse' failed, review your volfile again
[2014-09-05 08:26:35.841925] W [client-rpc-fops.c:2763:client3_3_lookup_cbk] 0-patchy-client-0: remote operation failed: Transport endpoint is not connected. Path: / (00000000-0000-0000-0000-000000000001)
[2014-09-05 08:26:35.857941] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down
[2014-09-05 08:26:35.857967] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/glusterfs/0'.
[2014-09-05 08:26:35.860630] W [socket.c:530:__socket_rwv] 0-glusterfs: readv on 127.0.1.1:24007 failed (No data available)
[2014-09-05 08:26:35.879455] I [fuse-bridge.c:4921:fuse_thread_proc] 0-fuse: unmounting /mnt/glusterfs/0

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

How reproducible:
Always

Steps to Reproduce:
1. ./configure --disable-epoll --enable-debug; make; make install
2. prove -vfr ./tests/features/ssl-authz.t

# prove -vfr ./tests/features/ssl-authz.t 
./tests/features/ssl-authz.t .. 
1..18
ok 1
ok 2
No volumes present
ok 3
Generating RSA private key, 1024 bit long modulus
...................++++++
..................................................................++++++
e is 65537 (0x10001)
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
umount: /mnt/glusterfs/0: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
not ok 13 
FAILED COMMAND: umount /mnt/glusterfs/0
ok 14
ok 15
ok 16
not ok 17 
FAILED COMMAND: glusterfs --attribute-timeout=0 --entry-timeout=0 --volfile-server=sysrq --volfile-id=patchy /mnt/glusterfs/0
ok 18
Failed 2/18 subtests 

Test Summary Report
-------------------
./tests/features/ssl-authz.t (Wstat: 0 Tests: 18 Failed: 2)
  Failed tests:  13, 17
Files=1, Tests=18,  7 wallclock secs ( 0.03 usr  0.00 sys +  0.60 cusr  0.39 csys =  1.02 CPU)
Result: FAIL

Comment 1 Harshavardhana 2014-09-05 08:30:33 UTC
Created attachment 934702 [details]
mount point log file

Comment 3 Jeff Darcy 2015-03-26 21:57:50 UTC
Tried vs. current master.  Not surprisingly, in light of the fact that a lot of work has gone into epoll since September, no problem was found.


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