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

Issue with oci-onm-mgmt-agent-0 Pod: Fluentd Configuration Error #101

Open
arunreddy00 opened this issue Jan 2, 2025 · 1 comment
Open

Comments

@arunreddy00
Copy link

Hi Team,

I am encountering an issue with the oci-onm-mgmt-agent-0 pod deployed using the OCI Analytics Helm chart. While all other pods are running as expected, this particular pod fails to start correctly. Upon inspecting the logs, I identified the issue to be related to Fluentd.

Below is the error message from the pod logs:

bundler: failed to load command: fluentd (/fluentd/vendor/bundle/ruby/3.3.0/bin/fluentd)
/fluentd/vendor/bundle/ruby/3.3.0/bundler/gems/fluentd-a53c755d3493/lib/fluent/config.rb:43:in `initialize': No such file or directory @ rb_sysopen - /fluentd/etc/fluent.conf (Errno::ENOENT)
        from /fluentd/vendor/bundle/ruby/3.3.0/bundler/gems/fluentd-a53c755d3493/lib/fluent/config.rb:43:in `open'
        from /fluentd/vendor/bundle/ruby/3.3.0/bundler/gems/fluentd-a53c755d3493/lib/fluent/config.rb:43:in `build'
        from /fluentd/vendor/bundle/ruby/3.3.0/bundler/gems/fluentd-a53c755d3493/lib/fluent/supervisor.rb:682:in `setup_global_logger'
        ...
        from /fluentd/vendor/bundle/ruby/3.3/bin/bundle:25:in `<main>'

Observations:

  • It seems that the Fluentd configuration file (/fluentd/etc/fluent.conf) is missing or not properly mounted.
  • This is likely causing the Fluentd process to fail during initialization.

Request:

Could you please help me resolve this issue? Specifically:

  1. How can I ensure the Fluentd configuration file is correctly set up or mounted in the pod?
  2. Is there a specific configuration in the Helm chart that needs to be updated to fix this?
@santhoshkvuda
Copy link
Member

oci-onm-mgmt-agent-0 => this uses OCI Management Agent, so you have to use Agent Image instead of Fluentd Image. If the customer is using oci-onm chart to deploy the whole solution, then the images are already mentioned in the values.yaml properly. If that is not followed, need further details on how you are trying to install/setup the charts so that we should be able to guide you properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants