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

KubeletConfig unsets TechPreviewNoUpgrade feature gates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.20.0
    • 4.19.0
    • Node / Kubelet
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • OCP Node Sprint 273 (Green), OCP Node Sprint 274 (green), OCP Node Sprint 275 (green)
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When a cluster has a featuregate object created after a kubeletconfig object, the MCO creates the rendered ignition file from the featuregate object as n-1 of the rendered ignition for the kubeletconfig object. this causes the techpreview feature gates to be off     

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

          

      How reproducible:

          I am pretty sure 100%, we first saw this on the build02 cluster and I am working on verifying how reproducible 

      Steps to Reproduce:

          1. create a kubeletconfig mc
      apiVersion: machineconfiguration.openshift.io/v1
      kind: KubeletConfig
      metadata:
        annotations:
          machineconfiguration.openshift.io/mc-name-suffix: ""
        name: set-pids-limit
      spec:
        kubeletConfig:
          podPidsLimit: 8096
        machineConfigPoolSelector:
          matchExpressions:
          - key: pools.operator.machineconfiguration.openshift.io/worker
            operator: Exists
          2. create a featuregate object
      apiVersion: config.openshift.io/v1
      kind: FeatureGate
      metadata:
        name: cluster
      spec:
        featureSet: TechPreviewNoUpgrade     
        3. note the tech preview featuregates aren't set (UserNamespacesSupport, for example)
          

      Actual results:

          tech preview featuregates are not set

      Expected results:

          tech preview featuregates are set

      Additional info:

          

              mdemaced Maysa De Macedo Souza
              pehunt@redhat.com Peter Hunt
              None
              None
              Min Li Min Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: