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

[Backport release-1.27] Make k0s reset fail if it can't reach containerd #4606

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented Jun 12, 2024

Automated backport to release-1.27, triggered by a label in #4590.
See #4560.

@k0s-bot k0s-bot requested a review from a team as a code owner June 12, 2024 12:32
@k0s-bot k0s-bot requested review from kke and twz123 June 12, 2024 12:32
@twz123 twz123 changed the title [Backport release-1.27] [Backport release-1.28] Make k0s reset fail if it can't reach containerd [Backport release-1.27] Make k0s reset fail if it can't reach containerd Jun 12, 2024
Prior to this commit, if the containerd unix socket wasn't listening
grpc.Dial would try to connect forever.

This commit establishes the connection in the background and the actual
call will fail if it has to.

Also we implement a single context for all the operations so that we can
cancel the execution with control c.

Co-authored-by: Tom Wieczorek <twz123@users.noreply.github.com>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
(cherry picked from commit 4e7b82a)
(cherry picked from commit f243680)
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
(cherry picked from commit 4dc714d)
(cherry picked from commit fde947c)
@twz123 twz123 force-pushed the backport-4590-to-release-1.27 branch from 5c0bd0d to 0533b6a Compare June 17, 2024 13:28
@twz123 twz123 added bug Something isn't working area/cli labels Jun 18, 2024
@twz123 twz123 merged commit 484b382 into release-1.27 Jun 18, 2024
70 checks passed
@twz123 twz123 deleted the backport-4590-to-release-1.27 branch June 18, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants