cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

`AWSFargateProfiles` missed by `clusterctl move`

Open zlangbert opened this issue 3 years ago • 1 comments
trafficstars

/kind bug

What steps did you take and what happened: When attempting to pivot from a local bootstrap cluster to a management cluster in EKS, clusterctl move does not move AWSFargateProfiles for the managed clusters.

This can be reproduced by attempting to clusterctl move any managed EKS cluster with an associated AWSFargateProfile to a new management cluster.

Reconciliation does not fail, you just end up with a fargate profile that is no longer manager by CAPA.

I believe this is due to the fact that AWSFargateProfiles do not get an ownerReference attached, which I think is how clusterctl finds relevant resources.

What did you expect to happen: I would expect that clusterctl move moves all resources related to the cluster, including fargate profiles.

Anything else you would like to add: I believe this also affects deleting clusters. If an EKS cluster has a fargate profile attached, kubectl delete cluster test-cluster fails because the EKS will not delete a cluster if it has a fargate profile attached.

unable to delete EKS cluster: failed to request delete of eks cluster test-usw2: ResourceInUseException: Cluster has Fargate Profiles in ACTIVE/CREATING state

Environment:

  • Cluster-api-provider-aws version: 1.5.0
  • Kubernetes version: (use kubectl version): 1.23.10
  • OS (e.g. from /etc/os-release):

zlangbert avatar Sep 28 '22 18:09 zlangbert

/triage accepted

Skarlso avatar Sep 29 '22 10:09 Skarlso

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Dec 28 '22 10:12 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Jan 27 '23 11:01 k8s-triage-robot

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

  • Confirm that this issue is still relevant with /triage accepted (org members only)
  • Close this issue with /close

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

k8s-triage-robot avatar Jan 27 '24 11:01 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Feb 26 '24 12:02 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

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 avatar Feb 26 '24 12:02 k8s-ci-robot