Skip to content

fix(e2e): Clear stale bootstrap IP annotation in bare metal API upgrade flow#10651

Merged
eks-distro-bot merged 1 commit into
aws:mainfrom
rahulbabu95:fix/tinkerbell-api-test-bootstrap-annotation
Feb 27, 2026
Merged

fix(e2e): Clear stale bootstrap IP annotation in bare metal API upgrade flow#10651
eks-distro-bot merged 1 commit into
aws:mainfrom
rahulbabu95:fix/tinkerbell-api-test-bootstrap-annotation

Conversation

@rahulbabu95
Copy link
Copy Markdown
Member

@rahulbabu95 rahulbabu95 commented Feb 27, 2026

Issue #, if available:

Description of changes:
The CLI-generated config file is written before the bootstrap-to-management cluster pivot, so it retains the tinkerbell-bootstrap-ip annotation. When the test re-applies this config via kubectl apply, the annotation gets re-added to the Cluster CR, causing the controller to regenerate machine templates with the bootstrap IP instead of the tinkerbellIP. This creates a template diff that triggers unintended rollouts which blocks the reconciliation.

Testing (if applicable):
Locally tested the fix.

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…de flow

The CLI-generated config file is written before the bootstrap-to-management
cluster pivot, so it retains the tinkerbell-bootstrap-ip annotation. When
the test re-applies this config via kubectl apply, the annotation gets
re-added to the Cluster CR, causing the controller to regenerate machine
templates with the bootstrap IP instead of the tinkerbellIP. This creates
a template diff that triggers unintended rollouts, blocking reconciliation.
@eks-distro-bot eks-distro-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 27, 2026
@rahulbabu95
Copy link
Copy Markdown
Member Author

/approve

@eks-distro-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rahulbabu95

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.60%. Comparing base (755ef5e) to head (cf94706).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10651   +/-   ##
=======================================
  Coverage   69.59%   69.60%           
=======================================
  Files         670      670           
  Lines       40923    40923           
=======================================
+ Hits        28481    28483    +2     
+ Misses      10708    10707    -1     
+ Partials     1734     1733    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@snarkychef
Copy link
Copy Markdown
Member

/cherry-pick release-0.25

@eks-distro-pr-bot
Copy link
Copy Markdown
Contributor

@snarkychef: once the present PR merges, I will cherry-pick it on top of release-0.25 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-0.25

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.

@snarkychef
Copy link
Copy Markdown
Member

/lgtm

@eks-distro-bot eks-distro-bot merged commit f535947 into aws:main Feb 27, 2026
9 checks passed
@eks-distro-pr-bot
Copy link
Copy Markdown
Contributor

@snarkychef: new pull request created: #10652

Details

In response to this:

/cherry-pick release-0.25

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.

@rahulbabu95
Copy link
Copy Markdown
Member Author

/cherrypick release-0.24

@eks-distro-pr-bot
Copy link
Copy Markdown
Contributor

@rahulbabu95: new pull request created: #10668

Details

In response to this:

/cherrypick release-0.24

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.

rahulbabu95 added a commit to rahulbabu95/eks-anywhere that referenced this pull request Mar 21, 2026
- Clear stale bootstrap IP annotation in bare metal API upgrade flow
  to prevent controller from regenerating machine templates with the
  bootstrap IP instead of tinkerbellIP (aws#10651)

- Increase hardware count for AddWorkerNodeGroup API tests from 2 to 3
  to account for CP + existing worker + new worker group (aws#10669)

- Add missing licenseToken to K8s 1.31 CP upgrade tests
  (131To132UpgradeCPOnly, 130To131UpgradeWorkerOnly) which were failing
  validation for extended kubernetes support

Signed-off-by: Rahul Ganesh <rahulbabu95@gmail.com>
peirulu pushed a commit that referenced this pull request Mar 21, 2026
- Clear stale bootstrap IP annotation in bare metal API upgrade flow
  to prevent controller from regenerating machine templates with the
  bootstrap IP instead of tinkerbellIP (#10651)

- Increase hardware count for AddWorkerNodeGroup API tests from 2 to 3
  to account for CP + existing worker + new worker group (#10669)

- Add missing licenseToken to K8s 1.31 CP upgrade tests
  (131To132UpgradeCPOnly, 130To131UpgradeWorkerOnly) which were failing
  validation for extended kubernetes support

Signed-off-by: Rahul Ganesh <rahulbabu95@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants