Skip to content

quadlet kube: consider empty pod as running #25796

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Apr 4, 2025

Since commit 945aade we do tear down the kube units if all pods failed to start. This however broke the use case of an empty pod as we did not consider that being starting successfully which is wrong and caused a regression for at least one user.

To fix this special case the empty pod and consider that running.

Fixes: #25786
Fixes: 945aade ("quadlet kube: correctly mark unit as failed")

Does this PR introduce a user-facing change?

None

Copy link
Contributor

openshift-ci bot commented Apr 4, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2025
@Luap99
Copy link
Member Author

Luap99 commented Apr 4, 2025

cc @ygalblum

@mheon In case we plan for another 5.4 release this should be backported.

Since commit 945aade we do tear down the kube units if all pods
failed to start. This however broke the use case of an empty pod as we
did not consider that being starting successfully which is wrong and
caused a regression for at least one user.

To fix this special case the empty pod and consider that running.

Fixes: containers#25786
Fixes: 945aade ("quadlet kube: correctly mark unit as failed")

Signed-off-by: Paul Holzinger <[email protected]>
@mheon
Copy link
Member

mheon commented Apr 4, 2025

LGTM

@mheon
Copy link
Member

mheon commented Apr 4, 2025

Probably no 5.4.3 planned though. We're starting RCs of 5.5 in 2 weeks.

@ygalblum
Copy link
Contributor

ygalblum commented Apr 8, 2025

LGTM, what should we do with the failing tests?

@mheon
Copy link
Member

mheon commented Apr 8, 2025

Flakes, restarted both

@mheon
Copy link
Member

mheon commented Apr 8, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 8, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit fd8ed0b into containers:main Apr 8, 2025
75 checks passed
@Luap99 Luap99 deleted the kube-pod-empty branch April 8, 2025 14:26
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jul 8, 2025
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jul 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

systemd service pod fails to start after update to v5.4.1
3 participants