You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/10/14 16:12:44 UTC

git commit: Consider instances is terminated if the node id is null

Repository: stratos
Updated Branches:
  refs/heads/master da2c79205 -> a2c62001f


Consider instances is terminated if the node id is null


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/a2c62001
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/a2c62001
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/a2c62001

Branch: refs/heads/master
Commit: a2c62001fc4c2efead8794f832cc451d9480da79
Parents: da2c792
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Tue Oct 14 19:42:16 2014 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Tue Oct 14 19:42:16 2014 +0530

----------------------------------------------------------------------
 .../stratos/cloud/controller/impl/CloudControllerServiceImpl.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/a2c62001/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl.java
index 3e3f375..6189830 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl.java
@@ -531,6 +531,9 @@ public class CloudControllerServiceImpl implements CloudControllerService {
                     String msg =
                                  "Termination failed. Cannot find a node id for Member Id: " +
                                          memberId;
+
+                    // log information
+                    logTermination(ctxt);
                     LOG.error(msg);
                     throw new InvalidMemberException(msg);
                 }