有人能帮我解决这个问题吗?我正在尝试安装 Ceilometer。我已经安装了 Gnocchi。当我尝试重新启动 Ceilometer-agent-notification 服务时,显示以下消息:
tail -f /var/log/ceilometer/ceilometer-agent-notification.log
2020-09-13 21:34:12.369 11761 WARNING stevedore.named [-] Could not load panko
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base [-] Unable to load publisher panko://: stevedore.exception.NoMatches: No 'ceilometer.event.publisher' driver found, looking for 'panko'
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base Traceback (most recent call last):
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/ceilometer/pipeline/base.py", line 124, in __init__
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base self.publishers.append(publisher_manager.get(p))
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/ceilometer/pipeline/base.py", line 179, in get
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base 'ceilometer.%s.publisher' % self._purpose)
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/ceilometer/publisher/__init__.py", line 35, in get_publisher
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base loaded_driver = driver.DriverManager(namespace, parse_result.scheme)
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base warn_on_missing_entrypoint=warn_on_missing_entrypoint
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base self._init_plugins(extensions)
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base (self.namespace, name))
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base stevedore.exception.NoMatches: No 'ceilometer.event.publisher' driver found, looking for 'panko'
2020-09-13 21:34:12.370 11761 ERROR ceilometer.pipeline.base
有什么办法可以帮我吗?提前谢谢
答案1
Panko 是事件的存储设备,就像 Gnocchi 是样本的存储设备一样。看起来您的 Ceilometer 配置想要将事件发布到 Panko,但 Panko 尚未安装。
安装 Panko 或从 /etc/ceilometer 下的管道文件中删除对 Panko 的引用。