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):