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 Kubelet not starting because of non-existent feature gate #10448

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

Smidra
Copy link
Contributor

@Smidra Smidra commented Sep 18, 2023

What type of PR is this?
/kind documentation
Fixes #10250

What this PR does / why we need it:
When installing latest Kubernetes with Kubespray and the Openstack cloud provider the documentation instructs to enable 3 feature gates.

kube_feature_gates:
- CSIMigration=true
- CSIMigrationOpenStack=true
- ExpandCSIVolumes=true

Specified feature gates cause Kubelets and whole Kubespray to fail. Kubelet fails to start because the specified feature gate do not exist. The features have graduated and thus the gates were removed.

Which issue(s) this PR fixes:

Special notes for your reviewer:
Hello there, first PR in my life. 😄

Does this PR introduce a user-facing change?:

Removed not needed graduated feature gates.

@k8s-ci-robot k8s-ci-robot added the kind/documentation Categorizes issue or PR as related to documentation. label Sep 18, 2023
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 18, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Smidra / name: Radek Smid (67ea7af)

@k8s-ci-robot
Copy link
Contributor

Welcome @Smidra!

It looks like this is your first PR to kubernetes-sigs/kubespray 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/kubespray has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @Smidra. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 18, 2023
Copy link
Member

@floryut floryut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Smidra Thank you, one comment though
/approve

docs/openstack.md Outdated Show resolved Hide resolved
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: floryut, Smidra

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2023
@floryut
Copy link
Member

floryut commented Sep 18, 2023

Can you please check CLA ?
/ok-to-test

@floryut floryut closed this Sep 18, 2023
@floryut floryut reopened this Sep 18, 2023
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Sep 19, 2023
@Smidra
Copy link
Contributor Author

Smidra commented Sep 19, 2023

Can you please check CLA ? /ok-to-test

Signed. I had to consult with managment first.

@yankay
Copy link
Member

yankay commented Sep 20, 2023

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 20, 2023
@Smidra
Copy link
Contributor Author

Smidra commented Oct 11, 2023

This issue is okay to test for 3 weeks now. The build for rocky linux is still running - the fix is pretty simple documentation stuff. Any ideas what had gone wrong? Thanks.

@MrFreezeex
Copy link
Member

MrFreezeex commented Oct 11, 2023

This issue is okay to test for 3 weeks now. The build for rocky linux is still running - the fix is pretty simple documentation stuff. Any ideas what had gone wrong? Thanks.

Ci job has been misreported from gitlab to github, don't worry about it. Could you check #10448 (comment) as well?

@floryut
Copy link
Member

floryut commented Oct 30, 2023

This issue is okay to test for 3 weeks now. The build for rocky linux is still running - the fix is pretty simple documentation stuff. Any ideas what had gone wrong? Thanks.

Ci job has been misreported from gitlab to github, don't worry about it. Could you check #10448 (comment) as well?

@Smidra are you still available for this ?

@Smidra
Copy link
Contributor Author

Smidra commented Nov 27, 2023

This issue is okay to test for 3 weeks now. The build for rocky linux is still running - the fix is pretty simple documentation stuff. Any ideas what had gone wrong? Thanks.

Ci job has been misreported from gitlab to github, don't worry about it. Could you check #10448 (comment) as well?

@Smidra are you still available for this ?

Sorry, for the delay. Now it should be okay.

@Smidra Smidra requested a review from floryut December 18, 2023 13:09
@floryut
Copy link
Member

floryut commented Jan 22, 2024

This issue is okay to test for 3 weeks now. The build for rocky linux is still running - the fix is pretty simple documentation stuff. Any ideas what had gone wrong? Thanks.

Ci job has been misreported from gitlab to github, don't worry about it. Could you check #10448 (comment) as well?

@Smidra are you still available for this ?

Sorry, for the delay. Now it should be okay.

Wow sorry missed that 😆
Can you rebase ?

@floryut
Copy link
Member

floryut commented Jan 23, 2024

@Smidra I'm real sorry about that, but could you update to match the fact that master will soon support only k8s 1.28+

So maybe put some example for newer one and remove all non supported one ? https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/

Still would like to merge this one :/

@Smidra
Copy link
Contributor Author

Smidra commented Jan 24, 2024

@floryut No problem, that makes sence. How about this?

@floryut
Copy link
Member

floryut commented Jan 26, 2024

@floryut No problem, that makes sence. How about this?

Thanks, can you check the markdown linter ?

@Smidra
Copy link
Contributor Author

Smidra commented Feb 5, 2024

@floryut Markdown lint fixed.

@floryut
Copy link
Member

floryut commented Feb 5, 2024

Conflict with #10879
Probably best to remove them in fact 🤔

@LarssonOliver
Copy link
Contributor

This PR likely fixes #10250

@VannTen
Copy link
Contributor

VannTen commented Feb 6, 2024

Min kubernetes version in master is 1.27.0, so I think you can just remove any mention of features gates in that doc.
If you could also add Fixes #10250 in the PR description that would help 👍

@Smidra
Copy link
Contributor Author

Smidra commented Feb 9, 2024

@VannTen Users might want to specify custom feature gates - is nice to show them how. Do you still want me to remove all the lines concerning feature gates (lilnes 68-75)?

@VannTen
Copy link
Contributor

VannTen commented Feb 9, 2024 via email

@VannTen
Copy link
Contributor

VannTen commented Feb 9, 2024

Thanks ! Could you squash/fixup your commits ? The first commit message is good but one commit should be enough for this change

@Smidra
Copy link
Contributor Author

Smidra commented Feb 9, 2024

Squashed to commit 8af479c

@VannTen
Copy link
Contributor

VannTen commented Feb 9, 2024

Hum that does not look right you should have only one commit after your squash.
(in a terminal, that would be git rebase -i master when on your PR branch, and then changing every line except the first from pick to fixup ( or squash if you want to modify the commit message). You'll then need to force push.

@Smidra
Copy link
Contributor Author

Smidra commented Feb 14, 2024

@VannTen How about this?

@VannTen
Copy link
Contributor

VannTen commented Feb 16, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 16, 2024
@k8s-ci-robot k8s-ci-robot merged commit 8d5091a into kubernetes-sigs:master Feb 16, 2024
65 checks passed
@mzaian mzaian mentioned this pull request Apr 26, 2024
dibi-codes pushed a commit to fino-digital/kubespray that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

Kubelet not starting with external cloud provider OpenStack on version 1.26.5
7 participants