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

Compute server group policy is not honoured

    XMLWordPrintable

Details

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

      None

      Show
      None
    • Hide
      Due to a programming error, Terraform would create the Compute server group with the policy set for the Control plane. As a consequence, the 'serverGroupPolicy' property of install-config.yaml was completely ignored for the Computes.

      With this change, the server group policy set in install-config for the Compute machine-pool is correctly applied at install-time in the Terraform flow.
      Show
      Due to a programming error, Terraform would create the Compute server group with the policy set for the Control plane. As a consequence, the 'serverGroupPolicy' property of install-config.yaml was completely ignored for the Computes. With this change, the server group policy set in install-config for the Compute machine-pool is correctly applied at install-time in the Terraform flow.
    • Bug Fix
    • In Progress

    Description

      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:

      
          

      Attachments

        Issue Links

          Activity

            People

              pprinett@redhat.com Pierre Prinetti
              pprinett@redhat.com Pierre Prinetti
              Yaakov Khodorkovski Yaakov Khodorkovski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: