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

DynamicResourceAllocation feature breaks TechPreview clusters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Critical
    • 4.15.0
    • 4.14, 4.15
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      When installing a new cluster with TechPreviewNoUpgrade featureSet, Nodes never become Ready.
      
      Logs from control-plane components indicate that a resource associated with the DynamicResourceAllocation feature can't be found:
      
      E0804 15:48:51.094383       1 reflector.go:147] vendor/k8s.io/client-go/informers/factory.go:150: Failed to watch *v1alpha2.PodSchedulingContext: failed to list *v1alpha2.PodSchedulingContext: the server could not find the requested resource (get podschedulingcontexts.resource.k8s.io)
      
      It turns out we either need to:
      
      1. Enable the resource.k8s.io/v1alpha2=true API in kube-apiserver.
      2. Or disable the DynamicResourceAllocation feature as TP.
      
      For now I added a commit to invalidate this feature in o/k and disable all related tests. Please let me know once this is sorted out so that I can drop that commit from the rebase PR.

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

      4.15

      How reproducible:

      Always when installing a new cluster with TechPreviewNoUpgrade featureSet.

      Steps to Reproduce:

      1. Install cluster with TechPreviewNoUpgrade featureSet (this can be done passing an install-config.yaml to the installer).
      2. Check logs from one the control-plane components.
      

      Actual results:

      Nodes are NotReady and ClusterOperators Degraded.

      Expected results:

      Cluster is installed successfully.

      Additional info:

      Slack thread: https://redhat-internal.slack.com/archives/C05HQGU8TFF/p1691154653507499
      
      How to enable an API in KAS: https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/

      Attachments

        Activity

          People

            jchaloup@redhat.com Jan Chaloupka
            fbertina@redhat.com Fabio Bertinatto
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: