Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1739

Create full vertical scaling rolling update periodic test

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 227

      Background

      We wish to have a periodic that tests the rolling update strategy end to end.

      This test should be executed only as a periodic because it is expensive to run and takes a long time.

      Motivation

      We want to be able to prove that we can replace the whole Control Plane without interruption and without degrading the cluster.
      This doesn’t run as a presubmit because it is too long running.
      This test in itself will take around 1 hour to execute.

      We can also simulate this with an integration test to test the surging behaviour of CPMS.|

      Steps

      • Create a test that:
        • Checks the cluster operators are all stable/waits for them to stabilise
        • Edits the CPMS spec to increase the control plane instance size
        • Monitors the number of control plane machines to ensure the replicas never goes above 4 (checking surge)
        • Checks that the CPMS first replaces index 0, then 1, then 2
        • Checks naming of new machines
        • Checks old machines aren't marked for deletion while the new Machine's phase is not Running
        • Checks new machines report the correct/updated instance size
        • Waits until all replacements are complete, ie CPMS status reports replicas == updatedReplicas
        • Waits until cluster operators stabilise again

      Note, a number of these checks will want to be done in parallel, eg a poll could wait until replicas == updatedReplicas while another go routine checks the surge, and another goroutine watches the Machines and checks their state

      Stakeholders

      • Cluster Infra

      Definition of Done

      • Periodic test is included in the repository and is proven to work
      • Docs
      • N/A
      • Testing
      • N/A

            joelspeed Joel Speed
            joelspeed Joel Speed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: