ceilometer event publisher not working with file driver

asked 2019-04-10 05:36:17 -0500

Cristi Falcas gravatar image

updated 2019-04-10 05:39:37 -0500

It seems I can't use the file publisher for events

This is the event_pipeline.yaml file:

    ---
    sources:
    - name: event_source
        events:
        - "*"
        sinks:
        - event_sink
    sinks:
    - name: event_sink
        publishers:
        # - notifier://?topic=alarm.all
        - file:///var/log/ceilometer/cucu.log

And the error I get in ceilometer:

    2019-04-10 10:23:58.295 11122 INFO ceilometer.pipeline.base [-] detected decoupled pipeline config format
    2019-04-10 10:23:58.296 11122 INFO ceilometer.pipeline.base [-] file:///var/log/ceilometer/cucu.log
    2019-04-10 10:23:58.297 11122 WARNING stevedore.named [-] Could not load file
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base [-] Unable to load publisher file:///var/log/ceilometer/cucu.log: stevedore.exception.NoMatches: No 'ceilometer.event.publisher' driver found, looking for 'file'
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base Traceback (most recent call last):
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/ceilometer/pipeline/base.py", line 182, in __init__
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     self.publishers.append(publisher_manager.get(p))
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/ceilometer/pipeline/base.py", line 272, in get
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     'ceilometer.%s.publisher' % self._purpose)
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/ceilometer/publisher/__init__.py", line 35, in get_publisher
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     loaded_driver = driver.DriverManager(namespace, parse_result.scheme)
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     warn_on_missing_entrypoint=warn_on_missing_entrypoint
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     self._init_plugins(extensions)
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base     (self.namespace, name))
    2019-04-10 10:23:58.297 11122 ERROR ceilometer.pipeline.base stevedore.exception.NoMatches: No 'ceilometer.event.publisher' driver found, looking fo
edit retag flag offensive close merge delete