Merge "Don't heartbeat manually in the cloudkitty orchestrator"
This commit is contained in:
commit
7ef878ea34
|
@ -258,7 +258,7 @@ class Orchestrator(object):
|
|||
self.coord = coordination.get_coordinator(
|
||||
CONF.orchestrator.coordination_url,
|
||||
uuidutils.generate_uuid().encode('ascii'))
|
||||
self.coord.start()
|
||||
self.coord.start(start_heart=True)
|
||||
|
||||
def _lock(self, tenant_id):
|
||||
lock_name = b"cloudkitty-" + str(tenant_id).encode('ascii')
|
||||
|
@ -308,7 +308,6 @@ class Orchestrator(object):
|
|||
|
||||
lock.release()
|
||||
|
||||
self.coord.heartbeat()
|
||||
# NOTE(sheeprine): Slow down looping if all tenants are
|
||||
# being processed
|
||||
eventlet.sleep(1)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
cloudkitty-processor crashes which happened when using distributed
|
||||
tooz locks have been fixed.
|
Loading…
Reference in New Issue