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
Include journald in compilation path to log to systemd journal #7899
Comments
@grassdionera, thank you for getting in touch! Sorry, you are having issues. Do you have a version with which logging to journald works for you? If so, then which one was the last working one? This most likely is a regression. As such, I am trying to establish with which release it was introduced. |
it was working with the version 1.28.2~0 from |
yeah this would be a difference in the conmon version. when we build conmon statically we don't include the journald libraries in. are you able to use the conmon from kubic for now? you may need to edit the crio configuration to point to the right conmon. |
yes installing the
is working again as expected and is a good temporäry workaround. thanks. |
A friendly reminder that this issue had no activity for 30 days. |
will you change your builds to include the journald libraries? |
/remove-lifecycle stale |
/assign haircommander |
That's a conmon build thing: https://github.com/containers/conmon/blob/e21e7c85b7637e622f21c57675bf1154fc8b1866/src/ctr_logging.c#L134-L136 We have no support for systemd in conmon right now. |
What happened?
switching to new packaging pkgs.k8s.io with Ubuntu 22.04 and having
log_to_journald set to true
breaks all containers with the errorsall containers, are Stuck in CreateContainerErrror
What did you expect to happen?
Container should be created normaly like with the old opensuse Packaging and logging to journal should be possible
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
we testet all version of crio within the new packaging, and it happens to all of them
we removed the old dependencies conmon, containers-common, libgpgme11 and cri-o-runc and also tried a full reinstall. but nothing changed
CRI-O and Kubernetes version
OS version
Additional environment details (AWS, VirtualBox, physical, etc.)
The text was updated successfully, but these errors were encountered: