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

sanity test_160p defect: wrong start mds1 call

Details

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

    Description

      start() requires 2nd parameter device. If start() is called without the 2nd parameter - the
      empty mds1_dev is exported:

      start() {
              local facet=$1
              shift
              local device=$1
      ..
              eval export ${dev_alias}_dev=${device}
      

      and test fails on failover setup with:
      CMD: lm0301 loop_dev=$(losetup -j | cut -d : -f 1);
      lm0301: losetup: option requires an argument – 'j'

      dm_create_dev()
        local real_dev=<empty>
              -> setup_loop_device $facet <empty>
      

      To reproduce the failure just run:
      ONLY=160p sh sanity.sh
      on failover setup where mds1_HOST != mds1failover_HOST.

      Fixes: c7d8fe3106 ("LU-14731 mdd: clear orphans changelog entries")

      Attachments

        Activity

          [LU-15445] sanity test_160p defect: wrong start mds1 call
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46073/
          Subject: LU-15445 tests: sanity test_160p() fix
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: bad5875f130be1ecdfbd1c3f24350ac5982faf74

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46073/ Subject: LU-15445 tests: sanity test_160p() fix Project: fs/lustre-release Branch: master Current Patch Set: Commit: bad5875f130be1ecdfbd1c3f24350ac5982faf74

          "Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46073
          Subject: LU-15445 tests: sanity test_160p() fix
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 91ebc44c1ff328c5ae72c9d3fac8cc563ee78940

          gerrit Gerrit Updater added a comment - "Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46073 Subject: LU-15445 tests: sanity test_160p() fix Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 91ebc44c1ff328c5ae72c9d3fac8cc563ee78940

          People

            egryaznova Elena Gryaznova
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: