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

Ensure GCP control plane machines are assigned to instance group

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • None
    • None
    • CLOUD Sprint 227

    Description

      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

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: