Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionShahish Nambiar
2015-09-18 16:13:02 UTC
Description of problem:
nfsometer fails on NFSv3 and NFSv4 shares.
Below are the details:
On NFSv4 protocol:
=================
# nfsometer -o v4 10.65.233.20:/data
> Using results directory: /root/nfsometer_results
> Probing 10.65.233.20:/data: v4
Mounting: 10.65.233.20:/data (options: v4)...
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
Requested: 10 workloads X 1 options X 1 runs = 10 traces
Results directory already has 1 matching traces
Need to run 9 of 10 requested traces
filebench_fileserver - needs 1 runs of v4
filebench_varmail - needs 1 runs of v4
gitclone - needs 1 runs of v4
python - needs 1 runs of v4
dd_100m_1k - needs 1 runs of v4
filebench_networkfs - needs 1 runs of v4
kernel - needs 1 runs of v4
cthon - needs 1 runs of v4
filebench_webserver - needs 1 runs of v4
> Removing old error result directories from /tmp/nfsometer_trace-*> Trace 1/9: 1 of 1 for filebench_fileserver: v4
< SETUP WORKLOAD >
Mounting: 10.65.233.20:/data (options: v4)...
removing run directory...done
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
< RUN WORKLOAD >
Mounting: 10.65.233.20:/data (options: v4)...
Running command: cd /root/.nfsometer/workload_files/filebench_fileserver && filebench -f nfsometer-fileserver.f
Traceback (most recent call last):
File "/usr/bin/nfsometer", line 130, in <module>
main()
File "/usr/bin/nfsometer", line 123, in main
mode_fetch_trace(opts, fetch_only=fetch_only)
File "/usr/bin/nfsometer", line 77, in mode_fetch_trace
trace.run_traces(collection, opts, fetch_only=fetch_only)
File "/usr/lib/python2.7/site-packages/nfsometerlib/trace.py", line 862, in run_traces
workload_obj.run()
File "/usr/lib/python2.7/site-packages/nfsometerlib/workloads.py", line 199, in run
raise e
nfsometerlib.cmd.CmdErrorCode: command "( time ( sh /tmp/nfsometer_trace/command.sh > /tmp/nfsometer_trace/test.log 2>&1 ) ) 2> /tmp/nfsometer_trace/test.time" exited with non-zero status: 1
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
WARNING: Moving failed rundir to /tmp/nfsometer_trace-error-1442524199 - it will be deleted on next run of this script!
You have new mail in /var/spool/mail/root
# echo $?
1
#
On NFSv3 protocol:
=================
# nfsometer -o v3 10.65.233.20:/data
> Using results directory: /root/nfsometer_results
> Probing 10.65.233.20:/data: v3
Mounting: 10.65.233.20:/data (options: v3)...
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
Requested: 10 workloads X 1 options X 1 runs = 10 traces
Need to run 10 of 10 requested traces
dd_100m_100k - needs 1 runs of v3
filebench_fileserver - needs 1 runs of v3
filebench_varmail - needs 1 runs of v3
gitclone - needs 1 runs of v3
python - needs 1 runs of v3
dd_100m_1k - needs 1 runs of v3
filebench_networkfs - needs 1 runs of v3
kernel - needs 1 runs of v3
cthon - needs 1 runs of v3
filebench_webserver - needs 1 runs of v3
> Removing old error result directories from /tmp/nfsometer_trace-*> Trace 1/10: 1 of 1 for dd_100m_100k: v3
< SETUP WORKLOAD >
Mounting: 10.65.233.20:/data (options: v3)...
removing run directory...done
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
< RUN WORKLOAD >
Mounting: 10.65.233.20:/data (options: v3)...
Running command: dd if=/dev/zero of=./dd_file.100m_100k bs=102400 count=1024
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
Results copied to: nfsometer_trace-dd_100m_100k-shahish-openstack.gsslab.pnq.redhat.com-1442524746.27
> Trace 2/10: 1 of 1 for filebench_fileserver: v3
< SETUP WORKLOAD >
Mounting: 10.65.233.20:/data (options: v3)...
removing run directory...done
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
< RUN WORKLOAD >
Mounting: 10.65.233.20:/data (options: v3)...
Running command: cd /root/.nfsometer/workload_files/filebench_fileserver && filebench -f nfsometer-fileserver.f
Traceback (most recent call last):
File "/usr/bin/nfsometer", line 130, in <module>
main()
File "/usr/bin/nfsometer", line 123, in main
mode_fetch_trace(opts, fetch_only=fetch_only)
File "/usr/bin/nfsometer", line 77, in mode_fetch_trace
trace.run_traces(collection, opts, fetch_only=fetch_only)
File "/usr/lib/python2.7/site-packages/nfsometerlib/trace.py", line 862, in run_traces
workload_obj.run()
File "/usr/lib/python2.7/site-packages/nfsometerlib/workloads.py", line 199, in run
raise e
nfsometerlib.cmd.CmdErrorCode: command "( time ( sh /tmp/nfsometer_trace/command.sh > /tmp/nfsometer_trace/test.log 2>&1 ) ) 2> /tmp/nfsometer_trace/test.time" exited with non-zero status: 1
Syncing: 10.65.233.20:/data....
Unmounting: 10.65.233.20:/data...
WARNING: Moving failed rundir to /tmp/nfsometer_trace-error-1442524809 - it will be deleted on next run of this script!
You have new mail in /var/spool/mail/root
# echo $?
1
#
Version-Release number of selected component (if applicable):
nfsometer-1.7-0.el7.noarch
How reproducible:
Always
Actual results:
Expected results:
Additional info:
(In reply to Weston Andros Adamson from comment #6)
> FWIW, it works for me.
I took a look at the support case that spawned this bug and I'm pretty sure that the customer's original issue was that they were running nfsometer as root against an export that had root squashing enabled. I've sent some patches that makes nfsometer print out some error messages instead of a backtrace in this scenario (and a handful of other scenarios I've come across).
(In reply to Scott Mayhew from comment #7)
> (In reply to Weston Andros Adamson from comment #6)
> > FWIW, it works for me.
>
> I took a look at the support case that spawned this bug and I'm pretty sure
> that the customer's original issue was that they were running nfsometer as
> root against an export that had root squashing enabled. I've sent some
> patches that makes nfsometer print out some error messages instead of a
> backtrace in this scenario (and a handful of other scenarios I've come
> across).
Thank you!
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.
https://rhn.redhat.com/errata/RHBA-2016-2253.html