ceilometer won't show ironic data

提问于 2014-10-30 03:26:18 -0600

sowrdking 图像

updated 2014-10-30 04:32:27 -0600

9lives 图像

Hi All,

I'm trying to send IPMI data to ceilometer, ceilometer now only show glance and cinder data. And my ironic command works fine.

But when I use ironic-api on controller node, it will said

/usr/local/lib/python2.7/dist-packages/pecan/__init__.py:110: RuntimeWarning: `static_root` is only used when `debug` is True, ignoring
  RuntimeWarning
2014-10-30 16:21:59.862 14016 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-10-30 16:21:59.863 14016 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-Z0FsdR as cache directory for signing certificate
2014-10-30 16:21:59.864 14016 CRITICAL ironic [-] [Errno 98] Address already in use

And when I use ironic-conductor, it will said

2014-10-30 16:22:13.852 14031 ERROR stevedore.extension [-] Could not load 'pxe_seamicro': PXEAndSeaMicroDriver
2014-10-30 16:22:13.852 14031 ERROR stevedore.extension [-] PXEAndSeaMicroDriver
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension Traceback (most recent call last):
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension     verify_requirements,
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/enabled.py", line 66, in _load_one_plugin
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension     verify_requirements,
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 179, in _load_one_plugin
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension     obj = plugin(*invoke_args, **invoke_kwds)
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/ironic/drivers/pxe.py", line 102, in __init__
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension     raise exception.DriverNotFound('PXEAndSeaMicroDriver')
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension DriverNotFound: PXEAndSeaMicroDriver
2014-10-30 16:22:13.852 14031 TRACE stevedore.extension
2014-10-30 16:22:13.853 14031 ERROR stevedore.extension [-] Could not load 'fake_seamicro': FakeSeaMicroDriver
2014-10-30 16:22:13.853 14031 ERROR stevedore.extension [-] FakeSeaMicroDriver
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension Traceback (most recent call last):
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension     verify_requirements,
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/enabled.py", line 66, in _load_one_plugin
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension     verify_requirements,
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 179, in _load_one_plugin
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension     obj = plugin(*invoke_args, **invoke_kwds)
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/ironic/drivers/fake.py", line 87, in __init__
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension     raise exception.DriverNotFound('FakeSeaMicroDriver')
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension DriverNotFound: FakeSeaMicroDriver
2014-10-30 16:22:13.853 14031 TRACE stevedore.extension

It seems ... (更多)

edit retag flag offensive close merge delete

Comments

Which driver are using for sending ipmi to ceilometer? looks like you are using the cutomized driver called "FakeSeaMicroDriver" which seemed does not exist. Make sure you are loading the right driver in setup.cfg or entry_point.txt.

Hope that helps!

9lives 图像9lives ( 2014-10-30 03:44:53 -0600 )edit

Hello, I have update my own question, please take a look at the settings. Thanks.

sowrdking 图像sowrdking ( 2014-10-30 04:02:40 -0600 )edit
0

回答 2014-10-30 04:23:01 -0600

9lives 图像

updated 2014-10-30 04:23:32 -0600

If you are using juno release, the impi driver by Intel should be shipped, they can be found in the entry_point.txt in ceilometer python egg.info folder like this.

...
ceilometer.poll.ipmi =
    hardware.ipmi.node.power = ceilometer.ipmi.pollsters.node:PowerPollster
    hardware.ipmi.node.temperature = ceilometer.ipmi.pollsters.node:TemperaturePollster
    hardware.ipmi.temperature = ceilometer.ipmi.pollsters.sensor:TemperatureSensorPollster
    hardware.ipmi.voltage = ceilometer.ipmi.pollsters.sensor:VoltageSensorPollster
    hardware.ipmi.current = ceilometer.ipmi.pollsters.sensor:CurrentSensorPollster
    hardware.ipmi.fan = ceilometer.ipmi.pollsters.sensor:FanSensorPollster
...
edit flag offensive delete link 更多

Comments

Hello, My project is based on Icehouse.

sowrdking 图像sowrdking ( 2014-10-30 04:32:03 -0600 )edit

ok, if it is icehouse the intel's ipmi driver might not be shipped, you might need to add your own drivers to do that. ceilometer uses stevedore plugin framework, you need to register your own driver first before you use them. for stevedore refer to http://stevedore.readthedocs.org/en/l... .

9lives 图像9lives ( 2014-10-30 04:36:10 -0600 )edit

Hello, I'll take a look at it. Thanks.

sowrdking 图像sowrdking ( 2014-10-30 04:48:30 -0600 )edit

提问工具

1 follower

统计

已提问: 2014-10-30 03:26:18 -0600

已查看: 820 次

最后更新: Oct 30 '14