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

`lctl dl` with Netlink/YAML fails with large numer of devices

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      See the following error:

      [centos][127][~/Programming/lustre-release]$ sudo ./lustre/utils/lctl dl
        0 UP osd-zfs lustre-MDT0000-osd lustre-MDT0000-osd_UUID 10
        1 UP mgs MGS MGS 5
        2 UP mgc MGC172.31.20.187@tcp 9de548fc-f02c-405d-99b8-56dc3e23d83a 5
        3 UP mds MDS MDS_uuid 3
      ...
      158 UP obd_test obd_name_136 obd_uuid_136 3
      159 UP obd_test obd_name_137 obd_uuid_137 3
      160 UP obd_test obd_name_138 obd_uuid_138 3
      161 UP obd_test obd_name_139 obd_uuid_139 3
      162 UP obd_test obd_name_140 obd_uuid_140 3
      163 UP obd_test obd_name_141 obd_uuid_141 3
      Scanner error: while scanning a simple key at line 990, column 3
      could not find expected ':' at line 991, column 1
      free(): invalid next size (normal)
      Aborted 

      It appears like whatever Netlink is returning isn't being correctly interpreted as a YAML. This only happens when using a large number of devices.

      Attachments

        Issue Links

          Activity

            [LU-17451] `lctl dl` with Netlink/YAML fails with large numer of devices
            simmonsja James A Simmons made changes -
            Status Original: In Progress [ 3 ] New: Open [ 1 ]

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54152
            Subject: LU-17451 obd: calculate the needed skbuf size for devices
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2f780143558216a01502d663d069754bccdf32c7

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54152 Subject: LU-17451 obd: calculate the needed skbuf size for devices Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2f780143558216a01502d663d069754bccdf32c7
            simmonsja James A Simmons made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]

            I know what the issue is. I just pushed a patch for the library to handle the extra data but the kernel needs to be updated to set the cb->dump_min_alloc. I can push a patch for that.

            simmonsja James A Simmons added a comment - I know what the issue is. I just pushed a patch for the library to handle the extra data but the kernel needs to be updated to set the cb->dump_min_alloc. I can push a patch for that.
            simmonsja James A Simmons made changes -
            Assignee Original: WC Triage [ wc-triage ] New: James A Simmons [ simmonsja ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-9680 [ LU-9680 ]
            timday Tim Day created issue -

            People

              simmonsja James A Simmons
              timday Tim Day
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: