From: Gary Kotton Date: Sat, 11 Aug 2012 16:58:18 +0000 (-0400) Subject: In some cases device check causes an exception X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=77c90dbc960b0736a13d54f80b42f8a24667d627;p=openstack-build%2Fneutron-build.git In some cases device check causes an exception Fixes bug 1035669 Check the stderr in addition to checking the return codes. Change-Id: I05e469302bc502b540b0c4af5fbd9c712a9bd309 --- diff --git a/quantum/agent/linux/utils.py b/quantum/agent/linux/utils.py index bb218a0ab..70f09414f 100644 --- a/quantum/agent/linux/utils.py +++ b/quantum/agent/linux/utils.py @@ -23,7 +23,9 @@ import os import shlex import socket import struct -import subprocess + +from eventlet.green import subprocess + LOG = logging.getLogger(__name__)