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

Implement supporting functions for reconcileMachineUpdates

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • 1
    • False
    • None
    • False
    • OCPPLAN-9749 - Control Plane Scaling and Recovery (IPI clusters only) - Phase 0
    • CLOUD Sprint 217, CLOUD Sprint 218

      Background

      The updates (ie new machines/delete old machines) of the CPMS are relatively complicated and warrant their own cards, however, there are a few TODOs in the updates file that need to be resolved.

      Namely:

      • Setting the status degraded when an invalid strategy is applied
      • Mapping machine infos from a list to a map

      The parts to implement for this card are here and here  and the tests are here  and here

      Steps

      • Review the tests cases and function description to understand what the expected behaviour is
      • Implement the behaviour of the function based on prescribed behaviour in the tests
      • Ensure linting passes (make lint) and think about the code layout, it is clean?
      • Consider any additional tests that may need to be added

      Stakeholders

      • Cluster Infra (Joel)

      Definition of Done

      • Supporting functions for Machine update logic are implemented and existing tests are passing
      • Docs
      • N/A
      • Testing
      • Existing unit tests pass + any additional tests you can think of

              rmanak@redhat.com Radek Manak
              joelspeed Joel Speed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: