Comment 0 for bug 1696905

Revision history for this message
Sanchit Malhotra (isanchitm) wrote :

When Ceilometer Middleware is integrated with SWIFT, some of user requests hangs at ceilometer level.

When we debugged firther, to identify where the requests are stuck, it is observed that the following call of oslo_messaging Notifier class does not return.

{code}
 47 import oslo_messaging
....
121 self._notifier = oslo_messaging.Notifier(
122 oslo_messaging.get_transport(cfg.CONF, url=conf.get('url')),
123 publisher_id='ceilometermiddleware',
124 driver=conf.get('driver', 'messagingv2'),
125 topic=conf.get('topic', 'notifications'))
126
....
283
284 self._notifier.info(context.get_admin_context().to_dict(),
285 'objectstore.http.request', event.as_dict())
286
{code}

the call "self._notifier.info" does not return in some case and due to this, the user requests are stuck indefinitely.

It is confirmed that there is no problem with RabbitMQ server or ceilometer server as both of them are accessible from other SWIFT cluster at the time problem is observed on different setup.