[LU-5091] LU-4606 breaks --with-zfs-devel option Created: 20/May/14 Updated: 19/Sep/14 Resolved: 28/May/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Brian Murrell (Inactive) | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||
| Rank (Obsolete): | 14036 | ||||||||||||||||||||||||
| Description |
|
When
This landing, unfortunately passes testing on Toro but that is because Toro is masking this bug due to it having had libzfs installed as a system package on it's builders, which we want to avoid on Onyx. This is because what is actually happening on Toro is that the Lustre build is getting it's headers from the path that --with-zfs-devel points to (which is the ZFS that was built at the same time as Lustre) but is linking against the library that is installed system-wide, which could be mis-matched. Fortunately at this time, and on this branch they are at least API compatible but that could change on a different branch or as the ZFS API is updated and the system-installed zfs-devel stagnates. This kind of divergence (between what is being built with Lustre and what is installed on the builders) and the masking of this bug is why zfs-devel should never have been installed as a system package on the builders and why we want to avoid it on Onyx. |
| Comments |
| Comment by James A Simmons [ 20/May/14 ] |
|
Ran into this issue as well. To tired to make a patch right now tho. |
| Comment by Nathaniel Clark [ 21/May/14 ] |
| Comment by Joshua Kugler (Inactive) [ 21/May/14 ] |
|
Since all the builders currently have zfs RPMs installed on them, how do we test that this actually fixes the issue. Oh...brian: if this builds on Onyx, then we're good, right? |
| Comment by Brian Murrell (Inactive) [ 21/May/14 ] |
|
joshua: Yep. |
| Comment by Brian Murrell (Inactive) [ 23/May/14 ] |
|
utopiabound: Note that in the above patch, in lbuild you will need to arrange for the zfs RPM to be unpacked with rpm2cpio | cpio in addition to the existing unpacking of the zfs-devel RPM. This is because the zfs-devel RPM doesn't contain any actual libraries but only contains the unversioned library symlinks pointing at the libraries that are installed with the zfs RPM. |
| Comment by Brian Murrell (Inactive) [ 28/May/14 ] |
|
Landed in b2659030edb7d34c91430ff924bab23881b6c230. |