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

Implement CAPI to MAPI MachineSet conversion

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 261, CLOUD Sprint 262

      Background

      To be able to continue to operate MachineSets, we need a backwards conversion once the migration has occurred. We do not expect users to remove the MAPI MachineSets immediately, and the logic will be required for when we remove the MAPI controllers.

      This covers the case where the CAPI MachineSet is authoritative or only a CAPI MachineSet exists.

      Behaviours

      • If the MachineSet only exists in CAPI, do nothing
      • If the MachineSet is mirrored in MAPI
        • Convert the InfraTemplate to a providerSpec, and update the MAPI resource
        • Mirror labels from the CAPI MachineSet to the MAPI MachineSet
        • Ensure spec and status fields (replicas, taints etc) are mirrored between the MachineSets
      • On Failure
        • Set the Synchronized condition to False and apply an appropriate message
      • On Success
        • Set the Synchronized condition to True and update the synchronizedGeneration

      Steps

      •  

      Stakeholders

      • <Who is interested in this/where did they request this>

      Definition of Done

      • <Add items that need to be completed for this card>
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

              rh-ee-tbarberb Theo Barber-Bany
              joelspeed Joel Speed
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: