incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1370613 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
Date Wed, 08 Aug 2012 00:29:17 GMT
Author: stroucki
Date: Wed Aug  8 00:29:17 2012
New Revision: 1370613

URL: http://svn.apache.org/viewvc?rev=1370613&view=rev
Log:
qemu: we've not included subprocess in our namespace, so add those in. Somehow the error message
got put into the transport cookie, and that blocked migrations...

Modified:
    incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py

Modified: incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py?rev=1370613&r1=1370612&r2=1370613&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py Wed Aug  8 00:29:17 2012
@@ -733,7 +733,7 @@ class Qemu(VmControlInterface):
 
 	def __checkPortListening(self, port):
 		# XXXpipe: find whether something is listening yet on the port
-		p = subprocess.Popen("netstat -ln | grep 0.0.0.0:%d | wc -l" % (port), shell = True, stdin
= PIPE, stdout = PIPE, close_fds = True)
+		p = subprocess.Popen("netstat -ln | grep 0.0.0.0:%d | wc -l" % (port), shell = True, stdin
= subprocess.PIPE, stdout = subprocess.PIPE, close_fds = True)
 		(stdin, stdout) = (p.stdin, p.stdout)
 		stdin.close()
 		r = stdout.read()



Mime
View raw message