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

sanity-sec test 12 fails with 'nodemap_add failed with 1'

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      sanity-sec test_12 fails with 'nodemap_add failed with 1' and then test_13, test_14 and test_15 all fail because a nodemap with the same name as the one they are creating exists. Many of these failures were previously attributed to LU-12428, but the patches for that ticket have landed. Thus, I’m opening a new ticket for these failures.

      Looking at the suite_log at https://testing.whamcloud.com/test_sets/04c45a6c-d6fe-11e9-9fc9-52540065bddc we see

      waited 0 seconds for sync
      CMD: trevis-20vm4 /usr/sbin/lctl nodemap_add 40932_0
      CMD: trevis-20vm4 /usr/sbin/lctl get_param nodemap.40932_0.id
      CMD: trevis-20vm4 /usr/sbin/lctl nodemap_add 40932_1
      CMD: trevis-20vm4 /usr/sbin/lctl get_param nodemap.40932_1.id
      CMD: trevis-20vm4 /usr/sbin/lctl nodemap_add 40932_2
      CMD: trevis-20vm4 /usr/sbin/lctl get_param nodemap.40932_2.id
      CMD: trevis-20vm4 /usr/sbin/lctl nodemap_add 40932_3
      CMD: trevis-20vm4 /usr/sbin/lctl get_param nodemap.40932_3.id
      CMD: trevis-20vm4 /usr/sbin/lctl nodemap_add 40932_4
      CMD: trevis-20vm4 /usr/sbin/lctl get_param nodemap.40932_4.id
      trevis-20vm4: error: get_param: param_path 'nodemap/40932_4/id': No such file or directory
       sanity-sec test_12: @@@@@@ FAIL: nodemap_add failed with 1 
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:6115:error()
        = /usr/lib64/lustre/tests/sanity-sec.sh:956:test_12()
      

      In the console log for the MDS1/3 (vm4), we see

      [14149.616497] Lustre: DEBUG MARKER: /usr/sbin/lctl nodemap_add 40932_4
      [14149.785556] Lustre: 9238:0:(nodemap_handler.c:1183:nodemap_create()) adding nodemap '40932_0' to config without default nodemap
      [14149.786764] Lustre: 9238:0:(nodemap_handler.c:1183:nodemap_create()) Skipped 84 previous similar messages
      [14149.958479] Lustre: DEBUG MARKER: /usr/sbin/lctl get_param nodemap.40932_4.id
      [14150.371650] Lustre: DEBUG MARKER: /usr/sbin/lctl mark  sanity-sec test_12: @@@@@@ FAIL: nodemap_add failed with 1 
      

      Attachments

        Issue Links

          Activity

            People

              sebastien Sebastien Buisson
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: