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

recovery-small test_139: failed to set up loop device: No such file or directory

Details

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

    Description

      mds device calculated before stop () can not be used after stop() because of a device-mapper device is removed and facet device is restored:

        stop () ->
          elif dm_flakey_supported $facet; then
            if [[ -n ${!failover_host} &&
                     ${!failover_host} != ${!host} ]]
               dm_cleanup_dev $facet ->
                     unexport_dm_dev $facet
      

      Without the proposed fix the test_139 fails on failover setup:

        losetup: /dev/mapper/mds1_flakey: failed to set up loop device:
          No such file or directory
      

      To reproduce the failure just run:

        sh llmountcleanup.sh
        ONLY=139 sh recovery-small.sh
      

      on failover setup where mds1_HOST != mds1failover_HOST

      Attachments

        Activity

          [LU-16455] recovery-small test_139: failed to set up loop device: No such file or directory
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49579/
          Subject: LU-16455 tests: recovery-small test_139() fix
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 485e412acbf7fb977ac4024e2ec1feb2d4a5c546

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49579/ Subject: LU-16455 tests: recovery-small test_139() fix Project: fs/lustre-release Branch: master Current Patch Set: Commit: 485e412acbf7fb977ac4024e2ec1feb2d4a5c546

          "Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49579
          Subject: LU-16455 tests: recovery-small test_139() fix
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 896093ec63c1267568bbba58d6dbedbcebf08866

          gerrit Gerrit Updater added a comment - "Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49579 Subject: LU-16455 tests: recovery-small test_139() fix Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 896093ec63c1267568bbba58d6dbedbcebf08866

          People

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

            Dates

              Created:
              Updated:
              Resolved: