keystone showing error when you change the database from mongodb to mysql for ceilometer

Asked by saad sheheryar

hey all, i am using fuel in HA mode. in my setup i am not using mongodb as my database. so the health checks relating to ceilometer fails. after checking the ceilometer i found that the ceilometer looks for mongodb for database. since i am not using mongodb nodes, i tried changing the database to mysql in ceilometer configuration files. for that i have changed connection in [database] label from mongodb to mysql /etc/ceilometer/ceilometer.conf. exact changes are as follows

(old)connection=mongodb://ceilometer:8MMvstuP@/ceilometer
(new)connection=mysql://ceilometer:8MMvstuP@/ceilometer

after that i am getting the keystone error. health checks show " keystone client is not available. please refer to openstack logs to fix the problem"

in ceilometer-collector log i am getting the following error
Exception during message handling
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher Traceback (most recent call last):
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.6/site-packages/oslo/messaging/notify/dispatcher.py", line 85, in _dispatch_and_handle_error
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher return self._dispatch(incoming.ctxt, incoming.message)
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.6/site-packages/oslo/messaging/notify/dispatcher.py", line 121, in _dispatch
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher metadata)
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.6/site-packages/ceilometer/collector.py", line 129, in sample
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher data=payload)
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 244, in map_method
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher method_name, *args, **kwds)
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher File "/usr/lib/python2.6/site-packages/stevedore/extension.py", line 214, in map
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher raise RuntimeError('No %s extensions found' % self.namespace)
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher RuntimeError: No ceilometer.dispatcher extensions found
2015-02-10 07:47:00.730 4246 TRACE oslo.messaging.notify.dispatcher

what would be the problem here ?

Question information

Language:
English Edit question
Status:
Expired
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabrizio Soppelsa (fsoppelsa) said :
#1

Greetings Saad,

which version of Fuel are you reporting this fault from? I suspect this is a bug and I will file one. But I need to understand which one version you're running on.

Best regards,
Fabrizio
Mirantis Fuel Team

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.