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

Getting build errors on Rhel 7.2 ( ppc64le )

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • None
    • Lustre 2.8.0
    • None
    • 1
    • 1
    • 3
    • 9223372036854775807

    Description

      While i try to build lustre from source using below steps getting build error at the initial phase.

      [root@pts00433-vm3 lustre_backup]# git clone https://github.com/Xyratex/lustre-stable.git
      [root@pts00433-vm3 lustre_backup]# cd lustre-stable
      [root@pts00433-vm3 lustre-stable]# sh ./autogen.sh
      libtoolize: $aclocaldir is not a directory: `/usr/share/aclocal'

      Attachments

        Activity

          [LU-8784] Getting build errors on Rhel 7.2 ( ppc64le )

          Hi James A Simmons,

          Are there any test cases which can be run to validate the lustre client configuration/performance when build lustre from source as done above ?

          amitkumar_ghatwal Amitkumar Ghatwal (Inactive) added a comment - Hi James A Simmons, Are there any test cases which can be run to validate the lustre client configuration/performance when build lustre from source as done above ?

          Yes , that is what i did yesterday and got it working, but replying it here now
          Next below commands was how i managed to install lustre client

          1. depmod -a
          2. modprobe -v lustre

          Installed at power up
          [root@pts00433-vm5 ~]# cat /etc/sysconfig/modules/lustre.module
          #!/bin/sh

          /sbin/lsmod | /bin/grep lustre 1>/dev/null 2>&1
          if [ ! $? ] ; then
          /sbin/modprobe lustre >/dev/null 2>&1
          fi

          connect to MGS/OSS

          1. mkdir /mnt/first_mount
          2. mount -t lustre 10.51.225.95@tcp0:/whatevs /mnt/first_mount

          Confirming that the client is configured correctly
          #[root@pts00433-vm5 ~]# lfs df -h
          UUID bytes Used Available Use% Mounted on
          whatevs-MDT0000_UUID 28.4G 58.9M 26.3G 0% /mnt/first_mount[MDT:0]
          whatevs-OST0000_UUID 39.5G 57.0M 37.3G 0% /mnt/first_mount[OST:0]

          filesystem summary: 39.5G 57.0M 37.3G 0% /mnt/first_mount

          1. [root@pts00433-vm5 ~]# df -h
            Filesystem Size Used Avail Use% Mounted on
            /dev/mapper/rhel-root 115G 88G 28G 77% /
            devtmpfs 7.5G 0 7.5G 0% /dev
            tmpfs 7.5G 0 7.5G 0% /dev/shm
            tmpfs 7.5G 137M 7.4G 2% /run
            tmpfs 7.5G 0 7.5G 0% /sys/fs/cgroup
            /dev/vda2 497M 310M 187M 63% /boot
            10.51.225.95@tcp:/whatevs 40G 58M 38G 1% /mnt/first_mount
            tmpfs 1.5G 0 1.5G 0% /run/user/0

          The above tells me that machine 3 is successfully configured to be working as lustre client . Do let me know of any more check/test which i can perform on the lustre client to conform lustre file system.

          amitkumar_ghatwal Amitkumar Ghatwal (Inactive) added a comment - Yes , that is what i did yesterday and got it working, but replying it here now Next below commands was how i managed to install lustre client depmod -a modprobe -v lustre Installed at power up [root@pts00433-vm5 ~] # cat /etc/sysconfig/modules/lustre.module #!/bin/sh /sbin/lsmod | /bin/grep lustre 1>/dev/null 2>&1 if [ ! $? ] ; then /sbin/modprobe lustre >/dev/null 2>&1 fi connect to MGS/OSS mkdir /mnt/first_mount mount -t lustre 10.51.225.95@tcp0:/whatevs /mnt/first_mount Confirming that the client is configured correctly # [root@pts00433-vm5 ~] # lfs df -h UUID bytes Used Available Use% Mounted on whatevs-MDT0000_UUID 28.4G 58.9M 26.3G 0% /mnt/first_mount [MDT:0] whatevs-OST0000_UUID 39.5G 57.0M 37.3G 0% /mnt/first_mount [OST:0] filesystem summary: 39.5G 57.0M 37.3G 0% /mnt/first_mount [root@pts00433-vm5 ~] # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 115G 88G 28G 77% / devtmpfs 7.5G 0 7.5G 0% /dev tmpfs 7.5G 0 7.5G 0% /dev/shm tmpfs 7.5G 137M 7.4G 2% /run tmpfs 7.5G 0 7.5G 0% /sys/fs/cgroup /dev/vda2 497M 310M 187M 63% /boot 10.51.225.95@tcp:/whatevs 40G 58M 38G 1% /mnt/first_mount tmpfs 1.5G 0 1.5G 0% /run/user/0 The above tells me that machine 3 is successfully configured to be working as lustre client . Do let me know of any more check/test which i can perform on the lustre client to conform lustre file system.

          Try running "depmod -a" after you install the lustre modules.

          simmonsja James A Simmons added a comment - Try running "depmod -a" after you install the lustre modules.

          Hi @James A Simmons ,

          Thanks for your suggestion.

          Just an update , i changed my machine and i was able to install "development tools" on it and it helped me with building lustre from source. So here i want to just start alustre client on this machine .As i already have MGS/MGT,MDS/MDT running on machine 1 ( centos x86_64 ) , and OSS/OST running on machine 2 ( centos x86_64 ) . In the past i had working 3 note set up wherein lustre client was deployed on centos -x86_64 machine 3 (centos -x86_64 ) .

          Now i want to replace lustre client on x86_64 (machine 3 ) by setting up lustre client on ppc64le-rhel7.2 .

          1. git clone git://git.hpdd.intel.com/fs/lustre-release.git
          2. cd lustre-release/
          3. sh ./autogen.sh
          4. ./configure --disable-server
          5. make
          6. make install

          To ensure that the lustre version showing up is now

          1. ./LUSTRE-VERSION-GEN
            2.8.60
          2. whereis lustre
            lustre: /usr/lib/lustre /usr/include/lustre /usr/share/lustre /usr/share/man/man7/lustre.7

          So it appears to me lustre is built from source and m on track to start lustre client on this , however i am getting errors when i try to start the lustre client
          Next to try to Load the lustre kernel module:

          1. modprobe lustre
            modprobe: FATAL: Module lustre not found..

          Has anyone faced such issues whilst setting up the lustre client ( am assuming that i have managed to build lustre from source sucessfully ) . Let me know if i am missing any step in configuring this machine to act as lustre client.

          Regards,
          Amit

          amitkumar_ghatwal Amitkumar Ghatwal (Inactive) added a comment - Hi @James A Simmons , Thanks for your suggestion. Just an update , i changed my machine and i was able to install "development tools" on it and it helped me with building lustre from source. So here i want to just start alustre client on this machine .As i already have MGS/MGT,MDS/MDT running on machine 1 ( centos x86_64 ) , and OSS/OST running on machine 2 ( centos x86_64 ) . In the past i had working 3 note set up wherein lustre client was deployed on centos -x86_64 machine 3 (centos -x86_64 ) . Now i want to replace lustre client on x86_64 (machine 3 ) by setting up lustre client on ppc64le-rhel7.2 . git clone git://git.hpdd.intel.com/fs/lustre-release.git cd lustre-release/ sh ./autogen.sh ./configure --disable-server make make install To ensure that the lustre version showing up is now ./LUSTRE-VERSION-GEN 2.8.60 whereis lustre lustre: /usr/lib/lustre /usr/include/lustre /usr/share/lustre /usr/share/man/man7/lustre.7 So it appears to me lustre is built from source and m on track to start lustre client on this , however i am getting errors when i try to start the lustre client Next to try to Load the lustre kernel module: modprobe lustre modprobe: FATAL: Module lustre not found.. Has anyone faced such issues whilst setting up the lustre client ( am assuming that i have managed to build lustre from source sucessfully ) . Let me know if i am missing any step in configuring this machine to act as lustre client. Regards, Amit

          I tried below but it failed to install

          [root@pts00433-vm3 lustre-stable]# yum groupinstall 'Development Tools'
          Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
          Maybe run: yum groups mark install (see man yum)
          No packages in any requested group available to install or update

          next also tried below
          [root@pts00433-vm3 lustre-stable]# yum groups mark install "Development Tools"
          Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
          Marked install: Development Tools

          [root@pts00433-vm3 lustre-stable]# yum groups mark convert "Development Tools"
          Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
          Converted old style groups to objects.

          still the same errors
          [root@pts00433-vm3 lustre-stable]# yum groupinstall "Development Tools"
          Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
          Maybe run: yum groups mark install (see man yum)
          No packages in any requested group available to install or update

          My env details
          [root@pts00433-vm3 lustre-stable]# cat /etc/os-release
          NAME="Red Hat Enterprise Linux Server"
          VERSION="7.2 (Maipo)"
          ID="rhel"
          ID_LIKE="fedora"
          VERSION_ID="7.2"
          PRETTY_NAME="Red Hat Enterprise Linux"
          ANSI_COLOR="0;31"
          CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
          HOME_URL="https://www.redhat.com/"
          BUG_REPORT_URL="https://bugzilla.redhat.com/"

          REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
          REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
          REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
          REDHAT_SUPPORT_PRODUCT_VERSION="7.2"

          [root@pts00433-vm3 lustre-stable]# lscpu
          Architecture: ppc64le
          Byte Order: Little Endian
          CPU(s): 4
          On-line CPU(s) list: 0-3
          Thread(s) per core: 1
          Core(s) per socket: 4
          Socket(s): 1
          NUMA node(s): 1
          Model: IBM pSeries (emulated by qemu)
          L1d cache: 64K
          L1i cache: 32K
          NUMA node0 CPU(s): 0-3

          Any pointers on above , how to get "development tools" installed.?

          amitkumar_ghatwal Amitkumar Ghatwal (Inactive) added a comment - I tried below but it failed to install [root@pts00433-vm3 lustre-stable] # yum groupinstall 'Development Tools' Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update next also tried below [root@pts00433-vm3 lustre-stable] # yum groups mark install "Development Tools" Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Marked install: Development Tools [root@pts00433-vm3 lustre-stable] # yum groups mark convert "Development Tools" Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Converted old style groups to objects. still the same errors [root@pts00433-vm3 lustre-stable] # yum groupinstall "Development Tools" Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update My env details [root@pts00433-vm3 lustre-stable] # cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.2 (Maipo)" ID="rhel" ID_LIKE="fedora" VERSION_ID="7.2" PRETTY_NAME="Red Hat Enterprise Linux" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.2 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="7.2" [root@pts00433-vm3 lustre-stable] # lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Model: IBM pSeries (emulated by qemu) L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-3 Any pointers on above , how to get "development tools" installed.?

          Did you install the development tools? Do a "yum groupinstall 'Development Tools'" should solve this

          simmonsja James A Simmons added a comment - Did you install the development tools? Do a "yum groupinstall 'Development Tools'" should solve this

          People

            wc-triage WC Triage
            amitkumar_ghatwal Amitkumar Ghatwal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: