Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11071

Support for Lustre Servers on Ubuntu 18.04 LTS

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • 9223372036854775807

    Description

      Ubuntu 18.04 LTS ships kernel 4.15, with the client support for 4.15 landed to master,

      Now we can add 4.15 server support.

      Note that the new e2fsprogs rebasing is still in progress, the testing has done with the current e2fsprogs 1.42.13.wc6

      Attachments

        Issue Links

          Activity

            [LU-11071] Support for Lustre Servers on Ubuntu 18.04 LTS

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33322/
            Subject: LU-11071 build: kernel update Ubuntu 18.04
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 29029277088c39553081fe3464791b1eb5cf8924

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33322/ Subject: LU-11071 build: kernel update Ubuntu 18.04 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 29029277088c39553081fe3464791b1eb5cf8924

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33626
            Subject: LU-11071 build: add files to .gitignore
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 281dcbb842fb0d461cc2451ae5e58e4a51839034

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33626 Subject: LU-11071 build: add files to .gitignore Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 281dcbb842fb0d461cc2451ae5e58e4a51839034

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33624
            Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 25273c05afe93511160fa8e09f730e5b388d80b1

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33624 Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 25273c05afe93511160fa8e09f730e5b388d80b1
            dongyang Dongyang Li added a comment - - edited

            We can remove the multilib stuff:

            # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
            %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64%ifarch %{multilib_arches}
            mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \
                  %{buildroot}%{_includedir}/ext2fs/ext2_types-%{_arch}.h
            mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types-wrapper.h \
                  %{buildroot}%{_includedir}/ext2fs/ext2_types.h
            %endif
            

            and simply use

            # Replace arch-dependent header file with arch-independent stub (when needed).
            %multilib_fix_c_header --file %{_includedir}/ext2fs/ext2_types.h
            

            but that means we will add a build dependency of multilib-rpm-config package from epel, which provides the multilib_fix_c_header macro.

            Happy to make the change but the build servers need to add epel repo and have multilib-rpm-config installed.

            Cheers

            DY

            dongyang Dongyang Li added a comment - - edited We can remove the multilib stuff: # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages: %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64%ifarch %{multilib_arches} mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \ %{buildroot}%{_includedir}/ext2fs/ext2_types-%{_arch}.h mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types-wrapper.h \ %{buildroot}%{_includedir}/ext2fs/ext2_types.h %endif and simply use # Replace arch-dependent header file with arch-independent stub (when needed). %multilib_fix_c_header --file %{_includedir}/ext2fs/ext2_types.h but that means we will add a build dependency of multilib-rpm-config package from epel, which provides the multilib_fix_c_header macro. Happy to make the change but the build servers need to add epel repo and have multilib-rpm-config installed. Cheers DY
            adilger Andreas Dilger added a comment - - edited

            Dongyang, do we even need that wrapper anymore? Looking in the RHEL6 .spec file, there is a comment like "remove arch wrapper", so maybe we should also remove it from the THEL6 .spec patch completely?

            adilger Andreas Dilger added a comment - - edited Dongyang, do we even need that wrapper anymore? Looking in the RHEL6 .spec file, there is a comment like "remove arch wrapper", so maybe we should also remove it from the THEL6 .spec patch completely?
            dongyang Dongyang Li added a comment -

            Hi Minh,

            to build e2fsprogs debs on ubuntu, we need to do this:

            sed -i 's/ext2_types-wrapper.h$//g' lib/ext2fs/Makefile.in
            dpkg-buildpackage -b -us -uc
            

            Also see https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116#BuildLustreMASTERwithLdiskfs&ZFSonUbuntu14.04/16.04fromGit-4.)(Optional)Buildingmodifiede2fsprogsforLDISKFSsupport

            dongyang Dongyang Li added a comment - Hi Minh, to build e2fsprogs debs on ubuntu, we need to do this: sed -i 's/ext2_types-wrapper.h$ //g' lib/ext2fs/Makefile.in dpkg-buildpackage -b -us -uc Also see https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116#BuildLustreMASTERwithLdiskfs&ZFSonUbuntu14.04/16.04fromGit-4.)(Optional)Buildingmodifiede2fsprogsforLDISKFSsupport
            mdiep Minh Diep added a comment -

            Hi,

            Build e2fsprogs on ubuntu1804 failed with the following

            for i in ext2_err.h ext2_types.h ext2_types-wrapper.h; do \
            	echo "	INSTALL_DATA /usr/include/ext2fs/$i"; \
            	/usr/bin/install -c -m 644 $i /var/lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/tmp/usr/include/ext2fs/$i; \
            done
            	INSTALL_DATA /usr/include/ext2fs/ext2_err.h
            	INSTALL_DATA /usr/include/ext2fs/ext2_types.h
            	INSTALL_DATA /usr/include/ext2fs/ext2_types-wrapper.h
            /usr/bin/install: cannot stat 'ext2_types-wrapper.h': No such file or directory
            Makefile:977: recipe for target 'install' failed
            make[2]: *** [install] Error 1
            make[2]: Leaving directory '/var/lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/BUILD-STD/lib/ext2fs'
            Makefile:429: recipe for target 'install-libs-recursive' failed
            make[1]: *** [install-libs-recursive] Error 1
            make[1]: Leaving directory '/var/lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/BUILD-STD'
            debian/rules:310: recipe for target 'install' failed
            make: *** [install] Error 2
            dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
            
            mdiep Minh Diep added a comment - Hi, Build e2fsprogs on ubuntu1804 failed with the following for i in ext2_err.h ext2_types.h ext2_types-wrapper.h; do \ echo " INSTALL_DATA /usr/include/ext2fs/$i" ; \ /usr/bin/install -c -m 644 $i / var /lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/tmp/usr/include/ext2fs/$i; \ done INSTALL_DATA /usr/include/ext2fs/ext2_err.h INSTALL_DATA /usr/include/ext2fs/ext2_types.h INSTALL_DATA /usr/include/ext2fs/ext2_types-wrapper.h /usr/bin/install: cannot stat 'ext2_types-wrapper.h' : No such file or directory Makefile:977: recipe for target 'install' failed make[2]: *** [install] Error 1 make[2]: Leaving directory '/ var /lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/BUILD-STD/lib/ext2fs' Makefile:429: recipe for target 'install-libs-recursive' failed make[1]: *** [install-libs-recursive] Error 1 make[1]: Leaving directory '/ var /lib/jenkins/workspace/sandbox/arch/x86_64/distro/ubuntu1804/debian/BUILD-STD' debian/rules:310: recipe for target 'install' failed make: *** [install] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

            Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/33322
            Subject: LU-11071 build: kernel update Ubuntu 18.04
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 738eb6049e95a6e969cd759be0055e62743ac6ce

            gerrit Gerrit Updater added a comment - Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/33322 Subject: LU-11071 build: kernel update Ubuntu 18.04 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 738eb6049e95a6e969cd759be0055e62743ac6ce

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33152/
            Subject: LU-11071 build: create lustre resource package for Ubuntu
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: e0aa1c6880f5423adfa9fa024f31990331041c67

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33152/ Subject: LU-11071 build: create lustre resource package for Ubuntu Project: fs/lustre-release Branch: master Current Patch Set: Commit: e0aa1c6880f5423adfa9fa024f31990331041c67

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33144/
            Subject: LU-11071 ldiskfs: fix ldiskfs patch for ubuntu18
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 072c61ee24b70816721dec1c54d0cc558ea91631

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33144/ Subject: LU-11071 ldiskfs: fix ldiskfs patch for ubuntu18 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 072c61ee24b70816721dec1c54d0cc558ea91631

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33152
            Subject: LU-11071 build: create lustre resource package for Ubuntu
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5fd9645febf484d66e2db403b72e7bed7014a6af

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33152 Subject: LU-11071 build: create lustre resource package for Ubuntu Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5fd9645febf484d66e2db403b72e7bed7014a6af

            People

              dongyang Dongyang Li
              lidongyang Li Dongyang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: