Prevent a crash loop caused by upstream changes#237
Prevent a crash loop caused by upstream changes#237ejweber wants to merge 2 commits intokubernetes-csi:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ejweber 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 @ejweber! |
|
Hi @ejweber. Thanks for your PR. I'm waiting for a kubernetes-csi 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/test-infra repository. |
f8c8cc4 Merge pull request kubernetes-csi#237 from msau42/prow b36b5bf Merge pull request kubernetes-csi#240 from dannawang0221/upgrade-go-version adfddcc Merge pull request kubernetes-csi#243 from pohly/git-subtree-pull-fix c465088 pull-test.sh: avoid "git subtree pull" error 7b175a1 Update csi-test version to v5.2.0 987c90c Update go version to 1.21 to match k/k 2c625d4 Add script to generate patch release notes git-subtree-dir: release-tools git-subtree-split: f8c8cc4
|
/ok-to-test |
…update-master Update dependency go modules for k8s v1.29.0
csi-lib-utils.Connect now times out and returns an error after 30 seconds by default. If the CSI plugin we are connecting to is unavailable during livenessprobe initialization, livenessprobe will crash and potentially enter a crash loop. If the backoff on both the CSI plugin and livenessprobe becomes large, the situation is unrecoverable. Configure the timeout of the csi-lib-utils.Connect function and remove acquireConnection since the upstream changes have made it obselete. Signed-off-by: Eric Weber <eric.weber@suse.com>
3b2f368 to
0ec40d8
Compare
|
There is a competing PR in #240 that takes a similar, but improved approach. It is driven by an official maintainer, so it has a good chance of success. Closing this one in favor of that one. |
Add script to generate patch release notes
What type of PR is this?
/kind bug
What this PR does / why we need it:
See #236 and longhorn/longhorn#7116 for a complete analysis.
Now that csi-lib-utils.Connect returns after a configurable 30 second timeout:
Which issue(s) this PR fixes:
Fixes #236
Special notes for your reviewer:
Does this PR introduce a user-facing change?: