[LU-4707] Don’t deploy the “lustre” init script on clients Created: 28/Feb/14  Updated: 06/Aug/14  Resolved: 11/Apr/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0, Lustre 2.5.2

Type: Bug Priority: Major
Reporter: Malcolm Cowe (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: mn4

Rank (Obsolete): 12877

 Description   

The "lustre" init script, etc/rc.d/init.d/lustre, is I think intended for use on Lustre servers only. Can it be removed from the payload for client nodes?



 Comments   
Comment by Andrea Garcia (Inactive) [ 04/Mar/14 ]

this is a Lustre bug - converting to an LU ticket, per IML triage meeting.

Comment by Dmitry Eremin (Inactive) [ 06/Mar/14 ]

Patch is http://review.whamcloud.com/9535

Comment by Dmitry Eremin (Inactive) [ 11/Apr/14 ]

Patch have landed to master.

Comment by Dmitry Eremin (Inactive) [ 12/Apr/14 ]

patch for b2_5: http://review.whamcloud.com/9940
patch for b2_4: http://review.whamcloud.com/9941

Comment by Andreas Dilger [ 28/May/14 ]

Patch landed to b2_5 for 2.5.2.

Comment by Ryan Haasken [ 01/Aug/14 ]

The above change also has the side-effect that the lnet init script will not be included for non-redhat builds due to the "if INIT_SCRIPTS" check in lustre/scripts/Makefile.am.

Why do the init scripts not support a non-redhat environment? As far as I can tell, it actually looks like the lnet init script doesn't use anything from the redhat-specific /etc/rc.d/init.d/functions, and it would work on a SLES machine.

Comment by Dmitry Eremin (Inactive) [ 06/Aug/14 ]

I don't know why those scripts are specific to Red Hat distributive but those scripts are enabled if /etc/init.d/functions and /etc/sysconfig/network files exists.

Comment by Ryan Haasken [ 06/Aug/14 ]

Thanks Dmitry. I've opened LU-5454 to get the lnet init script ported to SLES.

/etc/init.d/functions and /etc/sysconfig/network are specific to RHEL, but as far as I can tell, it's not using anything in /etc/init.d/functions.

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