Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Getting error: BUG: both type and conf are not specified (ArgumentError) #626

Open
adamcheney opened this issue Mar 25, 2019 · 5 comments
Open
Labels

Comments

@adamcheney
Copy link

I'm trying to use a storage plugin within the systemd plugin (https://github.com/reevoo/fluent-plugin-systemd). My conf looks like this:

    <source>
      @type systemd
      tag kubelet
      path /var/log/journal
      matches [{ "_SYSTEMD_UNIT": "kubelet.service" }]
      read_from_head true
      <storage kubeletpos>
        @type local
      </storage>
      <entry>
        fields_strip_underscores true
        fields_lowercase true
      </entry>
    </source>

The error I get is:

/var/lib/gems/2.3.0/gems/fluentd-1.3.2/lib/fluent/plugin_helper/storage.rb:54:in `storage_create': BUG: both type and conf are not specified (ArgumentError)

But, type is specified, right?

@flixr
Copy link

flixr commented Apr 25, 2019

Running into the same problem here... @adamcheney did you figure out a solution?

@repeatedly
Copy link
Member

It seems <storage kubeletpos>'s argument causes a problem.
Using <storage> is temporal solution.

@repeatedly repeatedly added the bug label Apr 25, 2019
@flixr
Copy link

flixr commented Apr 25, 2019

Thanks, that seems to work.

@repeatedly
Copy link
Member

This seems a regression. We will fix the problem

@adamcheney
Copy link
Author

adamcheney commented Apr 27, 2019 via email

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

No branches or pull requests

3 participants