-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Validate cloud labels #9536
Validate cloud labels #9536
Conversation
Since moving to LaunchTemplates, cloudLabels cannot have empty values anymore. If one tries to, kops will just loop endlessly with AWS errors when trying to create the launch template
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: olemarkus The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/lgtm |
This issue: hashicorp/terraform-provider-aws#11164 makes me wonder if it is specifically "tag on create" that doesn't allow empty values, and if If thats the case I can open a support ticket to get more info to confirm this is expected behavior and maybe we can add a workaround in Kops (only pass nonempty-value tags to |
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
New changes are detected. LGTM label has been removed. |
/test pull-kops-verify-staticcheck |
/hold while we do some investigation first. |
hm so this works for me: (replace sg-12345 with a valid one) this creates a launch template with value-less tags assigned to the instance, volume, and launch template itself. |
Ah, i was able to repro the issue, turns out i was specifying the tag in the wrong place.
I'll open a support case and find out if that's intended. |
I didn't notice this before the change to "tag on create. |
I contacted AWS support and they're raising an issue with an internal team. No ETA on more info or a fix, so we may want to consider reverting the tag-on-create for now. |
I think that would be a good idea for now. |
@olemarkus: PR needs rebase. 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. |
I suppose this one should just be closed then? |
@olemarkus: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
AWS already deployed the fix in |
Since moving to LaunchTemplates, cloudLabels cannot have empty values anymore. If one tries to, kops will just loop endlessly with AWS errors when trying to create the launch template.
/cc @rifelpet