Bug 782262 - provide an option to create volume files with more debug translators in the graph.
Summary: provide an option to create volume files with more debug translators in the g...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact: Ujjwala
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-01-17 00:58 UTC by Amar Tumballi
Modified: 2013-12-19 00:07 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:39:32 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2012-01-17 00:58:37 UTC
Description of problem:

Currently there is no proper way to have debug/* translators in the graph through CLI. Adding such an option would be very helpful to debug issues and for QE.

Comment 1 Anand Avati 2012-02-20 10:07:21 UTC
CHANGE: http://review.gluster.com/776 (volgen: give an option to insert trace/error-gen) merged in master by Vijay Bellur (vijay)

Comment 2 Amar Tumballi 2012-06-01 09:56:06 UTC
The options provided by this patchset is for enabling either trace or error-gen translator on the brick vol file.

$ gluster volume set <VOLNAME> trace <translator-name> 

$ gluster volume set <VOLNAME> error-gen <translator-name>

here <translator-name> can be one of 'posix', 'locks', 'io-threads', 'acl', "marker", "index", upon which, the given debug translator is added to the the graph above the given type of translator.

Comment 3 Ujjwala 2012-06-04 07:59:04 UTC
Verified it on 3.3.0qa45 build. It works fine for all the 6 xlators mentioned above.
Currently there is no validation for the command. Accepts any string in place of <translator-name>. Will file a new bug for that.

Comment 4 Vijay Bellur 2012-07-29 21:40:58 UTC
CHANGE: http://review.gluster.com/3699 (volgen: add option to add trace/error-gen in client volume file) merged in master by Anand Avati (avati)


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