incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1339348 - /incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py
Date Wed, 16 May 2012 20:32:42 GMT
Author: stroucki
Date: Wed May 16 20:32:41 2012
New Revision: 1339348

URL: http://svn.apache.org/viewvc?rev=1339348&view=rev
Log:
clustermanagerservice: log desired state, not previous state in CM VM UPDATE

Modified:
    incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py

Modified: incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py?rev=1339348&r1=1339347&r2=1339348&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py (original)
+++ incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py Wed May 16 20:32:41
2012
@@ -638,7 +638,10 @@ class ClusterManagerService(object):
 
 		self.instanceLastContactTime[instanceId] = self.__now()
 		oldInstance.decayed = False
-		self.__ACCOUNT("CM VM UPDATE", instance=oldInstance)
+
+		displayInstance = oldInstance
+		self.__stateTransition(displayInstance, None, instance.state)
+		self.__ACCOUNT("CM VM UPDATE", instance=displayInstance)
 
 		if (instance.state == InstanceState.Exited):
 			# determine why a VM has exited



Mime
View raw message