Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Lustre 2.5.4
-
Lustre Build: https://build.hpdd.intel.com/job/lustre-b2_5/112/
FSTYPE=zfs
-
3
-
17337
Description
sanity-hsm test 251 failed as follows:
CMD: shadow-26vm10 pkill -INT -x lhsmtool_posix CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 Copytool still running on shadow-26vm10 CMD: shadow-26vm10 pgrep -x lhsmtool_posix shadow-26vm10: 7902 sanity-hsm test_251: @@@@@@ FAIL: Copytool failed to stop in 20s ...
Maloo reports:
https://testing.hpdd.intel.com/test_sets/49281842-a9ef-11e4-8c6f-5254006e85c2
https://testing.hpdd.intel.com/test_sets/4cac5380-aa11-11e4-a5c6-5254006e85c2
Concerning the "https://testing.hpdd.intel.com/test_sets/97fd06d8-ac1c-11e4-992b-5254006e85c2" case, the 'Copytool failed to stop in 20s ...' errors/symptoms there looks more as an additional consequence (due to cleanup()/copytool_cleanup() execute as a trap, set in copytool_cleanup(), upon exit) of previous problem within same sub-test or even preceeding sub-tests :
_ 1st sub-test reported to have failed for 'Copytool failed to stop in 20s ...' is test_33, but it has failed previously with "sanity-hsm test_33: @@@@@@ FAIL: request on 0x200007931:0x2b:0x0 is not SUCCEED on mds1" waiting for archive to complete/succeed ...
_ 2nd sub-test reported to have failed for 'Copytool failed to stop in 20s ...' is test_60, but it has failed previously with "sanity-hsm test_60: @@@@@@ FAIL: Timed out waiting for progress update!" waiting for a progress update during archive.
_ 3rd sub-test reported to have failed for 'Copytool failed to stop in 20s ...' is test_70, but it is the next just after test_60 and since its 1st cmd is a copytool_cleanup that is likely to have encountered the same problem than the preceeding.
_ 4th sub-test reported to have failed for 'Copytool failed to stop in 20s ...' is test_71, but it is the next just after test_70 and since its 1st cmd is a copytool_cleanup that is likely to have encountered the same problem than the 2 preceeding.
_ 5th sub-test reported to have failed for 'Copytool failed to stop in 20s ...' is test_103, and according to its specific logs it is the only one that seems to have triggered the same scenario (huge delay during lock flush/cancel processing) I have already described in my previous update. So it may be an other potential subject to the same change than for test_251.
After more Lustre debug log reading, it seems that the "huge delay during lock flush/cancel processing" that seems to be the root cause of the problem is mainly on the OSS side, after the Client has handled the Blocking callback and sent back its Cancel of lock to the OSS. The thread handling it on the OSS can then spend multiple tens of seconds in ldlm_request_cancel()
>ldlm_lock_cancel()>ldlm_cancel_callback()-> .... andhighly probably tgt_blocking_ast()
>tgt_sync()>dt_object_sync()->osd_object_sync(). So is this finally some kind of ZFS performance issue?