incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1370063 - /incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py
Date Mon, 06 Aug 2012 23:37:29 GMT
Author: stroucki
Date: Mon Aug  6 23:37:28 2012
New Revision: 1370063

URL: http://svn.apache.org/viewvc?rev=1370063&view=rev
Log:
Merge branch 'newmachinestate'

Modified:
    incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py

Modified: incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py?rev=1370063&r1=1370062&r2=1370063&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py (original)
+++ incubator/tashi/trunk/src/tashi/clustermanager/data/fromconfig.py Mon Aug  6 23:37:28
2012
@@ -208,7 +208,7 @@ class FromConfig(DataInterface):
 
 		# this is a new host
 		_id = self.getNewId("hosts")
-		self.hosts[_id] = Host(d={'id':_id,'name':hostname,'state':HostState.Normal,'memory':memory,'cores':cores,'version':version})
+		self.hosts[_id] = Host(d={'id':_id,'name':hostname,'state':HostState.Normal,'memory':memory,'cores':cores,'version':version,
'up':False, 'decayed':False, 'notes':'', 'reserved':[]})
 		self.save()
 		self.hostLock.release()
 		return _id, False



Mime
View raw message