Bug 1159529 - Can not compile the glusterfs-3.6.0 source bag in a "disperse 5 redundary 2" volume's mountpoint
Summary: Can not compile the glusterfs-3.6.0 source bag in a "disperse 5 redundary 2...
Keywords:
Status: CLOSED DUPLICATE of bug 1161885
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: 3.6.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Xavi Hernandez
QA Contact:
URL:
Whiteboard:
Depends On: 1159471 1183716
Blocks: glusterfs-3.6.2
TreeView+ depends on / blocked
 
Reported: 2014-11-01 09:49 UTC by jiademing.dd
Modified: 2015-01-19 14:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-19 14:56:29 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description jiademing.dd 2014-11-01 09:49:56 UTC
Description of problem:
Can not  compile the glusterfs-3.6.0 source bag in  a "disperse 5 redundary 2“ volume's mountpoint

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

How reproducible:


Steps to Reproduce:
1.create a disperse 5 redundanry 2 volume
2.cp glusterfs-3.6.0 source bag to mountpoint
3.In mountpoint/glusterfs-3.6.0/, execl "./autogen.sh"

Actual results:
./autogen.sh command is blocked

Expected results:
./autogen.sh, then ./configure; the make..,all should be ok.

Additional info:

mountpoint.log
[2014-11-02 04:24:50.132316] W [ec-dir-read.c:312:ec_adjust_readdir] 0-test-disperse-0: Unable to get exact file size.
[2014-11-02 04:24:50.134854] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/core missing on subvol test-disperse-0
[2014-11-02 04:24:50.136162] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/core missing on subvol test-disperse-0
[2014-11-02 04:24:50.138259] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/*.core missing on subvol test-disperse-0
[2014-11-02 04:24:50.139854] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/*.core missing on subvol test-disperse-0
[2014-11-02 04:24:50.141391] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/core.conftest.* missing on subvol test-disperse-0
[2014-11-02 04:24:50.143051] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/core.conftest.* missing on subvol test-disperse-0
[2014-11-02 04:24:50.148293] W [ec-dir-read.c:312:ec_adjust_readdir] 0-test-disperse-0: Unable to get exact file size.
[2014-11-02 04:24:50.153207] W [ec-dir-read.c:312:ec_adjust_readdir] 0-test-disperse-0: Unable to get exact file size.
[2014-11-02 04:24:50.156953] W [ec-dir-read.c:312:ec_adjust_readdir] 0-test-disperse-0: Unable to get exact file size.
[2014-11-02 04:24:50.161093] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/conf24605* missing on subvol test-disperse-0
[2014-11-02 04:24:50.163050] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/conf24605* missing on subvol test-disperse-0
[2014-11-02 04:24:50.164278] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.out missing on subvol test-disperse-0
[2014-11-02 04:24:50.165403] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.out missing on subvol test-disperse-0
[2014-11-02 04:24:50.166643] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.out.dSYM missing on subvol test-disperse-0
[2014-11-02 04:24:50.167750] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.out.dSYM missing on subvol test-disperse-0
[2014-11-02 04:24:50.168859] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.exe missing on subvol test-disperse-0
[2014-11-02 04:24:50.169869] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/a.exe missing on subvol test-disperse-0
[2014-11-02 04:24:50.172077] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/b.out missing on subvol test-disperse-0
[2014-11-02 04:24:50.173626] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/b.out missing on subvol test-disperse-0
[2014-11-02 04:24:51.238906] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-2: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.238960] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-4: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.238986] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-3: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239023] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-0: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239041] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-1: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239049] E [ec-common.c:1194:ec_update_size_version_done] 0-test-disperse-0: Failed to update version and size (error 0)
[2014-11-02 04:24:59.362226] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/configure.in missing on subvol test-disperse-0
[2014-11-02 04:24:59.463560] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/configure.in missing on subvol test-disperse-0
[2014-11-02 04:24:59.470188] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acinclude.m4 missing on subvol test-disperse-0
[2014-11-02 04:24:59.530118] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acinclude.m4 missing on subvol test-disperse-0
[2014-11-02 04:25:00.019199] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acinclude.m4 missing on subvol test-disperse-0
[2014-11-02 04:25:00.089508] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/.autom4te.cfg missing on subvol test-disperse-0
[2014-11-02 04:25:00.102537] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/m4sugar missing on subvol test-disperse-0
[2014-11-02 04:25:00.104716] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/m4sugar missing on subvol test-disperse-0
[2014-11-02 04:25:00.105860] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/autoconf missing on subvol test-disperse-0
[2014-11-02 04:25:00.106879] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acsite.m4 missing on subvol test-disperse-0
[2014-11-02 04:25:06.729385] W [ec-dir-read.c:312:ec_adjust_readdir] 0-test-disperse-0: Unable to get exact file size.
^[^[ration failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.238986] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-3: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239023] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-0: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239041] W [client-rpc-fops.c:1734:client3_3_xattrop_cbk] 0-test-client-1: remote operation failed: Success. Path: /glusterfs-3.6.0/.tst (14851ddb-1d4b-452f-888a-7cdb24a83d75)
[2014-11-02 04:24:51.239049] E [ec-common.c:1194:ec_update_size_version_done] 0-test-disperse-0: Failed to update version and size (error 0)
[2014-11-02 04:24:59.362226] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/configure.in missing on subvol test-disperse-0
[2014-11-02 04:24:59.463560] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/configure.in missing on subvol test-disperse-0
[2014-11-02 04:24:59.470188] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acinclude.m4 missing on subvol test-disperse-0
[2014-11-02 04:24:59.530118] I [dht-common.c:1822:dht_lookup_cbk] 0-test-dht: Entry /glusterfs-3.6.0/acinclude.m4

Comment 1 jiademing.dd 2014-11-01 09:53:03 UTC
cp -r mountpoint/glusterfs-3.6.0 out from the mountpoint, ./autogen.sh,./configure, make is OK!

Comment 2 jiademing.dd 2014-11-19 10:51:28 UTC
I tried like this:
1)delete ec_lock_prepare_entry(fop, &fop->loc[1], 1) in ec_manager_rename()

1310            ec_lock_prepare_entry(fop, &fop->loc[0], 1);
1311 //            ec_lock_prepare_entry(fop, &fop->loc[1], 1);
  I know we must lock the new_loc's perent, this just a test.

2)remove O_APPEND flag, refer to bug1161885's patch
  https://bugzilla.redhat.com/show_bug.cgi?id=1161885

then I can ./autogen.sh,./configure, make the glusterfs-3.6.0 source bag in a "disperse 5 redundary 2“ volume's mountpoint, I think the result of this problem is rename's lock(newloc's parent) in disperse
   How do you think?  @Xavier Hernandez

Comment 3 Xavi Hernandez 2014-11-19 11:36:40 UTC
Yes, this problem is initially related to the rename problem, however solving this initial bug may produce crashes because of a timer issue that doesn't have a good solution right now (bug #1163822). This is one of the causes why bug #1159471 is failing and not solved yet.

I'm waiting to solve all other detected problems before working on this bug because I think this failure is caused by the combination of some other problems.

Comment 4 Xavi Hernandez 2015-01-09 14:01:05 UTC
I've checked this problem with current master and patches 9079, 9407 and 9420 applied and it has compiled successfully.

Comment 5 Xavi Hernandez 2015-01-19 14:56:29 UTC

*** This bug has been marked as a duplicate of bug 1161885 ***


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