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

[Bug] Missing version info while executing "eksctl upgrade cluster --name XXX" #8193

Open
guessi opened this issue Feb 1, 2025 · 3 comments
Labels

Comments

@guessi
Copy link
Contributor

guessi commented Feb 1, 2025

What were you trying to accomplish?

Try to upgrade cluster with command eksctl upgrade cluster --name XXX

What happened?

Target version info not shown.

Actual result:

... from current version "1.31" to ""

Expected result:

... from current version "1.31" to "1.32"

How to reproduce it?

Upgrade cluster from 1.31 to 1.32.

Logs

$ eksctl upgrade cluster --name my-cluster ### PLAN ###
2025-02-02 01:15:58 [ℹ]  (plan) would upgrade cluster "my-cluster" control plane from current version "1.31" to ""
2025-02-02 01:16:00 [ℹ]  re-building cluster stack "eksctl-my-cluster-cluster"
2025-02-02 01:16:00 [✔]  all resources in cluster stack "eksctl-my-cluster-cluster" are up-to-date
2025-02-02 01:16:01 [ℹ]  checking security group configuration for all nodegroups
2025-02-02 01:16:01 [ℹ]  all nodegroups have up-to-date cloudformation templates
2025-02-02 01:16:01 [!]  no changes were applied, run again with '--approve' to apply the changes
$ eksctl upgrade cluster --name my-cluster --approve
2025-02-02 01:16:18 [ℹ]  will upgrade cluster "my-cluster" control plane from current version "1.31" to ""
2025-02-02 01:23:44 [✔]  cluster "my-cluster" control plane has been upgraded to version "1.32"
2025-02-02 01:23:44 [ℹ]  you will need to follow the upgrade procedure for all of nodegroups and add-ons
2025-02-02 01:23:47 [ℹ]  re-building cluster stack "eksctl-my-cluster-cluster"
2025-02-02 01:23:47 [✔]  all resources in cluster stack "eksctl-my-cluster-cluster" are up-to-date
2025-02-02 01:23:48 [ℹ]  checking security group configuration for all nodegroups
2025-02-02 01:23:48 [ℹ]  all nodegroups have up-to-date cloudformation templates

Anything else we need to know?

n/a

Versions

$ eksctl info
eksctl version: 0.202.0
kubectl version: v1.32.1
OS: darwin
@guessi guessi added the kind/bug label Feb 1, 2025
@TiberiuGC
Copy link
Collaborator

@guessi if I understand correctly, it's just the log message that's faulty, while the actual upgrade succeeds, right?

@guessi
Copy link
Contributor Author

guessi commented Feb 3, 2025

@TiberiuGC yes, just info display issue :-)

@guessi
Copy link
Contributor Author

guessi commented Feb 3, 2025

I think it's somehow related to recent API change - https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeClusterVersions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants