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

Ubuntu package Issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.12.0, Lustre 2.10.5
    • Lustre 2.10.4
    • None
    • Ubuntu 16.04
    • 3
    • 9223372036854775807

    Description

      1) Ubuntu has modprobe at /sbin/modprobe rather than /usr/sbin/modprobe making the supplied lnet serviceĀ  ( lib/systemd/system/lnet.serviceĀ  ) unworkable.

      [Unit] 
      Description=lnet management 
       
      Requires=network-online.target 
      After=network-online.target 
       
      ConditionPathExists=!/proc/sys/lnet/ 
       
      [Service] 
      Type=oneshot 
      RemainAfterExit=true 
      ExecStart=/usr/sbin/modprobe lnet 
      #ExecStart=/usr/sbin/lctl network up 
      #ExecStart=/usr/sbin/lustre_routes_config /etc/lnet_routes.conf 
      ExecStart=/usr/sbin/lnetctl lnet configure 
      ExecStart=/usr/sbin/lnetctl import /etc/lnet.conf 
      ExecStop=/usr/sbin/lustre_rmmod ptlrpc 
      #ExecStop=/usr/sbin/lctl network down 
      ExecStop=/usr/sbin/lnetctl lnet unconfigure 
      ExecStop=/usr/sbin/lustre_rmmod libcfs ldiskfs 
       
      [Install] 
      WantedBy=multi-user.target  

      2) The share libraries for lnetctl are not shipped.

       root@jb23play:~# ldd /usr/sbin/lnetctl 
       linux-vdso.so.1 => (0x00007fff2f7b5000) 
       liblnetconfig.so.2 => not found 
       libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007f32277ef000) 
       libyaml-0.so.2 => /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 (0x00007f32275d0000) 
       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f32272c7000) 
       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3226efd000) 
       libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f3226cd4000) 
       /lib64/ld-linux-x86-64.so.2 (0x00007f3227a35000) 
       
      root@jb23play:~# apt-cache search ^lustr 
      zfs-dkms - Native OpenZFS filesystem kernel modules for Linux 
      lustre-dev - Development files for the Lustre filesystem 
      lustre-tests - Test suite for the Lustre filesystem 
      lustre-iokit - Collection of benchmark tools for the Lustre filesystem 
      lustre-utils - Userspace utilities for the Lustre filesystem 
      lustre-client-modules-4.4.0-116-generic - Lustre Linux kernel module (kernel 4.4.0-116-generic) 
       
      root@jb23play:~# dpkg -S /usr/lib/liblnetconfig.so 
      lustre-dev: /usr/lib/liblnetconfig.so 
      root@jb23play:~# dpkg -S /usr/lib/liblnetconfig.a 
      lustre-dev: /usr/lib/liblnetconfig.a

      While the first issue can be worked around with an systemd override the lack of the shared library makes the service fail|

      Attachments

        Issue Links

          Activity

            People

              simmonsja James A Simmons
              james beal James Beal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: