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

LOG-4532: Install journalctl into Docker image #153

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

xperimental
Copy link

This PR installs the systemd package into the resulting Docker image, so that the journalctl tool is available again.

Currently the following error message can be observed in OpenShift Logging when running vector as the collector in 5.8:

ERROR source{component_kind="source" component_id=raw_journal_logs component_type=journald component_name=raw_journal_logs}: vector::internal_events::journald: Error starting journalctl process. error=journalctl failed to execute: No such file or directory (os error 2) error_type="command_failed" stage="receiving" internal_log_rate_limit=true

Refs https://issues.redhat.com/browse/LOG-4532

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 25, 2023

@xperimental: This pull request references LOG-4532 which is a valid jira issue.

In response to this:

This PR installs the systemd package into the resulting Docker image, so that the journalctl tool is available again.

Currently the following error message can be observed in OpenShift Logging when running vector as the collector in 5.8:

ERROR source{component_kind="source" component_id=raw_journal_logs component_type=journald component_name=raw_journal_logs}: vector::internal_events::journald: Error starting journalctl process. error=journalctl failed to execute: No such file or directory (os error 2) error_type="command_failed" stage="receiving" internal_log_rate_limit=true

Refs https://issues.redhat.com/browse/LOG-4532

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/test-infra repository.

@openshift-ci
Copy link

openshift-ci bot commented Sep 25, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: xperimental
Once this PR has been reviewed and has the lgtm label, please assign vimalk78 for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@syedriko syedriko merged commit 6ab0df1 into ViaQ:release-5.8 Sep 26, 2023
@syedriko
Copy link

/lgtm

@xperimental xperimental deleted the fix-journalctl branch September 26, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants