Skip to content

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

@arunreddy00

Description

@arunreddy00

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions