[LU-6677] Package lustre correctly for Fedora/RHEL Created: 02/Jun/15 Updated: 22/Jul/16 Resolved: 22/Jul/16 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Christopher Morrone | Assignee: | Minh Diep |
| Resolution: | Done | Votes: | 0 |
| Labels: | llnl | ||
| Issue Links: |
|
||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
LLNL will be moving to RHEL7 on new systems in the not-too-distant-future. As part of the move, we are also transitioning to a new rpm build farm based on the standard Fedora Koji build system. We need Lustre to be correctly RPM packaged using modern RPM packaging best practices, and it needs to be buildable under Koji. Off the top of my head, there are two main initial things that need to change to meet that definition:
|
| Comments |
| Comment by Gerrit Updater [ 02/Jun/15 ] |
|
Christopher J. Morrone (morrone2@llnl.gov) uploaded a new patch: http://review.whamcloud.com/15112 |
| Comment by Gerrit Updater [ 02/Jun/15 ] |
|
Christopher J. Morrone (morrone2@llnl.gov) uploaded a new patch: http://review.whamcloud.com/15113 |
| Comment by Christopher Morrone [ 02/Jun/15 ] |
|
I pushed two patches for b2_5 that were developed at LLNL by Brian Behledorf. He based them on our local LLNL 2.5 branch, and I just did a very naive rebase onto b2_5 so I could share them with the community. I didn't even check if they work on b2_5, but that isn't the point, since I know that b2_5 is no longer a live branch. I just want people to see the approach that Brian took. This could be the basis of a more complete solution. Change 15113 is the significant one. I recommend reading the Brian's commit comment, because it is pretty detailed about what the changes buy us. |
| Comment by Peter Jones [ 04/Jun/15 ] |
|
Minh is looking into this |
| Comment by Christopher Morrone [ 05/Jun/15 ] |
|
Another requirement for Lustre to be claimed "correctly packaged":
|
| Comment by Minh Diep [ 09/Jun/15 ] |
|
My first question about using Koji is, does it support Suse, Ubuntu..and other distro? |
| Comment by James A Simmons [ 09/Jun/15 ] |
|
Koji does not support debian package format so no Ubuntu. |
| Comment by Minh Diep [ 09/Jun/15 ] |
|
From what I read, Koji is similar to jenkins but it's limited to build RPMS and no Ubuntu. sounds like this is a set back. |
| Comment by Minh Diep [ 09/Jun/15 ] |
|
Have we looked into OpenBuildService? |
| Comment by Christopher Morrone [ 09/Jun/15 ] |
|
Just to be clear, I never implied that Koji could be a build system for anything other then Fedora and RHEL. The requirement is in this ticket is just that Lustre needs to build correctly under Koji and result in RPMs that meet modern rpm packaging best practices. At a minimum, I suspect that means that you'll need to use mock when building packages for Fedora/RHEL/CentOS flavors of Linux distributions. The lbuild method of using rpm2cpio will almost certainly not be sufficient. |
| Comment by Minh Diep [ 09/Jun/15 ] |
|
Thanks Chris for clarifying the intention. I completely agree with you that much work and time need to invest in lbuild (is anyone using this beside Intel build tools?) and makefiles, spec... Any further pointers and clarification are much appreciated. |
| Comment by Christopher Morrone [ 09/Jun/15 ] |
|
Livermore isn't using lbuild, but I know that there were a couple of places that are, or were, using it. I moved lbuild into the contrib subdirectory, so there is already a big hint that lbuild is not part of the canonical build system. With that change, I would argue that we do not need to worry too much about how changing or replacing lbuild will impact users. It would not hurt, though, to give people warning on lustre.org mailing lists about changes that are coming in the build system so people can be prepared. |
| Comment by Minh Diep [ 27/Jul/15 ] |
|
Hi Chris, Have you had a chance to look at http://review.whamcloud.com/#/c/12063/? |
| Comment by Christopher Morrone [ 27/Jul/15 ] |
|
No, I have not. What are you thoughts on the approach versus how Brian Behlendorf's patch does it? |
| Comment by Minh Diep [ 27/Jul/15 ] |
|
I could be wrong but both approaches are very similar. I tend to like the approach that uses a single spec file. If there's a way to do without installing kernel-devel on the build node, it would be great. |
| Comment by Minh Diep [ 22/Jul/16 ] |
|
Hi Chris, Is there anything else we need to do on this ticket? it seems like this is a dup of |
| Comment by Christopher Morrone [ 22/Jul/16 ] |
|
|