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

'default' Secure RPC rule display issue

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.9.0
    • Fix Version/s: Lustre 2.9.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Adding a default secure RPC rule followed by a rule for a specific network changes how the initial default rule is displayed when viewed with 'lctl get_param mgs.*.live.testfs'

      ==
      mgs# lctl conf_param testfs.srpc.flavor.default=skpi
      mgs# lctl get_param mgs.*.live.testfs
      ...
      Secure RPC Config Rules:
      testfs.srpc.flavor.default=skpi

      mgs# lctl conf_param testfs.srpc.flavor.tcp=ska
      mgs# lctl get_param mgs.*.live.testfs
      ...
      Secure RPC Config Rules:
      testfs.srpc.flavor.tcp=ska
      testfs.srpc.flavor.tcp=skpi
      ==

      Notice how the initial testfs.srpc.flavor.default=skpi rule now appears as testfs.srpc.flavor.tcp=skpi.

      Below is the llog_reader dump of testfs-sptlrpc:
      mgs# llog_reader testfs-sptlrpc
      rec #1 type=10620000 len=224 offset 8192
      rec #2 type=10620000 len=104 offset 8416
      rec #3 type=10620000 len=224 offset 8520
      rec #4 type=10620000 len=224 offset 8744
      rec #5 type=10620000 len=96 offset 8968
      rec #6 type=10620000 len=224 offset 9064
      Header size : 8192
      Time : Fri Nov 11 12:57:59 2016
      Number of records: 6
      Target uuid : config_uuid
      -----------------------
      #01 (224)marker 62 (flags=0x01, v2.8.60.0) testfs 'srpc.flavor.default' Fri Nov 11 12:57:59 2016-
      #02 (104)sptlrpc_conf 0:testfs 1:srpc.flavor.default=skpi
      #03 (224)END marker 62 (flags=0x02, v2.8.60.0) testfs 'srpc.flavor.default' Fri Nov 11 12:57:59 2016-
      #04 (224)marker 63 (flags=0x01, v2.8.60.0) testfs 'srpc.flavor.tcp' Fri Nov 11 13:50:03 2016-
      #05 (096)sptlrpc_conf 0:testfs 1:srpc.flavor.tcp=ska
      #06 (224)END marker 63 (flags=0x02, v2.8.60.0) testfs 'srpc.flavor.tcp' Fri Nov 11 13:50:03 2016-

        Attachments

          Activity

            People

            • Assignee:
              jhammond John Hammond
              Reporter:
              nblavend Nathan Lavender
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: