-
Notifications
You must be signed in to change notification settings - Fork 475
fix: handle missing secret-userdata.txt for MachinePool/ASG nodes #1919
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @andrejbella! |
|
Hi @andrejbella. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
|
/ok-to-test |
|
Thanks for this @andrejbella . Could you confirm what testing you have done with this change? Have you built your own AMI and tested with CAPA? |
|
@richardcase I have built the custom AMI with this change and deployed both MD and MP clusters. Both deployed ok. Without this, only the MD succeeded CAPA: v2.10.0 |
Change description
Fixes #1917 by handling MachinePool/ASG nodes where userdata is passed directly
via EC2 metadata instead of being written to /etc/secret-userdata.txt by the
boothook. Previously the datasource would fail because it expected this file to exist.
The bug was introduced with this commit
Related issues
Additional context
This may not be the most ideal fix as we are essentially just guessing that the reason the file is missing is the deployment type.
Suggestions are welcome