Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29292

DynamicResources plugin is disabled even though DynamicResourceAllocation feature is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 4.14.z
    • kube-scheduler
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-23900. The following is the description of the original issue:

      Description of problem:

      DRA plugins can be installed, but do not really work because the required scheduler plugin DynamicResources isn't enabled.

      Version-Release number of selected component (if applicable):

      4.14.3

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install an OpenShift cluster and enable the TechPreviewNoUpgrade feature set either during installation or post-install. The feature set includes the DynamicResourceAllocation feature gate.
      2. Install a DRA plugin by any vendor, e.g. by NVIDIA (requires at least one GPU worker with NVIDIA GPU drivers installed on the node, and a few tweaks to allow the plugin to run on OpenShift).
      3. Create a resource claim.
      4. Create a pod that consumes the resource claim.

      Actual results:

      The pod remains in ContainerCreating state, the claim in WaitingForFirstConsumer state forever, without any meaningful event or error message.

      Expected results:

      A resource is allocated according to the resource claim, and assigned to the pod.

      Additional info:

      The problem is caused by the DynamicResources scheduler plugin not being automatically enabled when the feature flag is turned on. This makes DRA plugins run without issues (the right APIs are available), but do nothing.

              jchaloup@redhat.com Jan Chaloupka
              openshift-crt-jira-prow OpenShift Prow Bot
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: