Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-35783

After removing node placement labels from HCO nodeselectors are not cleaned from two pods

XMLWordPrintable

    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • CNV I/U Operators Sprint 245, CNV I/U Operators Sprint 246
    • No

      Description of problem:

      On adding and removing infra labels from HCO {noformat}metadata:
        name: kubevirt-hyperconverged
      spec:
        infra:
          nodePlacement:
            nodeSelector:
              infra-comp: infra3{noformat} and worker nodes: {noformat}
      metadata:
        labels:
          infra-comp: infra3
      {noformat}, the nodeselector is still present on two pods:
      {noformat}
      2023-11-27T19:55:25.461521 tests.install_upgrade_operators.node_component.utils INFO Node selector for pod kubevirt-apiserver-proxy-77c47df788-2bh2n: {'infra-comp': 'infra3'}
      2023-11-27T19:55:25.466879 tests.install_upgrade_operators.node_component.utils INFO Node selector for pod kubevirt-console-plugin-6586d855d-s8xkj: {'infra-comp': 'infra3'}
      {noformat} 
      

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

      4.14.1
      

      How reproducible:

      100% (tried 3/3 times)
      

      Steps to Reproduce:

      1. Apply infra.nodePlacement.nodeSelector.infra-comp on hco and apply infra-comp labels to the worker nodes. Once hco stabilizes undo the same.
      2. Check kubevirt-apiserver-proxy and kubevirt-console-plugin pods, that the nodeselectors does not clear up.
      3.
      

      Actual results:

      
      

      Expected results:

      nodeselctors from the pods should be cleaned up
      

      Additional info:

      Must-gather can be found: https://drive.google.com/file/d/1qdAjAe-tuuE5B7bcLqYuHiQzFucwbg4a/view?usp=drive_link
      

      Git Pull Request: https://github.com/kubevirt/hyperconverged-cluster-operator/pull/2643

              ocohen@redhat.com Oren Cohen
              rhn-support-dbasunag Debarati Basu-Nag
              Debarati Basu-Nag Debarati Basu-Nag
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: