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

sanity test_802: Mount client without 'ro' should fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      after rolling downgrade all servers and client from 2.13.0 to 2.12.3, sanity test_802 fail as following

      == sanity test 802: simulate readonly device ====================================
      ====================== 23:51:33 (1574207493)
      Stopping clients: trevis-60vm4.trevis.whamcloud.com /mnt/lustre (opts:)
      Stopping client trevis-60vm4.trevis.whamcloud.com /mnt/lustre opts:
      Stopping clients: trevis-60vm4.trevis.whamcloud.com /mnt/lustre2 (opts:)
      Stopping /mnt/ost1 (opts:-f) on trevis-60vm3
      Stopping /mnt/ost2 (opts:-f) on trevis-60vm3
      Mount the server as read only
      Checking servers environments
      Checking clients trevis-60vm4.trevis.whamcloud.com environments
      Loading modules from /usr/lib64/lustre
      detected 2 online CPUs by sysfs
      Force libcfs to create 2 CPU partitions
      Setup mgs, mdt, osts
      Starting mds1: -o user_xattr,acl,rdonly_dev  /dev/mapper/mds1_flakey /mnt/lustree
      -mds1
      trevis-60vm2: mount.lustre: mount /dev/mapper/mds1_flakey at /mnt/lustre-mds1 faa
      iled: Operation already in progress
      trevis-60vm2: The target service is already running. (/dev/mapper/mds1_flakey)
      Start of /dev/mapper/mds1_flakey on mds1 failed 114
      Starting ost1: -o rdonly_dev  /dev/mapper/ost1_flakey /mnt/ost1
      trevis-60vm3: trevis-60vm3.trevis.whamcloud.com: executing set_default_debug vfss
      trace rpctrace dlmtrace neterror ha config ioctl super lfsck all 48
      Started lustre-OST0000
      Starting ost2: -o rdonly_dev  /dev/mapper/ost2_flakey /mnt/ost2
      trevis-60vm3: trevis-60vm3.trevis.whamcloud.com: executing set_default_debug vfss
      trace rpctrace dlmtrace neterror ha config ioctl super lfsck all 48
      Started lustre-OST0001
      Mount client without ro should fail
      Starting client: trevis-60vm4.trevis.whamcloud.com:  -o user_xattr,flock trevis--
      60vm2@tcp:/lustre /mnt/lustre
       sanity test_802: @@@@@@ FAIL: (4) Mount client without 'ro' should fail
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:5864:error()
        = /usr/lib64/lustre/tests/sanity.sh:20239:test_802()
        = /usr/lib64/lustre/tests/test-framework.sh:6166:run_one()
        = /usr/lib64/lustre/tests/test-framework.sh:6205:run_one_logged()
        = /usr/lib64/lustre/tests/test-framework.sh:6051:run_test()
        = /usr/lib64/lustre/tests/sanity.sh:20255:main()
      Dumping lctl log to /tmp/test_logs/2019-11-19/222500/sanity.test_802.*.1574207522
      6.log
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              sarah Sarah Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: