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

lctl nodemap commands stop working in interactive mode

Details

    • 3
    • 16797

    Description

      The nodemap commands that use --long options stop working in interactive mode because optind is not being reset between calls to getopt_long(). I'm uploading a patch that correctly resets optind.

      Attachments

        Issue Links

          Activity

            [LU-6025] lctl nodemap commands stop working in interactive mode

            Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/13893
            Subject: LU-6025 utils: reset optind before calls to getopt_long()
            Project: fs/lustre-release
            Branch: b2_5
            Current Patch Set: 1
            Commit: 29dfa5009e3927f831c6387e511a54d6fbb6a429

            gerrit Gerrit Updater added a comment - Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/13893 Subject: LU-6025 utils: reset optind before calls to getopt_long() Project: fs/lustre-release Branch: b2_5 Current Patch Set: 1 Commit: 29dfa5009e3927f831c6387e511a54d6fbb6a429

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13191/
            Subject: LU-6025 lctl: remove bad error checking from nodemap_cmd()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 61785255612f05b121f386fdb19f79d2821ed844

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13191/ Subject: LU-6025 lctl: remove bad error checking from nodemap_cmd() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 61785255612f05b121f386fdb19f79d2821ed844

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13063/
            Subject: LU-6025 utils: reset optind before calls to getopt_long()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 81b3399d79d6e8bbe64d3fb68c27209274b4cf9c

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13063/ Subject: LU-6025 utils: reset optind before calls to getopt_long() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 81b3399d79d6e8bbe64d3fb68c27209274b4cf9c

            IU found another bug in lctl interactive mode, added a new patch http://review.whamcloud.com/13191

            kit.westneat Kit Westneat (Inactive) added a comment - IU found another bug in lctl interactive mode, added a new patch http://review.whamcloud.com/13191

            Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: http://review.whamcloud.com/13191
            Subject: LU-6025 lctl: remove bad error checking from nodemap_cmd()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d1f2b485f8a27f387f761b83e8f830631535aaad

            gerrit Gerrit Updater added a comment - Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: http://review.whamcloud.com/13191 Subject: LU-6025 lctl: remove bad error checking from nodemap_cmd() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d1f2b485f8a27f387f761b83e8f830631535aaad

            Nathaniel,
            can you keep an eye on this patch?
            Thank you!

            jlevi Jodi Levi (Inactive) added a comment - Nathaniel, can you keep an eye on this patch? Thank you!

            Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: http://review.whamcloud.com/13063
            Subject: LU-6025 lctl: reset optind before calls to getopt_long()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5199446a17b3d566ce2ac564627d3e382f65de5b

            gerrit Gerrit Updater added a comment - Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: http://review.whamcloud.com/13063 Subject: LU-6025 lctl: reset optind before calls to getopt_long() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5199446a17b3d566ce2ac564627d3e382f65de5b

            People

              utopiabound Nathaniel Clark
              kit.westneat Kit Westneat (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: