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

OCPCLOUD-2441,OCPBUGS-25565: Merge https://github.com/kubernetes-sigs/cluster-api-provider-aws:v2.4.0 (25a0086) into master #499

Merged
merged 160 commits into from Mar 6, 2024

Conversation

damdo
Copy link
Member

@damdo damdo commented Mar 1, 2024

No description provided.

Fedosin and others added 30 commits September 12, 2023 22:25
Co-authored-by: Andreas Sommer <andreas@giantswarm.io>
…ing-asg-instance-refresh

🐛 Don't error if ASG is missing when deciding to refresh instances
Pass logger to machine pool scope to get verbosity right, fix copying logger in `With...` methods
…-mixed-instances

✨ Prevent users setting values that are invalid configuration on AWS
…d-when-updating-asg-with-external-scaler

🐛 Update ASG - do not set desired value for machinepool which have externally managed replicas
Co-authored-by: Andreas Sommer <andreas@giantswarm.io>
…Instances is called

This mitigates issues caused by falling back to tag-based searching for
EC2 instances in case future AWS calls fail, such as attaching ENIs to
security groups or tagging ENIs.

Signed-off-by: Michael Shen <mishen@umich.edu>
Bumps [github.com/openshift-online/ocm-sdk-go](https://github.com/openshift-online/ocm-sdk-go) from 0.1.386 to 0.1.388.
- [Release notes](https://github.com/openshift-online/ocm-sdk-go/releases)
- [Changelog](https://github.com/openshift-online/ocm-sdk-go/blob/main/CHANGES.md)
- [Commits](openshift-online/ocm-sdk-go@v0.1.386...v0.1.388)

---
updated-dependencies:
- dependency-name: github.com/openshift-online/ocm-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.388

🌱 bump github.com/openshift-online/ocm-sdk-go from 0.1.386 to 0.1.388
Copies the structure of the
cluster-template-external-cloud-provider.yaml into the default template,
with the folloiwng changes.

* The following version updates were made:
    aws-cloud-controller-manager: v1.28.3
    CSI driver:                   v1.25.0
    CSI provisioner:              v3.6.2
    CSI attacher:                 v4.4.2
    CSI resizer:                  v1.9.2
    CSI livenessprobe:            v2.11.0
    CSI register:                 v2.9.2

* The CNI references were removed, since the Quickstart lets the user
install their own CNI.

* Updated the contents of the aws-ccm-external.yaml file based on files in
https://github.com/kubernetes/cloud-provider-aws/tree/master/examples/existing-cluster/base.
** Changed `--configure-cloud-routes=false` from the default
** Changed node selector from `node-role.kubernetes.io/master` to
`node-role.kubernetes.io/controle-plane`.

NOTE: Because this change requires the use of ClusterResourceSet, the
Quickstart will need to be updated to include `export
EXP_CLUSTER_RESOURCE_SET=true` prior to initializing the management
cluster.

Signed-off-by: Nolan Brubaker <nolan@nbrubaker.com>
🐛 Update awsmachine providerID and instanceID immediately after ec2:RunInstances is called
Signed-off-by: Richard Case <richard.case@outlook.com>
Signed-off-by: Richard Case <richard.case@outlook.com>
…nd-asg

🐛  There is no need to check instance refresh if ASG is not found
…ot/github_actions/actions/setup-go-5

🌱 bump actions/setup-go from 4 to 5
…cryption

✨ Enable transit encryption to S3 bucket
…cator-0.6.13

🌱 bump sigs.k8s.io/aws-iam-authenticator from 0.6.12 to 0.6.13
…roup

🐛 chore: update dependabot to group updates
Bumps the dependencies group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [kubernetes-sigs/kubebuilder-release-tools](https://github.com/kubernetes-sigs/kubebuilder-release-tools).


Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

Updates `kubernetes-sigs/kubebuilder-release-tools` from 0.4.2 to 0.4.3
- [Release notes](https://github.com/kubernetes-sigs/kubebuilder-release-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/kubebuilder-release-tools/blob/master/RELEASE.md)
- [Commits](kubernetes-sigs/kubebuilder-release-tools@3c34113...012269a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: kubernetes-sigs/kubebuilder-release-tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Richard Case <richard.case@outlook.com>
@damdo
Copy link
Member Author

damdo commented Mar 5, 2024

Ran this in combination with openshift/cluster-capi-operator#151

launch openshift/cluster-capi-operator#151,openshift/cluster-api-provider-aws#499 aws,techpreview

AWS CAPI E2Es passed successfully:

Cluster API AWS MachineSet should be able to run a machine with a default provider spec
/Users/ddonati/src/cluster-capi-operator/e2e/aws_test.go:62
  STEP: Creating core cluster @ 03/04/24 20:50:37.945
  STEP: Creating AWS cluster @ 03/04/24 20:50:38.617
  STEP: Creating AWS machine template @ 03/04/24 20:50:39.171
  STEP: Creating MachineSet "aws-machineset" @ 03/04/24 20:50:39.366
  STEP: Waiting for MachineSet machines "aws-machineset" to enter Running phase @ 03/04/24 20:50:39.565
  STEP: Deleting MachineSet "aws-machineset" @ 03/04/24 20:55:24.544
  STEP: Waiting for MachineSet "aws-machineset" to be deleted @ 03/04/24 20:55:24.729
  STEP: Deleting /aws-machine-template @ 03/04/24 20:57:29.516
• [412.502 seconds]
------------------------------

Ran 1 of 3 Specs in 413.401 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 2 Skipped
PASS

Ginkgo ran 1 suite in 7m6.607934445s
Test Suite Passed

@damdo
Copy link
Member Author

damdo commented Mar 5, 2024

/retest

@damdo
Copy link
Member Author

damdo commented Mar 5, 2024

/hold
For controlling the merge

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 5, 2024
@damdo
Copy link
Member Author

damdo commented Mar 5, 2024

/assign @vincepri

Copy link

@vincepri vincepri left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 6, 2024
@nrb
Copy link

nrb commented Mar 6, 2024

/approve

Copy link

openshift-ci bot commented Mar 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nrb

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 6, 2024
@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/retest

1 similar comment
@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/retest

@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/tide refresh

@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2024
@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2024
@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/tide refresh

@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/test ci/prow/e2e-aws-capi-techpreview

@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/test ci/prow/e2e-aws-ovn-techpreview

Copy link

openshift-ci bot commented Mar 6, 2024

@damdo: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test e2e-aws-ovn
  • /test e2e-aws-serial
  • /test e2e-hypershift
  • /test images
  • /test unit

The following commands are available to trigger optional jobs:

  • /test e2e-aws-capi-techpreview
  • /test e2e-aws-ovn-techpreview
  • /test verify-commits

Use /test all to run all jobs.

In response to this:

/test ci/prow/e2e-aws-capi-techpreview

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.

Copy link

openshift-ci bot commented Mar 6, 2024

@damdo: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@damdo
Copy link
Member Author

damdo commented Mar 6, 2024

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 398729c into openshift:master Mar 6, 2024
9 checks passed
@openshift-ci-robot
Copy link

@damdo: Jira Issue OCPBUGS-25565: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-25565 has not been moved to the MODIFIED state.

In response to this:

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-aws-cluster-api-controllers-container-v4.16.0-202403070215.p0.g398729c.assembly.stream.el9 for distgit ose-aws-cluster-api-controllers.
All builds following this will include this PR.

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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet