Remove extra output from doing a hard mongo shutdown.

This commit is contained in:
Matthew Jones 2015-07-06 14:38:01 -04:00
parent fc2ed6fd83
commit 9e6c604fc1

View File

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