Skip to content

[backport 0.7] Fixes an issue with using multiple EKS addons. #2961

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

Merged
merged 1 commit into from
Nov 17, 2021
Merged

[backport 0.7] Fixes an issue with using multiple EKS addons. #2961

merged 1 commit into from
Nov 17, 2021

Conversation

richardcase
Copy link
Member

What type of PR is this?

/kind bug

What this PR does / why we need it:

When the EKS addons functionality was added to CAPA there was only 1
addon available (vpc) and so it was never tested with multiple addons.
Now there are multiple addons there are issues.

The unit and e2e tests only tested 1 addons. On investigation the issue
was caused by implicit memory aliasing in a loop. This change fixes the
loop and also expands the unit and e2e tests to include multiple eks
addons

Backport of #2914

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

Special notes for your reviewer:

Checklist:

  • squashed commits
  • adds unit tests
  • adds or updates e2e tests

Release note:

Fixes an issue with using multiple EKS addons.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority labels Nov 16, 2021
@k8s-ci-robot
Copy link
Contributor

@richardcase: This issue is currently awaiting triage.

If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 16, 2021
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 16, 2021
@richardcase
Copy link
Member Author

/retitle [backport] fix: support more than 1 eks addon

@k8s-ci-robot k8s-ci-robot changed the title fix: support more than 1 eks addon [backport] fix: support more than 1 eks addon Nov 16, 2021
When the EKS addons functionality was added to CAPA there was only 1
addon available (vpc) and so it was never tested with multiple addons.
Now there are multiple addons there are issues.

The unit and e2e tests only tested 1 addons. On investigation the issue
was caused by implicit memory aliasing in a loop. This change fixes the
loop and also expands the unit and e2e tests to include multiple eks
addons

Signed-off-by: Richard Case <[email protected]>
@richardcase
Copy link
Member Author

/retitle [backport 0.7] Fixes an issue with using multiple EKS addons.

@k8s-ci-robot k8s-ci-robot changed the title [backport] fix: support more than 1 eks addon [backport 0.7] Fixes an issue with using multiple EKS addons. Nov 16, 2021
@sedefsavas
Copy link
Contributor

/test?

@k8s-ci-robot
Copy link
Contributor

@sedefsavas: The following commands are available to trigger required jobs:

  • /test pull-cluster-api-provider-aws-build
  • /test pull-cluster-api-provider-aws-build-release-0-7
  • /test pull-cluster-api-provider-aws-test-release-0-7
  • /test pull-cluster-api-provider-aws-verify-release-0-7

The following commands are available to trigger optional jobs:

  • /test pull-cluster-api-provider-aws-e2e-conformance-release-0-7
  • /test pull-cluster-api-provider-aws-e2e-conformance-with-ci-artifacts-release-0-7
  • /test pull-cluster-api-provider-aws-e2e-eks-release-0-7
  • /test pull-cluster-api-provider-aws-e2e-release-0-7

Use /test all to run the following jobs that were automatically triggered:

  • pull-cluster-api-provider-aws-build
  • pull-cluster-api-provider-aws-build-release-0-7
  • pull-cluster-api-provider-aws-test-release-0-7
  • pull-cluster-api-provider-aws-verify-release-0-7

In response to this:

/test?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sedefsavas
Copy link
Contributor

/test pull-cluster-api-provider-aws-e2e-eks-release-0-7

@sedefsavas sedefsavas modified the milestones: v1.1.0, v0.7.2 Nov 16, 2021
@richardcase
Copy link
Member Author

The eks e2e passed

@sedefsavas
Copy link
Contributor

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sedefsavas

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 Nov 17, 2021
@k8s-ci-robot k8s-ci-robot merged commit b23dce1 into kubernetes-sigs:release-0.7 Nov 17, 2021
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants