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

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

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • CLOUD Sprint 262, CLOUD Sprint 265, CLOUD Sprint 266, CLOUD Sprint 267, CLOUD Sprint 268, CLOUD Sprint 269, CLOUD Sprint 270

      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>

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

                Created:
                Updated: