Multiple rabbit hosts with swift ceilometer filter

asked 2015-05-24 21:44:24 -0500

Elextro gravatar image

I'm looking through the "Configure the Object Storage Service" docs for ceilometer and have noticed the addition of the url directive in the [filter:ceilometer] section of the proxy-server config. http://docs.openstack.org/kilo/install-guide/install/apt/content/ceilometer-swift.html (http://docs.openstack.org/kilo/instal...)

Is there any way to specify multiple rabbit hosts? Or maybe I didn't ask the question correctly due to my lack of understanding of the directive. Any help is appreciated!

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-27 15:41:22 -0500

The Ceilometer middleware for Swift uses oslo.messaging under the hood. Specifically, it takes the url config option and calls oslo_messaging.get_transport, which accepts the following format:

transport://user:pass@host1:port[,hostN:portN]/virtual_host

This is described in detail in the http://docs.openstack.org/developer/oslo.messaging/transport.html (oslo.messaging documentation). For your example, you would configure the Ceilometer filter like so:

[filter:ceilometer]
paste.filter_factory = ceilometermiddleware.swift:filter_factory
control_exchange = swift
url = rabbit://user:password@controller1:5672,controller2:5672,controller:5672/vhost
driver = messagingv2
topic = notifications
log_level = WARN
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-05-24 21:44:24 -0500

Seen: 149 times

Last updated: May 24 '15