Repository: stratos
Updated Branches:
  refs/heads/master 82e50a897 -> 99d48ab98


adding warning when there is no partition available in order to scale-up


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

Branch: refs/heads/master
Commit: 99d48ab98ad3223720b7e75b90cf6684bc89c3aa
Parents: d1f6cb5
Author: reka <[email protected]>
Authored: Wed Jun 24 15:34:09 2015 +0530
Committer: reka <[email protected]>
Committed: Wed Jun 24 15:34:26 2015 +0530

----------------------------------------------------------------------
 .../modules/distribution/src/main/conf/drools/scaling.drl       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/99d48ab9/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl
----------------------------------------------------------------------
diff --git 
a/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl 
b/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl
index b9258e7..e6f8f67 100644
--- a/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl
+++ b/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl
@@ -186,7 +186,10 @@ dialect "mvel"
                             count++;
                         } else {
 
-                            log.debug("[scale-up] No partition available!, 
[cluster] " + clusterId);
+                            log.warn("[scale-up] No more partition available 
even though " +
+                             "cartridge-max is not reached!, [cluster] " + 
clusterId +
+                            " Please update deployment-policy with new 
partitions or with higher " +
+                             "partition-max");
                             partitionsAvailable = false;
                         }
                     }

Reply via email to