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

DynamicResources plugin is disabled even though DynamicResourceAllocation feature is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • 4.16.0
    • 4.14.z
    • kube-scheduler
    • None
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jchaloup@redhat.com Jan Chaloupka
              rh-ee-vemporop Vitaliy Emporopulo
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: