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

test scripts fail to load ptlrpc_gss module

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0, Lustre 2.5.4
    • Lustre 2.7.0, Lustre 2.5.4
    • None
    • kernel: 2.6.32-431.29.2.1chaos.ch5.2.x86_64
    • 3
    • 16567

    Description

      The llmount.sh script fails with the following output:

      -bash-4.1# FSTYPE=zfs ./lustre/tests/llmount.sh
      Stopping clients: ovirt-guest-223 /mnt/lustre (opts:)
      Stopping clients: ovirt-guest-223 /mnt/lustre2 (opts:)
      Loading modules from /root/filesystem/lustre/lustre/tests/..
      detected 1 online CPUs by sysfs
      libcfs will create CPU partition based on online CPUs
      debug=vfstrace rpctrace dlmtrace neterror ha config
      ioctl super
      lfsck
      subsystem_debug=all -lnet -lnd -pinger
      insmod: error inserting
      '/root/filesystem/lustre/lustre/tests/../ptlrpc/gss/ptlrpc_gss.ko': -1 Unknown symbol in module
      

      To circumvent this I have to manually load the sunrpc module. It would
      be preferable for the test scripts to handle such dependencies
      automatically.

      Attachments

        Activity

          [LU-5932] test scripts fail to load ptlrpc_gss module

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13017/
          Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss
          Project: fs/lustre-release
          Branch: b2_5
          Current Patch Set:
          Commit: b09994f0c5c55e40f018bd06b2689c9e564f7a50

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13017/ Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss Project: fs/lustre-release Branch: b2_5 Current Patch Set: Commit: b09994f0c5c55e40f018bd06b2689c9e564f7a50

          Patch landed to Master.

          jlevi Jodi Levi (Inactive) added a comment - Patch landed to Master.

          Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/13017
          Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss
          Project: fs/lustre-release
          Branch: b2_5
          Current Patch Set: 1
          Commit: ede8f9c77fc6381446d3f2cbebef0968549b75df

          gerrit Gerrit Updater added a comment - Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/13017 Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss Project: fs/lustre-release Branch: b2_5 Current Patch Set: 1 Commit: ede8f9c77fc6381446d3f2cbebef0968549b75df

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12790/
          Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 92479eca2ed5e1871b2660af280917e4d61bdba8

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12790/ Subject: LU-5932 tests: load sunrpc module before insmod ptlrpc_gss Project: fs/lustre-release Branch: master Current Patch Set: Commit: 92479eca2ed5e1871b2660af280917e4d61bdba8

          Thanks for your quick response! For what it's worth, I traced down that other problem I was having (there were some unloaded zfs modules), and it was completely unrelated to this.

          p4tino Kyle Blatter (Inactive) added a comment - Thanks for your quick response! For what it's worth, I traced down that other problem I was having (there were some unloaded zfs modules), and it was completely unrelated to this.
          yujian Jian Yu added a comment -

          Thank you for the verification, Kyle.

          yujian Jian Yu added a comment - Thank you for the verification, Kyle.

          Actually, it looks like it loaded the module correctly now, this is an unrelated bug that was being masked by the first.

          p4tino Kyle Blatter (Inactive) added a comment - Actually, it looks like it loaded the module correctly now, this is an unrelated bug that was being masked by the first.
          yujian Jian Yu added a comment -
          mount: No such file or directory
          

          Could you please run "which mount" to see where the command is or whether it's installed or not?

          yujian Jian Yu added a comment - mount: No such file or directory Could you please run "which mount" to see where the command is or whether it's installed or not?

          The install finishes without any issues, but when attempting to mount the filesystem it displays these errors:

          -bash-4.1# FSTYPE=zfs ./lustre/tests/llmount.sh
          Stopping clients: ovirt-guest-223 /mnt/lustre (opts:)
          Stopping clients: ovirt-guest-223 /mnt/lustre2 (opts:)
          Loading modules from /root/filesystem/lustre/lustre/tests/..
          detected 1 online CPUs by sysfs
          libcfs will create CPU partition based on online CPUs
          debug=vfstrace rpctrace dlmtrace neterror ha config 		      ioctl super lfsck
          subsystem_debug=all -lnet -lnd -pinger
          mount: No such file or directory
           llmount : @@@@@@ FAIL: can't bind /root/filesystem/lustre/lustre/tests/../utils/mount.lustre to /sbin/mount.lustre 
            Trace dump:
            = ./lustre/tests/../tests/test-framework.sh:4665:error_noexit()
            = ./lustre/tests/../tests/test-framework.sh:4696:error()
            = ./lustre/tests/../tests/test-framework.sh:563:load_modules_local()
            = ./lustre/tests/../tests/test-framework.sh:569:load_modules()
            = ./lustre/tests/../tests/test-framework.sh:3394:formatall()
            = ./lustre/tests/llmount.sh:11:main()
          Dumping lctl log to /tmp/test_logs/1416509794/llmount..*.1416509794.log
          Dumping logs only on local client.
          
          p4tino Kyle Blatter (Inactive) added a comment - The install finishes without any issues, but when attempting to mount the filesystem it displays these errors: -bash-4.1# FSTYPE=zfs ./lustre/tests/llmount.sh Stopping clients: ovirt-guest-223 /mnt/lustre (opts:) Stopping clients: ovirt-guest-223 /mnt/lustre2 (opts:) Loading modules from /root/filesystem/lustre/lustre/tests/.. detected 1 online CPUs by sysfs libcfs will create CPU partition based on online CPUs debug=vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck subsystem_debug=all -lnet -lnd -pinger mount: No such file or directory llmount : @@@@@@ FAIL: can't bind /root/filesystem/lustre/lustre/tests/../utils/mount.lustre to /sbin/mount.lustre Trace dump: = ./lustre/tests/../tests/test-framework.sh:4665:error_noexit() = ./lustre/tests/../tests/test-framework.sh:4696:error() = ./lustre/tests/../tests/test-framework.sh:563:load_modules_local() = ./lustre/tests/../tests/test-framework.sh:569:load_modules() = ./lustre/tests/../tests/test-framework.sh:3394:formatall() = ./lustre/tests/llmount.sh:11:main() Dumping lctl log to /tmp/test_logs/1416509794/llmount..*.1416509794.log Dumping logs only on local client.

          I'm out of the office today, but I'll try it tomorrow morning. Thanks!

          p4tino Kyle Blatter (Inactive) added a comment - I'm out of the office today, but I'll try it tomorrow morning. Thanks!

          People

            yujian Jian Yu
            p4tino Kyle Blatter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: