From 9e6c604fc189f06e72880113632bad8f48f1e41f Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 6 Jul 2015 14:38:01 -0400 Subject: [PATCH] Remove extra output from doing a hard mongo shutdown. --- awx/main/tasks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 79f717e7d6..da798a59f2 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -145,9 +145,7 @@ def mongodb_control(cmd): if cmd == 'stop' and shutdown_failed: p = subprocess.Popen('sudo mongod --shutdown -f /etc/mongod.conf', shell=True) - out, err = p.communicate() p.wait() - logger.info("Shutdown command output: %s;%s" % (out, err)) @task(bind=True) def handle_work_error(self, task_id, subtasks=None):