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

fix "lctl set_param -P" to allow deprecation of "lctl conf_param"

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • Lustre 2.13.0
    • Lustre 2.9.0
    • 9223372036854775807

    Description

      The lctl set_param -P functionality was landed via LU-3155 for 2.5.0 and deprecates lctl conf_param usage. There is a deprecation message printed in jt_lcfg_mgsparam() since 2.7.53 that conf_param is obsolete and set_param should be used instead.

      The test scripts need to be changed over to use "lctl set_param -P" exclusively, both to quiet the deprecation warning, as well as verify that the "lctl set_param -P" functionality is working correctly.

      For now, I'm going to bump the deprecation warning to 2.8.53 to give us time to make this change in the 2.9 release cycle since there isn't enough time to do it for 2.8.0 anymore.

      Attachments

        Issue Links

          Activity

            [LU-7004] fix "lctl set_param -P" to allow deprecation of "lctl conf_param"

            "Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/doc/manual/+/52553/
            Subject: LU-7004 utils: prefer 'set_param -P' over 'conf_param'
            Project: doc/manual
            Branch: master
            Current Patch Set:
            Commit: 19c2cce1fa5a52aa2536cc75833bc8c0d4593d7d

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/doc/manual/+/52553/ Subject: LU-7004 utils: prefer 'set_param -P' over 'conf_param' Project: doc/manual Branch: master Current Patch Set: Commit: 19c2cce1fa5a52aa2536cc75833bc8c0d4593d7d

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/doc/manual/+/52553
            Subject: LU-7004 utils: prefer 'set_param -P' over 'conf_param'
            Project: doc/manual
            Branch: master
            Current Patch Set: 1
            Commit: d8be3b93093855f1a1a27994fe37aa8daecf04ef

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/doc/manual/+/52553 Subject: LU-7004 utils: prefer 'set_param -P' over 'conf_param' Project: doc/manual Branch: master Current Patch Set: 1 Commit: d8be3b93093855f1a1a27994fe37aa8daecf04ef

            Yes this last patch should land for 2.12. Currently the params files on the MGS server can have malformed names. Rare but can happen. 

            simmonsja James A Simmons added a comment - Yes this last patch should land for 2.12. Currently the params files on the MGS server can have malformed names. Rare but can happen. 
            pjones Peter Jones added a comment -

            James

            Do I recall correctly - this is the only fix needed but it should be queued up for 2.12.1 in addition to being in 2.13?

            Peter

            pjones Peter Jones added a comment - James Do I recall correctly - this is the only fix needed but it should be queued up for 2.12.1 in addition to being in 2.13? Peter

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32784/
            Subject: LU-7004 mgs: remove using obdname2fsname() from mgs layer.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 5da91cd4e44f8113b00035324738a9bb67f8a597

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32784/ Subject: LU-7004 mgs: remove using obdname2fsname() from mgs layer. Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5da91cd4e44f8113b00035324738a9bb67f8a597
            simmonsja James A Simmons added a comment - - edited

            Can patch https://review.whamcloud.com/#/c/32784 be reviewed so it can land for 2.12. It was discovered that obdname2fsname() doesn't cover all the cases so this patch removes the use of obdname2fsname() on the MSG server when dealing with config logs. Currently it can break in some corner cases. After this patch then obdname2fsname() will only be used with sptlrpc like before. That can be addressed in the follow on LU-10937 patch for 2.13.

            simmonsja James A Simmons added a comment - - edited Can patch https://review.whamcloud.com/#/c/32784  be reviewed so it can land for 2.12. It was discovered that obdname2fsname() doesn't cover all the cases so this patch removes the use of obdname2fsname() on the MSG server when dealing with config logs. Currently it can break in some corner cases. After this patch then obdname2fsname() will only be used with sptlrpc like before. That can be addressed in the follow on LU-10937 patch for 2.13.

            People

              simmonsja James A Simmons
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: