From 1503e0505e3f79c48bf614eb7424281325a6ef91 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Mon, 26 Mar 2018 12:02:42 -0400 Subject: [PATCH] call celery method with celery context * Tracebacks are more informative this way. --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index fc8fd6e4cc..c47101b988 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -180,7 +180,7 @@ def apply_cluster_membership_policies(self): g.instances.append(i.obj.id) g.obj.instances.add(i.obj) i.groups.append(g.obj.id) - handle_ha_toplogy_changes() + handle_ha_toplogy_changes.apply([]) @shared_task(queue='tower_broadcast_all', bind=True, base=LogErrorsTask)