Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2964

Enhance the error message "node not eligible"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • shim - kubernetes
    • None

    Description

      When we run plugins in the prefilter phase, we maintain a list of nodes (called "mergedNodes") and we check if the current node is included or not after we run a plugin. 

      If the node is not listed, we don't log which plugin made this decision. To enhance supportability, we should include the plugin name in the returned message:

      mergedNodes = mergedNodes.Merge(nodes)
      if !mergedNodes.AllNodes() && !mergedNodes.NodeNames.Has(node.Node().Name) {
          return framework.NewStatus(framework.UnschedulableAndUnresolvable, "node not eligible"), plugin, skip
      } 

       

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: