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

recovery-small test 66 does not work correctly

    XMLWordPrintable

Details

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

    Description

      Examining logs I discovered there's something wrong with hole recovery-small test 66 determines mdc cli name and so attempts to set/reset it fail:

      == recovery-small test 66: lock enqueue re-send vs client eviction =================================== 05:08:41 (1566119321)
      fail_loc=0x8000030c
        File: '/mnt/lustre/f66.recovery-small'
        Size: 0         	Blocks: 0          IO Block: 4194304 regular empty file
      Device: 2c54f966h/743766374d	Inode: 144115842806710274  Links: 1
      Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
      Access: 2019-08-18 05:08:42.000000000 -0400
      Modify: 2019-08-18 05:08:42.000000000 -0400
      Change: 2019-08-18 05:08:42.000000000 -0400
       Birth: -
      fail_loc=0
      fail_loc=0x80000136
      error: get_param: param_path 'lustre-MDT0001-mdc-ffff880114af9800/mds_conn_uuid': No such file or directory
      error: set_param: param_path 'mdc/lustre-MDT0000-mdc-ffff880114af9800
      lustre-MDT0001-mdc-ffff880114af9800/import': No such file or directory
      /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 3234: /mnt/lustre/recon: Input/output error
      Connected clients: oleg25-client.virtnet
      Resetting fail_loc on all nodes...done.
      05:09:27 (1566119367) waiting for oleg25-server network 5 secs ...
      05:09:27 (1566119367) network interface is UP
      

      Comparing to other users, determining it as

      mdccli=$($LCTL dl | awk '/-MDT0000-mdc-/ {print $4;}')
      

      seems to be wrong, every other bit of code seems to be getting it as

      mdccli=$($LCTL dl | grep "${mdtname}-mdc" | awk '{print $4;}')
      

      Sure, it's an extra grep which is not ideal but it appears to be actually doing he filterign as opposed to the awk? (see the MDT0001 somehow making the appearance in the output.

      Attachments

        Activity

          People

            green Oleg Drokin
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: