[LU-97] lustre-modules should require lustre-ldiskfs if it's a server build Created: 24/Feb/11  Updated: 16/Aug/16  Resolved: 16/Aug/16

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.0.0, Lustre 2.1.0, Lustre 1.8.6
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: Brian Murrell (Inactive) Assignee: Brian Murrell (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 23,877
Rank (Obsolete): 5100

 Description   

[ From BZ23877]:

Because the server modules require ldiskfs to properly function, the lustre-module rpms should really require the ldiskfs rpm. Currently because there are no dependencies between the two, the lustre-modules can get installed before the ldiskfs modules, and harmless but worrisome error messages pop up on the screen.



 Comments   
Comment by Build Master (Inactive) [ 08/Mar/11 ]

Integrated in reviews-centos5 #413
LU-97 lustre-modules should depend on ldiskfs.

Brian J. Murrell : 2086c1eb427593c7a1d7af11c6f6384c8e2fc53f
Files :

  • lustre.spec.in
Comment by Robert Read (Inactive) [ 08/Mar/11 ]

This will break in the not too distant future when we have alternative disk filesystems. Would it be possible to change the ldiskfs package to provide lustre-backend-fs and the lustre-modules can require that instead?

Comment by Build Master (Inactive) [ 08/Mar/11 ]

Integrated in reviews-centos5 #421
LU-97 lustre-modules should depend on ldiskfs.

Brian J. Murrell : bb44ec13be6b76156c13a27d8715003d353d8464
Files :

  • ldiskfs/lustre-ldiskfs.spec.in
  • lustre.spec.in
Comment by Build Master (Inactive) [ 09/Mar/11 ]

Integrated in lustre-master-centos5 #139
LU-97 lustre-modules should depend on ldiskfs.

Oleg Drokin : 3d6db8ae1070fbf9048bb5d949ff7c6d2dfa758d
Files :

  • ldiskfs/lustre-ldiskfs.spec.in
  • lustre.spec.in
Comment by Build Master (Inactive) [ 11/Mar/11 ]

Integrated in reviews-rhel6 #6
LU-97 lustre-modules should depend on ldiskfs.

Oleg Drokin : 3d6db8ae1070fbf9048bb5d949ff7c6d2dfa758d
Files :

  • ldiskfs/lustre-ldiskfs.spec.in
  • lustre.spec.in
Comment by Andreas Dilger [ 27/Jun/11 ]

This change has broken client-only module installation when the client auto-detects that this isn't a patched kernel (i.e. for most user builds):

checking for /usr/src/kernels/2.6.32.26-175.fc12.x86_64/include/linux/lustre_version.h... no
configure: WARNING: Unpatched kernel detected.
configure: WARNING: Lustre servers cannot be built with an unpatched kernel;
configure: WARNING: disabling server build

rpm -i /usr/src/redhat/RPMS/x86_64/lustre-modules-2.0.63-2.6.32.26_175.fc12.x86_64_gf80d83c.x86_64.rpm
error: Failed dependencies:
lustre-backend-fs is needed by lustre-modules-2.0.63-2.6.32.26_175.fc12.x86_64_gf80d83c.x86_64

It seems that the automatically-detected kernel support is not the same as specifying --disable-server (which I assume works for client-only RPMs or this issue would have been reported before now).

Comment by Josephine Palencia [ 28/Jun/11 ]

How do I get pass this? Building patchless clients for lustre 2.0.62/63 (EXT4 on servers). I've tried excluding ext4, --disable-server on client..

  1. rpm -ivh lustre-modules-2.0.63-2.6.18_238.12.1.el5xen_g78ed463.x86_64.rpm lustre-2.0.63-2.6.18_238.12.1.el5xen_g78ed463.x86_64.rpm
    error: Failed dependencies:
    lustre-backend-fs is needed by lustre-modules 2.0.63-2.6.18_238.12.1.el5xen_g78ed463.x86_64
Comment by Andreas Dilger [ 28/Jun/11 ]

While this is being fixed, you can just install the rpm with "rpm -i --nodeps".

Comment by Christopher Morrone [ 31/May/13 ]

The problem originally described in this ticket is no longer an issue on master.

Comment by James A Simmons [ 16/Aug/16 ]

Old ticket for unsupported version

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