[LU-8630] Install of lustre-dkms fails Created: 20/Sep/16  Updated: 14/Oct/16  Resolved: 08/Oct/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Critical
Reporter: Nathaniel Clark Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
# rpm -ivh x86_64/lustre-dkms-2.8.57_62_g919224d-1.el7.noarch.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:lustre-dkms-2.8.57_62_g919224d-1.################################# [100%]
Loading new lustre-2.8.57_62_g919224d DKMS files...
Building for 3.10.0-327.el7.x86_64
Building initial module for 3.10.0-327.el7.x86_64
configure: WARNING:

Disabling ldiskfs support because complete ext4 source does not exist.

If you are building using kernel-devel packages and require ldiskfs
server support then ensure that the matching kernel-debuginfo-common
and kernel-debuginfo-common-<arch> packages are installed.

configure: WARNING: kernel missing dev_set_rdonly patch for testing
configure: WARNING:

No selinux package found, unable to build selinux enabled tools

Done.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #0.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #1.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #2.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #3.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #4.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #5.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #6.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #7.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #8.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #9.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #10.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #11.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #12.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #13.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #14.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #15.
dkms.conf: Error! Directive 'DEST_MODULE_LOCATION' does not begin with
'/kernel', '/updates', or '/extra' in record #16.
...

This happened with multiple lustre-review builds of lustre-dkms and lustre-master builds.



 Comments   
Comment by Bruno Faccini (Inactive) [ 21/Sep/16 ]

Well it is strange that KMP_MODDIR could have not been correctly set when no configure error has occurred.
So this may come from a more tricky configure issue...
You should have a look to the configure log content in either /var/lib/dkms/lustre/<version>/build/config.log or /var/lib/dkms/lustre/<version>/<kernel-version>/<arch>/log/config.log locations.

Comment by Gerrit Updater [ 21/Sep/16 ]

Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/22663
Subject: LU-8630 build: Fix definition of KMP_MODDIR
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 909c0230df3ada5b3255bcaf75960951cc1ff81b

Comment by Nathaniel Clark [ 21/Sep/16 ]

KMP_MODDIR was no longer exported it was unexpored by 3b7d27ea22faf1c6d0a37afa724fd9b5c3240322

Comment by James A Simmons [ 06/Oct/16 ]

I know this isn't directly related but on Power8 dkms also fails to load due to missing llite_loop module.

Comment by Gerrit Updater [ 08/Oct/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22663/
Subject: LU-8630 build: Fix definition of KMP_MODDIR
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 64c3405a62d43ccdfd4743c2252c4bf951f2e037

Comment by Peter Jones [ 08/Oct/16 ]

Landed for 2.9

Comment by Bruno Faccini (Inactive) [ 14/Oct/16 ]

James specific concern/issue, of Lustre dkms RPM on target re-build failure due to missing llite_loop module, is now being tracked as part of LU-8700.

Generated at Sat Feb 10 02:19:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.