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

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

       

       

      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.

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

              Created:
              Updated:
              Resolved: