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

[Core] Handle Machine owner references translation between MAPI and CAPI

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • 3
    • False
    • None
    • False
    • OCPSTRAT-683 - Migrate MAPI to Cluster API for AWS -Phase 1
    • CLOUD Sprint 262, CLOUD Sprint 262

      Background

      Presently, the mapi2capi and capi2mapi code cannot handle translations of owner references.

      We need to be able to map CAPI/MAPI machines to their correct CAPI/MAPI MachineSet/CPMS and have the owner references correctly set.

      This requires identifying the correct owner and determining the correct UID to set.

      This will likely mean extending the conversion utils to be able to make API calls to identify the correct owners.

      Owner references for non-MachineSet types should still cause an error.

      Steps

      • Add a client to the conversion util constructors (members of the conversion structs?)
      • OR handle this outside of the conversion library?
      • Work out the correct way to convert MachineSet/CPMS owner references between namespaces

      Stakeholders

      • Cluster Infra

      Definition of Done

      • Owner references are correctly converted between MAPI and CAPI machines
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

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

              Created:
              Updated: