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

struct obd_uuid is too small for MGC"NID" uuid with IPv6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • Lustre 2.17.0
    • Lustre 2.16.0, Lustre 2.17.0
    • MGS configured with IPv6 strings that can't be compressed into UUID_MAX size.
    • 3
    • 9223372036854775807

    Description

      IPv6 can vary in size up to 42 bytes in total which is way larger than obd_uuid size:
      https://testing.whamcloud.com/test_sets/4ae697a2-d2db-4791-b14e-014bb6e67487

      Lustre: DEBUG MARKER: mount -t lustre -o user_xattr,flock fd33:3981:3213:f010:0:5254:14:c527@tcp:/lustre /mnt/lustre
      LustreError: 16630:0:(mgc_request.c:1456:mgc_apply_recover_logs()) mgc: cannot find UUID by nid 'fd33:3981:3213:f010:0:5254:eb:f685@tcp': rc = -2
      Lustre: 16630:0:(mgc_request.c:1635:mgc_process_recover_log()) MGCfd33:3981:3213:f010:0:5254:14:c527@tcp: error processing lustre-cliir log recovery: rc = -2
      Lustre: 16630:0:(mgc_request.c:1899:mgc_process_log()) MGCfd33:3981:3213:f010:0:5254:14:c527@tcp: IR log lustre-cliir failed, not fatal: rc = -2
      LustreError: lustre-MDT0000-mdc-ff12b8ef43b85800: operation mds_connect to node fd33:3981:3213:f010:0:5254:14:c527@tcp failed: rc = -11
      

      Update places in the kernel where obd_uuid is used for MGS. 

      Attachments

        Issue Links

          Activity

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: