aws / aws/eks-anywhere

Upgrade of EKSA Cluster with Prior VM template expects a wrong tag on the VM Template

Open
#2,549 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What happened**:

I was trying to scale my EKSA Cluster in VMC which was created a while ago. I was trying to update the worker nodes size to 3 and was trying run the `eksctl anywhere upgrade cluster -f eksa-cluster.yaml` and im getting the below error which is not making any sense to me.
❯ eksctl anywhere upgrade cluster -f eksa-cluster.yaml ─╯
Performing setup and validations
✅ Connected to server
✅ Authenticated to vSphere
✅ Datacenter validated
✅ Network validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
❌ Validation failed {"validation": "vsphere Provider setup is valid", "error": "template /SDDC-Datacenter/vm/Templates/eks-a-templates/ubuntu-v1.21.5-eks-d-1-21-8-eks-a-6-amd64 is missing tag eksdRelease:kubernetes-1-21-eks-13", "remediation": ""}

**What you expected to happen**:
The tag expectation of the image wasnt correct, it should have passed through the error.

**How to reproduce it (as minimally and precisely as possible)**: Try to upgrade your older cluster increasing the size of the worker nodes

**Anything else we need to know?**:

**Environment**:
- EKS Anywhere Release:
- EKS Distro Release:

Contributor guide

Open the contributing guide

Research direction

The payload names no source files or tests. Start by reproducing the older-cluster upgrade with `eksctl anywhere upgrade cluster -f eksa-cluster.yaml` and inspect the validation that reports the missing `eksdRelease:kubernetes-1-21-eks-13` tag; done means the prior VM template's tag expectation is handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.