vmware / cluster-api-provider-cloud-director

Cluster API Provider for VMware Cloud Director. The project is an open source implementation of K8s ClusterAPI project and allows customers to provision resources directly from VMware Cloud Director. It enables Cloud Director powered Clouds to be treated as yet-another-cloud in the multi-cloud journey for VMware Cloud Providers.
Apache License 2.0
37 stars 34 forks source link

Consume updated common-core to fix issues around ip spaces #651

Closed rocknes closed 1 month ago

rocknes commented 1 month ago

Recently two bugs related to ip-spaces were fixed in CPI (common core). viz.

  1. CPI not supporting data center group org vdc networks for ip space related operations
  2. CPI erroring out while processing org vdc networks that have more than one uplink

Fix for both bugs were committed to common-core. This PR updates the version of common-core consumed by CAPVCD, to get the fixes.

Testing Done: Setup a CSE testbed where the following VCD objects were present

  1. A data center group org vdc network
  2. An Ip Space that is powering the org vdc network
  3. An external network connected to the same org vdc network

Built CPI and CAPVCD images with the fix and hosted them on a private registry. Updated CSE server config to consume the updated dev images. Created a cluster from CSE UI.

Outcome: CSE cluster was created successfully along with the load balancer. Verified IP was reserved for the cluster load balancer properly in the IP space.

Checklist

API Changes

Are there API changes?

If yes, please fill in the below

  1. Updated conversions?
    • [ ] Yes
    • [X] No
    • [ ] N/A
  2. Updated CRDs?
    • [ ] Yes
    • [X] No
    • [ ] N/A
  3. Updated infrastructure-components.yaml?
    • [ ] Yes
    • [] No
    • [X] N/A
  4. Updated ./examples/capi-quickstart.yaml?
    • [ ] Yes
    • [] No
    • [X] N/A
  5. Updated necessary files under ./infrastructure-vcd/v1.0.0/?
    • [ ] Yes
    • [ ] No
    • [X] N/A

This change is Reviewable