Remove uses of rpc_backend (oslo_config)
As rpc_backend config option has been removed from oslo_config [1], projects should not use it. Current uses of it cause watcher crash when installing via devstack. [1] https://review.openstack.org/#/c/580910/ Change-Id: Iba7471e87e8935f1ea02b363f269e9debdc7cc71
This commit is contained in:
parent
05055b7064
commit
f41adc7e8b
@ -239,10 +239,6 @@ so that the watcher service is configured for your needs.
|
|||||||
|
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
|
|
||||||
# The messaging driver to use, defaults to rabbit. Other drivers
|
|
||||||
# include qpid and zmq. (string value)
|
|
||||||
#rpc_backend = rabbit
|
|
||||||
|
|
||||||
# The default exchange under which topics are scoped. May be
|
# The default exchange under which topics are scoped. May be
|
||||||
# overridden by an exchange name specified in the transport_url
|
# overridden by an exchange name specified in the transport_url
|
||||||
# option. (string value)
|
# option. (string value)
|
||||||
|
@ -265,8 +265,7 @@ class Service(service.ServiceBase):
|
|||||||
allow_requeue=False, pool=CONF.host)
|
allow_requeue=False, pool=CONF.host)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
LOG.debug("Connecting to '%s' (%s)",
|
LOG.debug("Connecting to '%s'", CONF.transport_url)
|
||||||
CONF.transport_url, CONF.rpc_backend)
|
|
||||||
if self.conductor_topic_handler:
|
if self.conductor_topic_handler:
|
||||||
self.conductor_topic_handler.start()
|
self.conductor_topic_handler.start()
|
||||||
if self.notification_handler:
|
if self.notification_handler:
|
||||||
@ -275,8 +274,7 @@ class Service(service.ServiceBase):
|
|||||||
self.heartbeat.start()
|
self.heartbeat.start()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
LOG.debug("Disconnecting from '%s' (%s)",
|
LOG.debug("Disconnecting from '%s'", CONF.transport_url)
|
||||||
CONF.transport_url, CONF.rpc_backend)
|
|
||||||
if self.conductor_topic_handler:
|
if self.conductor_topic_handler:
|
||||||
self.conductor_topic_handler.stop()
|
self.conductor_topic_handler.stop()
|
||||||
if self.notification_handler:
|
if self.notification_handler:
|
||||||
|
Loading…
Reference in New Issue
Block a user