Skip to content
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

Fix kops cluster create for weekly runs #1842

Closed
jayanthvn opened this issue Feb 3, 2022 · 4 comments
Closed

Fix kops cluster create for weekly runs #1842

jayanthvn opened this issue Feb 3, 2022 · 4 comments
Assignees
Labels

Comments

@jayanthvn
Copy link
Contributor

What happened:
Kops cluster create is failing because of

github-runner is not in the sudoers file.  This incident will be reported.

Need to fix this line - https://github.com/aws/amazon-vpc-cni-k8s/blob/master/scripts/lib/cluster.sh#L59

Attach logs

What you expected to happen:
Successful creation of kops cluster

How to reproduce it (as minimally and precisely as possible):
N/A

Anything else we need to know?:
N/A

Environment:

  • Kubernetes version (use kubectl version):
  • CNI Version
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
@vikasmb
Copy link
Contributor

vikasmb commented Feb 24, 2022

After the fixes linked to this PR were merged, kops cluster in weekly test suite gets created and the conformance tests pass with latest version of CNI image too.

However, while deleting the resources created, it runs into trouble deleting security and vpc related configs, thus marking the kops test as failed.

Not all resources deleted; waiting before reattempting deletion
	route-table:rtb-064aae08b0cfc2372
Error: not making progress deleting resources; giving up
	vpc:vpc-0b662442aa62fec2b
	security-group:sg-01c0b981a689724af
	dhcp-options:dopt-045ed3eed08d3f266
	subnet:subnet-02cc937a1a2f287bf
Error with exit code 1 occurred on line 116

@vikasmb
Copy link
Contributor

vikasmb commented Feb 25, 2022

Error during de-provisioning of kops cluster is due to a leaked ENI preventing further cleanup of VPC resources. Leakage of ENI during node termination is an existing issue tracked in #1223

@vikasmb
Copy link
Contributor

vikasmb commented Mar 2, 2022

With these fixes, we now have a successful kops test run in https://github.com/aws/amazon-vpc-cni-k8s/runs/5382771558?check_suite_focus=true. Closing out this issue.

@vikasmb vikasmb closed this as completed Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 2, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants