Project

General

Profile

Actions

Bug #10217

closed

old fuse should warn on flock

Added by John Spray over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer, firefly
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Test failure: test_filelock (tasks.mds_client_recovery.TestClientRecovery):
http://pulpito.front.sepia.ceph.com/sage-2014-12-01_11:11:17-fs-next-distro-basic-multi/628933/

Command failed on plana03 with status 1: 'mkdir p - /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=310a3f1c65d25ee1fc60398f0fe025e4b19f55fe TESTDIR="/home/ubuntu/cephtest" CEPH_ID="0" adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/workunit.client.0/fs/misc/filelock_interrupt.py'
http://pulpito.front.sepia.ceph.com/sage-2014-12-01_11:11:17-fs-next-distro-basic-multi/628892/

If these were passing before, I wonder if we were sensitive to having a recent version of fuse or something?

Actions #1

Updated by John Spray over 9 years ago

  • Project changed from Ceph to CephFS
Actions #2

Updated by Zheng Yan over 9 years ago

yes, we need recent version of ceph-fuse and MDS. old version does not support interrupting flock

Actions #3

Updated by Greg Farnum over 9 years ago

  • Status changed from New to Resolved

This works in master.

Actions #4

Updated by Greg Farnum over 9 years ago

  • Subject changed from ceph-fuse flock failures on next to old fuse should warn on flock
  • Assignee deleted (Zheng Yan)
Actions #5

Updated by Loïc Dachary about 9 years ago

http://pulpito.ceph.com/loic-2015-02-28_11:45:50-fs-firefly-backports---basic-multi/783093/
http://pulpito.ceph.com/loic-2015-02-28_11:45:50-fs-firefly-backports---basic-multi/783076/

2014-12-01T16:51:07.475 INFO:teuthology.orchestra.run.plana03:Running: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=310a3f1c65d25ee1fc60398f0fe025e4b19f55fe TESTDIR="/home/ubuntu/cephtest" CEPH_ID="0" adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/workunit.client.0/fs/misc/filelock_interrupt.py'
2014-12-01T16:51:12.560 INFO:tasks.workunit.client.0.plana03.stderr:Traceback (most recent call last):
2014-12-01T16:51:12.560 INFO:tasks.workunit.client.0.plana03.stderr:  File "/home/ubuntu/cephtest/workunit.client.0/fs/misc/filelock_interrupt.py", line 78, in <module>
2014-12-01T16:51:12.560 INFO:tasks.workunit.client.0.plana03.stderr:    main()
2014-12-01T16:51:12.561 INFO:tasks.workunit.client.0.plana03.stderr:  File "/home/ubuntu/cephtest/workunit.client.0/fs/misc/filelock_interrupt.py", line 41, in main
2014-12-01T16:51:12.561 INFO:tasks.workunit.client.0.plana03.stderr:    fcntl.fcntl(f1, fcntl.F_OFD_SETLK, lockdata)
2014-12-01T16:51:12.561 INFO:tasks.workunit.client.0.plana03.stderr:IOError: [Errno 22] Invalid argument

Actions #6

Updated by Zheng Yan about 9 years ago

the failure is likely caused by running ceph-fuse on kernel < 3.15, kernels < 3.15 do not support fcntl.F_OFD_SETLK.

Actions #7

Updated by Greg Farnum about 9 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to hammer, firefly
Actions #8

Updated by Greg Farnum about 9 years ago

hammer backport in commit:e7e0ea626ecca7c74b76099a0c4fc016ca4e410f from pull request https://github.com/ceph/ceph/pull/4170

Actions #9

Updated by Zheng Yan about 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF