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

Implement status reconciliation from MachineInfo

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • None
    • None
    • CLOUD Sprint 217, CLOUD Sprint 218, CLOUD Sprint 221

    Description

      Background

      Once the MachineProvider has provided MachineInfo, we need to observe the MachineInfo and calculate the status based upon this.

      Once this has been calculated, the status needs to be patched.

      The status management should all be implemented here  and there are existing test outlines for the reconciliation 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
      • Ensure tests are added for updateControlPlaneMachineSetStatus which does not currently have any tests

      Stakeholders

      • Cluster Infra (Joel)

      Definition of Done

      • The status of the ControlPlaneMachineSet is updated based on the output of the MachineInfos
      • Docs
      • N/A
      • Testing
      • Existing unit tests should pass, new tests should be added for the updateControlPlaneMachineSet function (ensure that when passed a CPMS with a different status, this gets updated on the API, when there are no changes, it does not apply the changes)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: