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

sanity 17m, 17n, 228b, 256, 804 defect

    XMLWordPrintable

Details

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

    Description

      Tests which stop facet are to recalculate facet device after stop as it changes when device mapper is used: the 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 this fix sanity 17m, 17n 804 tests fail on failover setup with:

          Cannot resolve path /dev/mapper/mds1_flakey e2fsck: No such file or directory
      

      while trying to open /dev/mapper/mds1_flakey and sanity 228b, 256 tests fail because of

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

      To reproduce the failures – just run:
      ONLY="17m 17n 228b 256 804" sh sanity.sh
      on failover setup where mds1_HOST != mds1failover_HOST.

      Fixes: 54b9e3f ("LU-684 tests: replace dev_read_only patch with dm-flakey")

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: