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

Compute server group policy is not honoured

XMLWordPrintable

    • ?
    • Moderate
    • No
    • ShiftStack Sprint 251
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, due to a programming error, Terraform created compute server groups with the policy set for control planes. As a consequence, the 'serverGroupPolicy' property of `install-config.yaml` files was ignored for the compute groups. With this fix, the server group policy set in the `install-config.yaml` file for compute machine pools is applied at installation in the Terraform flow. (link:https://issues.redhat.com/browse/OCPBUGS-31050[*OCPBUGS-31050*])
      Show
      * Previously, due to a programming error, Terraform created compute server groups with the policy set for control planes. As a consequence, the 'serverGroupPolicy' property of `install-config.yaml` files was ignored for the compute groups. With this fix, the server group policy set in the `install-config.yaml` file for compute machine pools is applied at installation in the Terraform flow. (link: https://issues.redhat.com/browse/OCPBUGS-31050 [* OCPBUGS-31050 *])
    • Bug Fix
    • Proposed

      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
            pprinett@redhat.com Pierre Prinetti
            Yaakov Khodorkovski Yaakov Khodorkovski
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: