Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Bump CAPI to v1.8.1 #2154

Merged
merged 5 commits into from
Sep 4, 2024
Merged

Conversation

EmilienM
Copy link
Contributor

@EmilienM EmilienM commented Aug 14, 2024

What this PR does / why we need it:

  • update CAPI to 1.8.1
  • update codegen && run make generate
  • manager: stop using deprecated options for diagnostics
  • remove TLS options, they're in CAPI now

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2144

Co-Authored-By: @mdbooth

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 14, 2024
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Aug 14, 2024
Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit a79cce9
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/66d84891e72168000823a948
😎 Deploy Preview https://deploy-preview-2154--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 14, 2024
@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@jichenjc
Copy link
Contributor

changes ok so only need fix those test errors

../kube-openapi@v0.0.0-20240228011516-70dd3763d340/pkg/common/common.go:23:2: missing go.sum entry for module providing package github.com/emicklei/go-restful/v3 (imported by k8s.io/kube-openapi/pkg/common); to add:

@EmilienM EmilienM changed the title 🌱 Bump CAPI to v1.8.0 🌱 Bump CAPI to v1.8.1 Aug 14, 2024
@EmilienM EmilienM force-pushed the new-capi branch 2 times, most recently from bbce98e to 75465d5 Compare August 14, 2024 15:34
@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 16, 2024
@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

@mdbooth ready for review, but with your PTO you might not have time to review it today. I guess this can wait.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2024
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2024
@EmilienM
Copy link
Contributor Author

@pierreprinetti hey, I had to rebase this one today. I could use an extra pair of eyes in case I rebased something wrong.
Thanks

@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

This is ready to go but it won't pass the upgrade tests until we got #2156 merged.
I suggest we wait a bit before merging this one to ensure that the bump doesn't break upgrades 😓

@EmilienM
Copy link
Contributor Author

/test pull-cluster-api-provider-openstack-e2e-full-test

1 similar comment
@jichenjc
Copy link
Contributor

/test pull-cluster-api-provider-openstack-e2e-full-test

@mdbooth
Copy link
Contributor

mdbooth commented Sep 3, 2024

Pretty sure the error is here:

[FAILED] Invalid argument. input.InitWithKubernetesVersion can't be empty when calling clusterctl-upgrade spec
Expected
    <string>: 
not to be empty

Guessing this is either new, or wasn't previously checked.

@EmilienM
Copy link
Contributor Author

EmilienM commented Sep 3, 2024

/test pull-cluster-api-provider-openstack-e2e-full-test

@EmilienM
Copy link
Contributor Author

EmilienM commented Sep 3, 2024

/test pull-cluster-api-provider-openstack-e2e-full-test

1 similar comment
@jichenjc
Copy link
Contributor

jichenjc commented Sep 4, 2024

/test pull-cluster-api-provider-openstack-e2e-full-test

@mdbooth
Copy link
Contributor

mdbooth commented Sep 4, 2024

I think we've been caught out by kubernetes-sigs/cluster-api#10609. Before this change the test was implicity using the value of INIT_WITH_KUBERNETES_VERSION in e2e_conf.yaml. This is 1.30.1. It doesn't look like KUBERNETES_VERSION_UPGRADE_{FROM,TO} were in use.

Incidentally this change landed in CAPI v1.8.0, so I suspect we didn't run this test before landing that bump 😬

Edit: KUBERNETES_VERSION_UPGRADE_{FROM,TO} are still directly used by the CAPI tests.

@mdbooth
Copy link
Contributor

mdbooth commented Sep 4, 2024

/test pull-cluster-api-provider-openstack-e2e-full-test

@mdbooth
Copy link
Contributor

mdbooth commented Sep 4, 2024

@EmilienM We'll want to do some squashing on this PR before merging. Maybe not all the commits, but we should squash as many commits as it ends up taking to fix the upgrade test.

…Input`

As we are only interested in testing a CAPO upgrade, this should stay in
sync with the k8s version used in other tests.
@EmilienM
Copy link
Contributor Author

EmilienM commented Sep 4, 2024

/test pull-cluster-api-provider-openstack-e2e-full-test

@mdbooth
Copy link
Contributor

mdbooth commented Sep 4, 2024

/lgtm

@EmilienM Suggest you self-approve this.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 4, 2024
@EmilienM
Copy link
Contributor Author

EmilienM commented Sep 4, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EmilienM

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2024
@k8s-ci-robot k8s-ci-robot merged commit a84b1b4 into kubernetes-sigs:main Sep 4, 2024
10 checks passed
@EmilienM EmilienM deleted the new-capi branch September 4, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CAPI v1.8.0-beta.0 has been released and is ready for testing
4 participants