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

removing non existing path with lctl pcc del returns 0 (success) exit code without error message

    XMLWordPrintable

Details

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

    Description

       

       

      Steps to reproduce:

       

      Check that cache is not configured. Empty list.

      1. lctl pcc list /mnt/lustre

      #

       

      Try to delete any cache

      1. lctl pcc del /mnt/lustre /mnt/pccro/
      1. echo $?

      0

       

      Try for any word

      1. lctl pcc del /mnt/lustre abc
      1. echo $?

      0

       

      This is not critical, but it is good to have proper return codes for scripting or control that this is expected.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              vilapa Vikentsi Lapa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: