Merge "Change the engine-listener topic"
This commit is contained in:
commit
1537128dd1
@ -228,7 +228,8 @@ class EngineListener(service.Service):
|
||||
def start(self):
|
||||
super(EngineListener, self).start()
|
||||
self.target = messaging.Target(
|
||||
server=self.host, topic=self.engine_id)
|
||||
server=self.engine_id,
|
||||
topic="heat-engine-listener")
|
||||
server = rpc_messaging.get_rpc_server(self.target, self)
|
||||
server.start()
|
||||
|
||||
|
@ -39,7 +39,9 @@ class StackLock(object):
|
||||
|
||||
@staticmethod
|
||||
def engine_alive(context, engine_id):
|
||||
client = rpc_messaging.get_rpc_client(version='1.0', topic=engine_id)
|
||||
client = rpc_messaging.get_rpc_client(
|
||||
version='1.0', topic="heat-engine-listener",
|
||||
server=engine_id)
|
||||
client_context = client.prepare(
|
||||
timeout=cfg.CONF.engine_life_check_timeout)
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user