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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.14.0
    • Fix Version/s: None
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: