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

Ensure GCP control plane machines are assigned to instance group

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • BU Product Work
    • 3
    • False
    • None
    • False
    • OCPSTRAT-83 - Machine API (Phase 5)
    • CLOUD Sprint 227

      User Story

      As an OpenShift admin on GCP I want to replace my control plane node. Currently, the new control plane machine does not get assigned instance group. This is prevents the internal load balancer working on the new node until you set it manually using the GCP console. This prevents automatic control plane replacement using the CPMSO on GCP.

      Background

      CAPI implementation:
      _https://github.com/openshift/cluster-api-provider-gcp/blob/f6b71187180cb35b93caee08eddbccb66cb28ab6/cloud/services/compute/instances/reconcile.go#L141_

      Steps

      • Create abstraction around GCP instance group API
      • Register machine to instance group on create
      • Remove machine from instance group on delete

      Stakeholders

      • Cluster Infrastructure (CPMSO)

      Definition of Done

      • Control plane machines are reconciled into correct instance group
      • Docs
      • N/A
      • Testing
      • Manual node replacement as CPMS is currently disabled on GCP

        1. image-2022-11-08-18-24-50-101.png
          66 kB
          Milind Yadav
        2. image-2022-11-08-18-26-19-180.png
          66 kB
          Milind Yadav
        3. image-2022-11-08-18-35-17-442.png
          94 kB
          Milind Yadav
        4. image-2022-11-08-18-36-05-779.png
          68 kB
          Milind Yadav
        5. image-2022-11-08-18-36-32-190.png
          87 kB
          Milind Yadav
        6. master-added-to-instance-grp.png
          58 kB
          Milind Yadav
        7. screenshot-1.png
          93 kB
          Milind Yadav
        8. screenshot-2.png
          76 kB
          Milind Yadav

              rmanak@redhat.com Radek Manak
              rmanak@redhat.com Radek Manak
              Milind Yadav Milind Yadav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: