Skip to content

Conversation

Fedosin
Copy link
Contributor

@Fedosin Fedosin commented Dec 15, 2023

What this PR does / why we need it:

Now we don't delete CAPI CRDs when some e2e tests are over. It leads to a failure, when we have CAPI CRDs v1.6.0 and we want to install Core Provider v1.4.3.

To fix it we delete all the CRDs before running air-gapped tests.

Error message:

E1215 18:45:55.001141       1 controller.go:324]  "msg"="Reconciler error" "error"="action failed after 10 attempts: failed to patch provider object: CustomResourceDefinition.apiextensions.k8s.io \"ipaddressclaims.ipam.cluster.x-k8s.io\" is invalid: status.storedVersions[0]: Invalid value: \"v1beta1\": must appear in spec.versions" "CoreProvider"={"name":"cluster-api","namespace":"capi-operator-system"} "controller"="coreprovider" "controllerGroup"="operator.cluster.x-k8s.io" "controllerKind"="CoreProvider" "name"="cluster-api" "namespace"="capi-operator-system" "reconcileID"="ac99c777-9b79-4875-80fa-be8457a

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 #

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 15, 2023
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 15, 2023
Now we don't delete CAPI CRDs when some e2e tests are over. It leads
to a failure, when we have CAPI CRDs v1.6.0 and we want to install
Core Provider v1.4.3.

To fix it we delete all the CRDs before running air-gapped tests.
Copy link
Contributor

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 16, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: dcaeb1e7f2e6b027ab7d1d6d65ae07dbd64c5bf5

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demicev

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 Dec 16, 2023
@k8s-ci-robot k8s-ci-robot merged commit 34a9d38 into kubernetes-sigs:main Dec 16, 2023
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants