You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by st...@apache.org on 2011/05/13 04:19:49 UTC

svn commit: r1102559 - in /incubator/tashi: branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py trunk/src/tashi/nodemanager/nodemanagerservice.py

Author: stroucki
Date: Fri May 13 04:19:48 2011
New Revision: 1102559

URL: http://svn.apache.org/viewvc?rev=1102559&view=rev
Log:
nodemanagerservice: remove extra acquisition of CM handle

Modified:
    incubator/tashi/branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py
    incubator/tashi/trunk/src/tashi/nodemanager/nodemanagerservice.py

Modified: incubator/tashi/branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py
URL: http://svn.apache.org/viewvc/incubator/tashi/branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py?rev=1102559&r1=1102558&r2=1102559&view=diff
==============================================================================
--- incubator/tashi/branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py (original)
+++ incubator/tashi/branches/stablefix/src/tashi/nodemanager/nodemanagerservice.py Fri May 13 04:19:48 2011
@@ -168,7 +168,6 @@ class NodeManagerService(object):
 			try:
 				host = self.vmm.getHostInfo(self)
 				instances = self.instances.values()
-				cm = ConnectionManager(self.username, self.password, self.cmPort)[self.cmHost]
 				self.id = cm.registerNodeManager(host, instances)
 			except Exception, e:
 				self.log.exception('Failed to register with the CM')

Modified: incubator/tashi/trunk/src/tashi/nodemanager/nodemanagerservice.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/nodemanager/nodemanagerservice.py?rev=1102559&r1=1102558&r2=1102559&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/nodemanagerservice.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/nodemanagerservice.py Fri May 13 04:19:48 2011
@@ -168,7 +168,6 @@ class NodeManagerService(object):
 			try:
 				host = self.vmm.getHostInfo(self)
 				instances = self.instances.values()
-				cm = ConnectionManager(self.username, self.password, self.cmPort)[self.cmHost]
 				self.id = cm.registerNodeManager(host, instances)
 			except Exception, e:
 				self.log.exception('Failed to register with the CM')