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

LUTF fails when getting cpu_npartitions if non UTF-8 file is present in /etc/modprobe.d

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      When "f.get('cpu_npartitions=')" is used, LUFT will read all files in "/etc/modprobe.d" looking for the string "cpu_npartitions=". The file is opened with default encoding options, and if it is not the right one, looping on the line of the file and comparing them will lead to an exception.

       

      This scenario will happen, for instance, if a file from /etc/modprobe.d is opened by vim that will save a swap file of this file in the same directory.

      Attachments

        Activity

          People

            cbordage Cyril Bordage
            cbordage Cyril Bordage
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: