[LU-10997] Ubuntu 18 support Created: 04/May/18 Updated: 13/Aug/20 Resolved: 13/Aug/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | James A Simmons | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 18 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
The next LTS release of Ubuntu is now available. It includes ZFS by default and runs a 4.15 kernel. This ticket will track all the work needed to support this platform. |
| Comments |
| Comment by James A Simmons [ 04/May/18 ] |
|
For my testing I grabbed the master-next branch and rebased https://review.whamcloud.com/#/c/31790 In my initial testing using the default ZFS (0.7.5) that comes with Ubuntu I see the following error on startup. [312807.501231] Lustre: DEBUG MARKER: /usr/src/lustre-2.11.51/lustre/tests/../utils/.libs/lctl get_param -n version 2>/dev/null || /usr/src/lustre-2.11.51/lustre/tests/../utils/.libs/lctl lustre_build_version 2>/dev/null || /usr/src/lustre-2.11.51/lustre/tests/../utils/.libs/lctl --version 2> So looking at the zfs code ZFS_PROJINHERIT is defined but dmu_objset_projectquota_enabled() is missing. Also I can't seem to find where dmu_assign_archbuf_by_dbuf is being used. |
| Comment by Gerrit Updater [ 05/May/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32304 |
| Comment by James A Simmons [ 05/May/18 ] |
|
I see what went wrong. I had some newer ZFS sources in /usr/src which don't match what Ubuntu 18 ships with. So I moved it out of the way. Looking to see where the zfs source are I found them in /usr/src/linux-source-4.15.0/{spl/zfs}. So they are looked in the kernel source itself. We will have to update the source paths for the Ubuntu case. |
| Comment by Gerrit Updater [ 21/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32304/ |
| Comment by James A Simmons [ 19/Jul/18 ] |
|
Their is something really wrong with the test setup with Ubuntu. Anything I push fails with: Trying to load: pxelinux.cfg/1545a47a-0617-0b4b-bafe-af4b2b9c27ce[1S Trying to load: pxelinux.cfg/01-52-54-00-70-0d-c7[1S Booting from local disk...[1S Could not boot image: Error 0x7f8d81ff (http://ipxe.org/7f8d81ff)
|
| Comment by James A Simmons [ 08/Nov/18 ] |
|
I noticed the ARM64 is constantly crashing in the recent testing. Its the same reason as Ubuntu18 is now broken : /usr/src/lustre-2.11.56/lustre/osd-ldiskfs/osd_io.c: In function ‘osd_bio_integrity_compare’: /usr/src/lustre-2.11.56/lustre/osd-ldiskfs/osd_io.c:345:53: error: ‘struct bio’ has no member named ‘bi_bdev’; did you mean ‘bi_iter’? struct blk_integrity bi = bdev_get_integrity(bio->*bi_bdev); ^~~~~~~ bi_iter scripts/Makefile.build:332: recipe for target '/usr/src/lustre-2.11.56/lustre/osd-ldiskfs/osd_io.o' failed make[6]: *** [/usr/src/lustre-2.11.56/lustre/osd-ldiskfs/osd_io.o] Error 1 |
| Comment by James A Simmons [ 08/Nov/18 ] |
|
Minh Sebastien found the staging module usage error but now we see the following when building: |
| Comment by James A Simmons [ 09/Nov/18 ] |
|
Resolved all the major Ubuntu issues!! Just took many patches |
| Comment by James A Simmons [ 28/Nov/18 ] |
|
Last patch https://review.whamcloud.com/#/c/33492 for complete Ubuntu18 client support |
| Comment by James A Simmons [ 13/Aug/20 ] |
|
Now that we are moving to Ubuntu 20 LTS we can close this and move the remaining tickets to that work to resolve. |