lustre build system overhaul (LU-1199)

[LU-3465] Reevaluate method for installing rpms in different root Created: 12/Jun/13  Updated: 16/Sep/13  Resolved: 16/Sep/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Christopher Morrone Assignee: Minh Diep
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3958 Reevaluate method for installing rpms... Closed
Rank (Obsolete): 8662

 Description   

Changes to the build system were made to allow for Intel MIC installations, which seem to require installing lustre in odd paths. I'm not entirely comfortable with our current solution. One of the main requirements seems to be that Lustre (included the kernel modules) needs to be installed in a non-standard filesystem root.

I wonder if it isn't possible to achieve that goal through more standard means. For instance, we could make Lustre packages relocatable, and then use standard rpm --root, --dbpath, --relocate, and --prefix options at installation time to install the package into a non-standard location.

I believe that Cray also installs lustre in non-standard subdirectories, so perhaps we can come up with a non-MIC-specific solution that works for multiple people.



 Comments   
Comment by Brian Murrell (Inactive) [ 13/Jun/13 ]

I know of no situation or reason where we (HPDD) install Lustre in "odd paths". Can you provide any examples?

Comment by Christopher Morrone [ 13/Jun/13 ]

Are you aware of the new MIC work?

Comment by Brian Murrell (Inactive) [ 13/Jun/13 ]

morrone: I have not been paying attention to what's landing for it. I only found a0a72a9f47f85250cdbfdf4ef2e760425bd013ac/LU-2752 but that doesn't seem to affect packaging just cross-compiling. Sorry to be showing up late to the party, but can you be specific about which changes you are talking about that are causing the use of "odd paths"?

Comment by Christopher Morrone [ 13/Jun/13 ]

Things like the new %{?rootdir}/ custom prefix that have been added in the spec file.

Comment by Brian Murrell (Inactive) [ 13/Jun/13 ]

Hrm, yeah. I had not seen that before it landed. I too would prefer some investigation into relocatable RPMs rather than customizing RPMs to "odd paths".

Comment by Peter Jones [ 13/Jun/13 ]

Minh can you please review this suggestion to understand what would be required? thanks Peter

Comment by Minh Diep [ 27/Aug/13 ]

Chris,
Right now we have file installed in /usr, /lib, /sbin/, /etc. Is it feasible, possible to make them relocatable?

Comment by Christopher Morrone [ 27/Aug/13 ]

I don't know, that is exactly the question that needs to be answered.

Comment by Jodi Levi (Inactive) [ 16/Sep/13 ]

Duplicate of LU-3958

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