Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15571

iotrace debug mask causing interop testing failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.15.0
    • Lustre 2.15.0
    • None
    • 3
    • 9223372036854775807

    Description

      The addition of iotrace to the default debug mask is causing interop testing failures with new clients against older servers (eg. 2.14.0) for subtests that restore the debug mask at the end of the test. For example, sanity test_24v:
      https://testing.whamcloud.com/test_sets/96c360e4-cbca-46b4-8a8e-0371f9a8f4b4

      onyx-61vm3: error: set_param: setting /sys/kernel/debug/lnet/debug=trace inode super iotrace malloc cache info ioctl neterror net warning buffs other dentry nettrace page dlmtrace error emerg ha rpctrace vfstrace reada mmap config console quota sec lfsck hsm snapshot layout: Invalid argument
      pdsh@onyx-61vm1: onyx-61vm3: ssh exited with exit code 22
      

      and on the console logs it shows:

      cfs_str2mask()) unknown mask 'iotrace'.
      

      This is likely caused by the test-framework using the client debug mask (which contains iotrace by default) being used on all of the remote nodes.

      It probably is enough to filter out the "iotrace" string from the saved debug mask before using it on the remote node, if the server version is older than 2.14.57 (or whatever version the patch was included in).

      Attachments

        Issue Links

          Activity

            People

              paf0186 Patrick Farrell
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: