Skip to content

task: Do not remove Quay container on exit#178

Open
ibazulic wants to merge 2 commits intoquay:mainfrom
ibazulic:stop-removing-quay-container-on-exit
Open

task: Do not remove Quay container on exit#178
ibazulic wants to merge 2 commits intoquay:mainfrom
ibazulic:stop-removing-quay-container-on-exit

Conversation

@ibazulic
Copy link
Copy Markdown
Member

When Quay container starts via the systemd unit, it gets automatically removed as a post-stop action. This causes problems when trying to diagnose startup issues, such as any validation errors. Logs are written in journal and can be pulled out by journalctl but sometimes it's just easier to call container logs instead. With this change, we set the removal of Quay container, if it exists, as an ExecStartPre action. This allows the container to persist after exiting for additional debugging.

When Quay container starts via the systemd unit, it gets automatically removed as a post-stop action. This causes problems when trying to diagnose startup issues, such as any validation errors. Logs are written in journal and can be pulled out by `journalctl` but sometimes it's just easier to call container logs instead.
With this change, we set the removal of Quay container, if it exists, as an `ExecStartPre` action. This allows the container to persist after exiting for additional debugging.
Copy link
Copy Markdown
Contributor

@harishsurf harishsurf left a comment

Choose a reason for hiding this comment

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

lgtm

@harishsurf harishsurf added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Nov 26, 2024
@ibazulic ibazulic enabled auto-merge (squash) December 2, 2024 17:09
@ibazulic ibazulic requested a review from harishsurf December 10, 2024 16:20
@ibazulic ibazulic disabled auto-merge December 10, 2024 16:20
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 18, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 18, 2026

PR needs rebase.

Details

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-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Development

Successfully merging this pull request may close these issues.

2 participants