-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
When replaying user-data in testing will bail user-data when strict due to moving files... #893
Conversation
When replaying user-data in testing will bail user-data when strict... ``` mv: cannot stat ‘/etc/eks/iptables-restore.service’: No such file or directory Exited with error on line 424 ```
Thanks for making this change! Did you get a chance to test this out for both Docker and Containerd? |
Tested in dockerd, the change is identical for containerd. |
I am hitting the same issue. EKS Managed node groups failed to join the cluster with launch templates and custom user data. Nodes are healthy but they failed to join the cluster. EC2 system logs shows this error. It doesn't happen all the times. Some node groups works ok.
What's causing this behaviour? |
I have run across this as well. I am assuming that this script should ideally be idempotent. I have noticed this error when the bootstrap script is run twice for one reason or another. |
@suket22 @ravisinha0506 Any chance that we can get this merged in and get a new AMI built? |
When replaying user-data in testing will bail user-data when strict...
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.