Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1358262 - Trash translator fails to create 'internal_op' directory under already existing trash directory
Summary: Trash translator fails to create 'internal_op' directory under already existi...
Alias: None
Product: GlusterFS
Classification: Community
Component: trash-xlator
Version: 3.8.1
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jiffin
QA Contact:
Depends On: 1356804 1357397
Blocks: glusterfs-3.8.2
TreeView+ depends on / blocked
Reported: 2016-07-20 11:51 UTC by Jiffin
Modified: 2016-08-12 09:47 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.8.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1357397
Last Closed: 2016-08-12 09:47:30 UTC
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:

Attachments (Terms of Use)

Comment 1 Vijay Bellur 2016-07-20 11:52:10 UTC
REVIEW: (xlator/trash : append '/' at the end in trash_notify_lookup_cbk) posted (#1) for review on release-3.8 by jiffin tony Thottan (

Comment 2 Vijay Bellur 2016-08-05 07:51:31 UTC
COMMIT: committed in release-3.8 by Niels de Vos ( 
commit 903ff0cf9c4e870f17fd9cc8ef95321f39c9760c
Author: Jiffin Tony Thottan <>
Date:   Mon Jul 18 11:12:43 2016 +0530

    xlator/trash : append '/' at the end in trash_notify_lookup_cbk
    In the notify function in trash xlator, a lookup is performed
    to obtain path of old trash directory. The result usually contains
    path without '/' at the end. The trash xlator maintains expects
    '/' at the end for the values such as 'old trash dir' and
    'new trash dir'. Otherwise certian checks in the code will fail.
    >Change-Id: I89e02e4b249314fb6536297f959865feee182c83
    >BUG: 1357397
    >Signed-off-by: Jiffin Tony Thottan <>
    >Smoke: Gluster Build System <>
    >CentOS-regression: Gluster Build System <>
    >Reviewed-by: Anoop C S <>
    >NetBSD-regression: NetBSD Build System <>
    >Reviewed-by: Jeff Darcy <>
    >(cherry picked from commit d90307c1b0245e0e6a39044a28819cde520a100c)
    Change-Id: I89e02e4b249314fb6536297f959865feee182c83
    BUG: 1358262
    Signed-off-by: Jiffin Tony Thottan <>
    Smoke: Gluster Build System <>
    NetBSD-regression: NetBSD Build System <>
    CentOS-regression: Gluster Build System <>
    Reviewed-by: Anoop C S <>
    Reviewed-by: Niels de Vos <>

Comment 3 Niels de Vos 2016-08-12 09:47:30 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.2, please open a new bug report.

glusterfs-3.8.2 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.


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