Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.10.2
-
None
-
OS: SLF 6.8
Kernel: 2.6.32-642.15.1.el6.x86_64
-
3
-
9223372036854775807
Description
Similar to LU-7887.
lnetctl not present in lustre-client rpm rpm rebuild from source. lnetctl is present in prebuilt rpm.
It will be extremely helpful to have "rpmbuild --rebuild" to build lustre client rpm with the same content and functionality as lustre-client rpm from distro.
The lustre client rpm rebuild is required time to time through lifecycle of the cluster. It shall be possible to do this type of work by administrators without knowledge of lustre internals.
There are several mails on lustre-discuss list reporting lnetctl is not in rpm.
I had to explicitly use flags as listed below to get lnetctl:
rpmbuild --rebuild --without servers --with lnet-dlc --with lustre-utils ./lustre-2.10.2-1.src.rpm
I did not try rpm rebuild for SLF 7.4 as distro version worked for me.
The other aspect, we have to document rpm rebuild procedure.
There are clear and detailed instructions on client rebuild on Cray website for their distro. I can not easily find "rebuild" in lustre manual linked from lustre.org.
There are detailed instructions on lustre wiki; they have to be updated with lnet-dlc lustre-utils until rpm build fixed.
There is unrelated gss issue on SLF 7 node (it can be also some rpms are installed/missing).
I had to add flags on SLF7 node to resolve error:
--define 'configure_args --disable-gss --disable-gss-keyring'
File not found: /root/rpmbuild/BUILDROOT/lustre-2.11.0_RC1_1_gac4da53-1.x86_64/etc/request-key.d/lgssc.conf
Built completed OK on SLF 6.8 node.
I guess gss is disabled by default in lustre.spec.in . If by some reason gss is enabled lustre build shall provide default on build host or do not complain.
I read lgssc.conf is not used on client host until gss is configured:
LUDOC-197: