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

sanity test_160p defect: wrong start mds1 call

    XMLWordPrintable

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: