[Bugs] [Bug 1396142] New: glusterfind fails to list files from tiered volume
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 17 14:33:25 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1396142
Bug ID: 1396142
Summary: glusterfind fails to list files from tiered volume
Product: GlusterFS
Version: 3.9
Component: glusterfind
Assignee: bugs at gluster.org
Reporter: mchangir at redhat.com
QA Contact: bugs at gluster.org
CC: avishwan at redhat.com, bugs at gluster.org,
khiremat at redhat.com
Depends On: 1389481
+++ This bug was initially created as a clone of Bug #1389481 +++
Description of problem:
glusterfind fails to list files from tiered volume
Version-Release number of selected component (if applicable):
mainline at commit 29587a91716e1e55bd172d63340c40249fb343c9
How reproducible:
always
Steps to Reproduce:
1. create tiered volume
2. create a glusterfind session
3. create a few files
4. try listing files with glusterfind query --full <volname> output.txt
Actual results:
output.txt is created but empty
Expected results:
all files and directories should be listed in output.txt
Additional info:
--- Additional comment from Milind Changire on 2016-10-27 13:17:50 EDT ---
RCA:
gluster volume info <vol> --xml for non-tiered volumes have 'bricks/brick'
elements under the 'volInfo/volumes/volume' element.
However, tiered volumes have a 'bricks/hotBricks/brick' and
'bricks/coldBricks/brick' elements under the 'volInfo/volumes/volume' element.
--- Additional comment from Worker Ant on 2016-10-27 13:25:21 EDT ---
REVIEW: http://review.gluster.org/15746 (tools/glusterfind: xml parsing fix for
tiered volumes) posted (#1) for review on master by Milind Changire
(mchangir at redhat.com)
--- Additional comment from Worker Ant on 2016-11-17 06:30:57 EST ---
COMMIT: http://review.gluster.org/15746 committed in master by Aravinda VK
(avishwan at redhat.com)
------
commit 592fd52d5889cf8a46727b3609cdff60e9ef5c00
Author: Milind Changire <mchangir at redhat.com>
Date: Thu Oct 27 22:53:43 2016 +0530
tools/glusterfind: xml parsing fix for tiered volumes
gluster volume info <vol> --xml for non-tiered volumes have
'bricks/brick' elements under the 'volInfo/volumes/volume' element.
However, tiered volumes have a 'bricks/hotBricks/brick' and
'bricks/coldBricks/brick' elements under the 'volInfo/volumes/volume'
element.
Fix main.py::get_nodes()
BUG: 1389481
Change-Id: I2f4465bfa8a55e7fa87917d3ec3e69b05d5241b9
Signed-off-by: Milind Changire <mchangir at redhat.com>
Reviewed-on: http://review.gluster.org/15746
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Aravinda VK <avishwan at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1389481
[Bug 1389481] glusterfind fails to list files from tiered volume
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list