nodemanagerservice: correct hostId's when we get info for the CM

git-svn-id: https://svn.apache.org/repos/asf/incubator/tashi/trunk@1370640 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tashi/nodemanager/nodemanagerservice.py b/src/tashi/nodemanager/nodemanagerservice.py
index 3a6055e..32f319d 100755
--- a/src/tashi/nodemanager/nodemanagerservice.py
+++ b/src/tashi/nodemanager/nodemanagerservice.py
@@ -309,12 +309,18 @@
 	def __getInstance(self, vmId):
 		instance = self.instances.get(vmId, None)
 		if instance is not None:
+			# XXXstroucki: force to my own hostId here. Is this the
+			# right place?
+			instance.hostId = self.id
 			return instance
 
 		# refresh self.instances if not found
 		self.__loadVmInfo()
 		instance = self.instances.get(vmId, None)
 		if instance is not None:
+			# XXXstroucki: force to my own hostId here. Is this the
+			# right place?
+			instance.hostId = self.id
 			return instance