Bug 1452141

Summary: distribute: log flooded with "invalid argument: loc->parent" warnings
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.11CC: bugs, nbalacha, ndevos, srangana, vladkopy
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-20 18:26:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaleb KEITHLEY 2017-05-18 12:26:45 UTC
Description of problem:

RHEL7, glusterfs-3.11.0rc0, nfs-ganesha-2.5rc6.

four brick distribute volume:

  Volume Name: havol
  Type: Distribute
  Volume ID: 19964194-2871-4ef6-a4f3-702217dc1096
  Status: Started
  Snapshot Count: 0
  Number of Bricks: 4
  Transport-type: tcp
  Bricks:
  Brick1: rhs-vm-134.gdev.lab.eng.bos.redhat.com:/home/bricks/ha/brick
  Brick2: rhs-vm-135.gdev.lab.eng.bos.redhat.com:/home/bricks/ha/brick
  Brick3: rhs-vm-136.gdev.lab.eng.bos.redhat.com:/home/bricks/ha/brick
  Brick4: rhs-vm-137.gdev.lab.eng.bos.redhat.com:/home/bricks/ha/brick
  Options Reconfigured:
  features.cache-invalidation: off
  transport.address-family: inet
  nfs.disable: on

every file create though ganesha/gfapi results in two such warnings.

every ls (uncached) results in three warnings:


  [2017-05-18 12:24:53.980155] E [dht-helper.c:617:dht_subvol_get_hashed] (-->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x6702c) [0x7fb94fdd702c] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8fd9) [0x7fb94fd78fd9] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8ca8) [0x7fb94fd78ca8] ) 0-havol-dht: invalid argument: loc->parent [Invalid argument]
  [2017-05-18 12:24:53.981349] E [dht-helper.c:617:dht_subvol_get_hashed] (-->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x3d05f) [0x7fb94fdad05f] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8fd9) [0x7fb94fd78fd9] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8ca8) [0x7fb94fd78ca8] ) 0-havol-dht: invalid argument: loc->parent [Invalid argument]
  [2017-05-18 12:24:53.982926] E [dht-helper.c:617:dht_subvol_get_hashed] (-->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x3d05f) [0x7fb94fdad05f] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8fd9) [0x7fb94fd78fd9] -->/usr/lib64/glusterfs/3.11.0rc0/xlator/cluster/distribute.so(+0x8ca8) [0x7fb94fd78ca8] ) 0-havol-dht: invalid argument: loc->parent [Invalid argument]


Also just the initial connection via gfapi results in this warning:
  [2017-05-18 12:15:58.046020] I [MSGID: 109063] [dht-layout.c:713:dht_layout_normalize] 0-havol-dht: Found anomalies in /.trashcan (gfid = 00000000-0000-0000-0000-000000000005). Holes=1 overlaps=0

 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Nithya Balachandran 2017-05-18 13:45:41 UTC
This should be fixed with
https://review.gluster.org/#/c/17312

The dht_local_init was modified to remove a recently added line of code:

local->hashed_subvol = dht_subvol_get_hashed (frame->this, loc);

Comment 2 vlad 2018-01-26 03:41:18 UTC
same with 3.12.5-2.el7
[2018-01-26 02:59:32.948789] E [dht-helper.c:945:dht_subvol_get_hashed] (-->/usr/lib64/glusterfs/3.12.5/xlator/performance/write-behind.so(+0xbbda) [0x7f05ff956bda] -->/usr/lib64/glusterfs/3.12.5/xlator/cluster/nufa.so(+0x7a7b1) [0x7f05ffbd97b1] -->/usr/lib64/glusterfs/3.12.5/xlator/cluster/nufa.so(+0xb378) [0x7f05ffb6a378] ) 0-vmail-dht: invalid argument: loc->parent [Invalid argument]
[2018-01-26 02:59:33.075111] E [dht-helper.c:945:dht_subvol_get_hashed] (-->/usr/lib64/glusterfs/3.12.5/xlator/performance/write-behind.so(+0xbbda) [0x7f05ff956bda] -->/usr/lib64/glusterfs/3.12.5/xlator/cluster/nufa.so(+0x7a7b1) [0x7f05ffbd97b1] -->/usr/lib64/glusterfs/3.12.5/xlator/cluster/nufa.so(+0xb378) [0x7f05ffb6a378] ) 0-vmail-dht: invalid argument: loc->parent [Invalid argument]

Comment 3 Nithya Balachandran 2018-01-28 12:56:37 UTC
This appears to be originating from the nufa translator. We don't currently support this translator.

Comment 4 Shyamsundar 2018-06-20 18:26:18 UTC
This bug reported is against a version of Gluster that is no longer maintained (or has been EOL'd). See https://www.gluster.org/release-schedule/ for the versions currently maintained.

As a result this bug is being closed.

If the bug persists on a maintained version of gluster or against the mainline gluster repository, request that it be reopened and the Version field be marked appropriately.