Bug 747400

Summary: RHEL 6.2 beta rpcdebug has no flag for pNFS debug
Product: Red Hat Enterprise Linux 6 Reporter: Andy Adamson <andros>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: rwheeler, syeghiay, yanwang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-utils-1.2.3-15.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:54:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 750914    

Description Andy Adamson 2011-10-19 17:34:10 UTC
Description of problem: Customers and developers using rpcdebug cannot turn on
pnfs debugging. 


Version-Release number of selected component (if applicable):
RHEL 6.2 beta 2.6.32.209.el6


How reproducible:
100%


Steps to Reproduce:
1.run rpcdebug -vh
2.
3.
  
Actual results:

for the nfs module, no flag for pnfs

Expected results:

Expect a pnfs flag option


Additional info:

NFSDBG_PNFS and NFSDBG_PNFS_LD should be activated with an rpcdebug nfs 
module pnfs flag.

This will allow more pin-point debugging of pNFS related client problems.

Comment 2 yanfu,wang 2011-10-20 02:29:02 UTC
hi Steve,
Since I don't have pNFS environment, can I use modinfo or any else command to check the result?

Comment 3 Steve Dickson 2011-10-20 13:38:32 UTC
(In reply to comment #2)
> hi Steve,
> Since I don't have pNFS environment, can I use modinfo or any else command to
> check the result?
Hello,

Well pNFS is a tech preview RHEL6.2 which means it not officially 
supported because tech previews don't go through our normal 
QE process... but I have outlined how to set up pNFS env 
in  https://bugzilla.redhat.com/show_bug.cgi?id=746839#c2

Now how I tested this was to do a 'rpcdebug -m nfs -s pnfs'
then cat /proc/sys/sunrpc/nfs_debug to make sure it had
the appropriate value. In this case the value would be 4096.

Comment 6 yanfu,wang 2011-10-25 05:14:13 UTC
reproduced on nfs-utils-1.2.3-13.el6:
[root@hp-magnycours-01 ~]# rpm -qa|grep nfs-utils
nfs-utils-lib-1.1.5-4.el6.x86_64
nfs-utils-1.2.3-13.el6.x86_64
[root@hp-magnycours-01 ~]# rpcdebug -m nfs -s pnfs
rpcdebug: unknown module or flag nfs/pnfs
[root@hp-magnycours-01 ~]# cat /proc/sys/sunrpc/nfs_debug
0

verified on nfs-utils-1.2.3-15.el6:
[root@hp-magnycours-01 ~]# rpcdebug -m nfs -s pnfs
nfs        pnfs
[root@hp-magnycours-01 ~]# cat /proc/sys/sunrpc/nfs_debug
4096

Comment 7 errata-xmlrpc 2011-12-06 18:54:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1534.html