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

lctl replace_nids loses Target UUID from llog header

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.5.0
    • Lustre 2.4.0
    • None
    • 3
    • 8313

    Description

      This is reproducible using master (circa tag 2.4.50)

      Prior to replace nids:

      [root@lumgr1 CONFIGS]# llog_reader t32fs-client
      Header size : 8192
      Time : Thu Feb  7 22:24:35 2013
      Number of records: 35
      Target uuid : config_uuid 
      -----------------------
      ...
      

      After remounting w/ nosvc and running:
      lctl replace_nids t32fs-OST0000 192.168.139.20@tcp

      same log files is now:

      Header size : 8192
      Time : Mon May 20 09:13:03 2013
      Number of records: 35
      Target uuid :  
      -----------------------
      ...
      

      The "Target uuid" is also deleted from t32fs-MDT0000.

      I used conf-sanity/32 tarball disk2_1-ldiskfs.tar.bz2 as my starting point.

      Attachments

        Issue Links

          Activity

            [LU-3357] lctl replace_nids loses Target UUID from llog header

            Patch merged to master (post 2.4.51)

            utopiabound Nathaniel Clark added a comment - Patch merged to master (post 2.4.51)

            OK, got it.

            tappro Mikhail Pershin added a comment - OK, got it.

            Mike,

            This field doesn't seem to be used too often, but it is checked in the lctl conf_param code path, and if it's not set correctly, the conf_param fails (see llog_init_handle) in MDS debug_log in https://maloo.whamcloud.com/test_sets/8391fe9a-c0cf-11e2-8490-52540035b04c

            utopiabound Nathaniel Clark added a comment - Mike, This field doesn't seem to be used too often, but it is checked in the lctl conf_param code path, and if it's not set correctly, the conf_param fails (see llog_init_handle) in MDS debug_log in https://maloo.whamcloud.com/test_sets/8391fe9a-c0cf-11e2-8490-52540035b04c
            tappro Mikhail Pershin added a comment - - edited

            I wonder is that so critical to see that UUID? I find it useless, we know already that this is config llog, just because of name. Is it really helpful for something or used by some other tool?

            tappro Mikhail Pershin added a comment - - edited I wonder is that so critical to see that UUID? I find it useless, we know already that this is config llog, just because of name. Is it really helpful for something or used by some other tool?
            utopiabound Nathaniel Clark added a comment - http://review.whamcloud.com/6395

            People

              utopiabound Nathaniel Clark
              utopiabound Nathaniel Clark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: