[LU-5932] test scripts fail to load ptlrpc_gss module Created: 18/Nov/14  Updated: 15/Jan/15  Resolved: 11/Dec/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0, Lustre 2.5.4
Fix Version/s: Lustre 2.7.0, Lustre 2.5.4

Type: Bug Priority: Minor
Reporter: Kyle Blatter (Inactive) Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

kernel: 2.6.32-431.29.2.1chaos.ch5.2.x86_64


Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Peter Jones [ 19/Nov/14 ]

Yu, Jian

Could you please advise?

Thanks

Peter

Comment by Gerrit Updater [ 19/Nov/14 ]

Jian Yu (jian.yu@intel.com) uploaded a new 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: 1
Commit: c266f3e5b4c6dac6301d32882d72c9e68e8a71bb

Comment by Jian Yu [ 19/Nov/14 ]

Hi Kyle,
Could you please try the above patch? Thanks.

Comment by Kyle Blatter (Inactive) [ 19/Nov/14 ]

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

Comment by Kyle Blatter (Inactive) [ 20/Nov/14 ]

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.
Comment by Jian Yu [ 20/Nov/14 ]
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?

Comment by Kyle Blatter (Inactive) [ 20/Nov/14 ]

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

Comment by Jian Yu [ 21/Nov/14 ]

Thank you for the verification, Kyle.

Comment by Kyle Blatter (Inactive) [ 21/Nov/14 ]

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.

Comment by Gerrit Updater [ 09/Dec/14 ]

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

Comment by Gerrit Updater [ 10/Dec/14 ]

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

Comment by Jodi Levi (Inactive) [ 11/Dec/14 ]

Patch landed to Master.

Comment by Gerrit Updater [ 15/Jan/15 ]

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

Generated at Sat Feb 10 01:55:45 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.