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

Compute server group policy is not honoured

XMLWordPrintable

    • ?
    • Moderate
    • No
    • ShiftStack Sprint 251, ShiftStack Sprint 252, ShiftStack Sprint 253
    • 3
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, Terraform would create the compute server group with the policy set for the control plane. As a consequence, the 'serverGroupPolicy' property of the install-config.yaml file was ignored for the compute server group. With this release, the server group policy set in the install-config.yaml file for the compute MachinePool is correctly applied at install-time in the Terraform flow. (link:https://issues.redhat.com/browse/OCPBUGS-31756[*OCPBUGS-31756*])
      Show
      * Previously, Terraform would create the compute server group with the policy set for the control plane. As a consequence, the 'serverGroupPolicy' property of the install-config.yaml file was ignored for the compute server group. With this release, the server group policy set in the install-config.yaml file for the compute MachinePool is correctly applied at install-time in the Terraform flow. (link: https://issues.redhat.com/browse/OCPBUGS-31756 [* OCPBUGS-31756 *])
    • Bug Fix
    • In Progress

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

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

      Description of problem:

      The install-config.yaml file lets a user set a server group policy for Control plane nodes, and one for Compute nodes, choosing from affinity, soft-affinity, anti-affinity, soft-anti-affinity. Installer will then create the server group if it doesn't exist.
      
      The server group policy defined in install-config for Compute nodes is ignored. The worker server group always has the same policy as the Control plane's.
          

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

      
          

      How reproducible:

      
          

      Steps to Reproduce:

          1. openshift-install create install-config
          2. set Compute's serverGroupPolicy to soft-affinity in install-config.yaml
          3. openshift-install create cluster
          4. watch the server groups
          

      Actual results:

      both master and worker server groups have the default soft-anti-affinity policy
          

      Expected results:

      the worker server group should have soft-affinity as its policy
          

      Additional info:

      
          

            pprinett@redhat.com Pierre Prinetti
            openshift-crt-jira-prow OpenShift Prow Bot
            Itshak Brown Itshak Brown
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: