incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1104617 - /incubator/tashi/trunk/src/tashi/agents/primitive.py
Date Tue, 17 May 2011 22:58:01 GMT
Author: stroucki
Date: Tue May 17 22:58:01 2011
New Revision: 1104617

URL: http://svn.apache.org/viewvc?rev=1104617&view=rev
Log:
primitive: Log something when a VM exits

Modified:
    incubator/tashi/trunk/src/tashi/agents/primitive.py

Modified: incubator/tashi/trunk/src/tashi/agents/primitive.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/agents/primitive.py?rev=1104617&r1=1104616&r2=1104617&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/agents/primitive.py (original)
+++ incubator/tashi/trunk/src/tashi/agents/primitive.py Tue May 17 22:58:01 2011
@@ -182,6 +182,7 @@ class Primitive(object):
 					# XXXstroucki what about paused and saved VMs?
 					# XXXstroucki: do we need to look at Held VMs here?
 					if (i not in self.instances and oldInstances[i].state == InstanceState.Running):
+						self.log.info("VM exited: %s" % (oldInstances[i].name))
 						for hook in self.hooks:
 							hook.postDestroy(oldInstances[i])
 



Mime
View raw message