[LU-7641] I have no idea how to create a META file in lustre-2.7.64 Created: 08/Jan/16 Updated: 05/Apr/18 Resolved: 05/Apr/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Jeevan Patnaik | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Epic/Theme: | lustre-2.7.64, patch |
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Lustre building rpms fails with the following error: make \
make[2]: *** [module-dist-hook] Error 1 only 1 rpm is created: I have followed the instructions given in here: |
| Comments |
| Comment by Oleg Drokin [ 08/Jan/16 ] |
|
Are you building not out of a git tree (with .git present)? If you build out of the git tree it should work and probably nobody tested it on a checkout with no git metadata. |
| Comment by Christopher Morrone [ 08/Jan/16 ] |
|
I have tested it without git and its definitely broken. It has been broken for many years, in fact. Recently I fixed LLNL's local 2.5-llnl branch to get around that problem. The fix is a bit hackish, so I'm not going to push it in its current form. But that is one of the things on my mental list to get fixed in time for Lustre 2.9. Jeevna, I would not recommend using the build instructions from the manual. They are terrible. For instance, it is downright silly to create a new user. It is also fairly nonsensical to start the lustre build, pause to go build the linux kernel and maybe other things, and then resume the lustre build. The order really should be: build lustre's prerequisites, install lustre's prerequisites, build lustre. Maybe if my current crusade to make Lustre's build system a little more sensical in time for 2.9 suceeds, we'll also take some time to revise the manual. Maybe we'll just ditch that section of the manual and focus on wiki.lustre.org documentation. In the mean time, make sure that you are in a git working directory when you build lustre, like Oleg said. Make sure your current user also has correct permissions for that working directory...if you followed the manual and tried to make a new user, maybe something got confused permission wise? |
| Comment by Jeevan Patnaik [ 08/Jan/16 ] |
|
Unfortunately, some firewall restrictions blocking for connecting to git. So, I have copied the snapshot and used it directly without git. I have no idea what is lustre before, just started having brief idea after going through documentation. Also I need to go through these concepts: client, server etc. etc. For now my task is to find out how to install the required packages. |
| Comment by Christopher Morrone [ 08/Jan/16 ] |
|
Do you need ldiskfs? If you can use the zfs backend instead, the build process is muuuuuch easier. You can just set up a yum repo and use yum to install zfs (no need to build it yourself), and there is no need to create a custom kernel. Intel should really be posting the canonical (make dist'ed) tarball for releases somewhere, but I can't find it at the moment. Their build and packaging process leaves quite a bit to be desired. You can perhaps use the .src.rpm file instead. Of course you'll need to use the binary zfs packages, not the DKMS ones with 2.7, because my fix for Lustre's build there just landed to master in the past week or so. Sigh. All of this is much harder than it needs to be. |
| Comment by Christopher Morrone [ 08/Jan/16 ] |
|
FYI I created a separate ticket under my epic Lustre build system cleanup patch where I'll track my plan to allow Lustre to build without a git working directory on the first pass: |
| Comment by Jeevan Patnaik [ 08/Jan/16 ] |
|
wow thanks...frankly speaking..I don't know what I am doing. There is a demand to install lustre filesystem to improve performance on HPC. Today, someone asked me to check on the architecture and to install required rpms. First I am pointed to install this server and client packages. So, yes I think we are going to need ldiskfs, not zfs. I will go through the architecture first. So, zfs is different from lustre??? We need this for grid environment and they want to use lustre mainly to have optimzed I/O throughput. |
| Comment by Jeevan Patnaik [ 08/Jan/16 ] |
|
And I couldn't find the proper rpms for the kernel: 2.6.32-573.12.1.el6 in the download repository: https://downloads.hpdd.intel.com/public/lustre/ So, I have chosen to go with building custom kernel. |
| Comment by Peter Jones [ 05/Apr/18 ] |
|
Seems like a workaround was found here |