Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5F39107A0 for ; Sun, 14 Dec 2014 13:07:27 +0000 (UTC) Received: (qmail 79701 invoked by uid 500); 14 Dec 2014 13:07:27 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 79646 invoked by uid 500); 14 Dec 2014 13:07:27 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 79636 invoked by uid 99); 14 Dec 2014 13:07:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2014 13:07:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dakshika@wso2.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2014 13:07:01 +0000 Received: by mail-la0-f51.google.com with SMTP id ms9so8161228lab.38 for ; Sun, 14 Dec 2014 05:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=oT2J+3Rbe7Wq4AFDYRsGt5g4k3n51s8FRtZIZEZ4yvQ=; b=K1ACkT5oHqEoyEkjiz9hW1NVQNq7mRGT9r1DR/KmYww4krt9kntvimKsQ9xY+ebqGy j1woAOhksx3ubm6SV+JY6htt33k0g1cxNN5euDAG/5ySQbyTtntZ1OIUju7xZi+iogj4 bdIwKwkd7JHaPsXhP2Vgrk6Xsbl66DM/B3ROI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=oT2J+3Rbe7Wq4AFDYRsGt5g4k3n51s8FRtZIZEZ4yvQ=; b=EJlDK5f/HpLJ9ESjOkxn6jX5RRu+wyxvlE0UK+eTfFqIzRf6IeW1fZpqa2n+mIacAY +Xdk5hgZNNYb2/oo6MmHmBEl04LThDTYN+bxWWDAWHBvdkaTlte/TW7f3aTx1+O6DKKC GCb+uKt21tNbbTSpeqTWrF99nAlGl3Tqe9NkTVZLv/6WlrE9r+TGmDopPzWXVHYfQ3Sd n5UAw7JfiYlXBV8xr+NOZQZ2jUviq1+9+n/qoaQ9/hf57nPHhnDwXxViLXRHWS6Wawuv jbNpJr5MD/cse/gbRSYvdJhmdNvPItO14WF77paU8LyXa9wXV6eoChK2YnEKDjfHlw7x 5QCQ== X-Gm-Message-State: ALoCoQnfbOJ4yWS20RSA1Mx3ekPtkgN8thEG5n8NtC9uM8oQICo+h8kU3X8R7fAhOTKM4EI54J6m X-Received: by 10.152.36.165 with SMTP id r5mr24915008laj.93.1418562374271; Sun, 14 Dec 2014 05:06:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.213.80 with HTTP; Sun, 14 Dec 2014 05:05:54 -0800 (PST) From: Dakshika Jayathilaka Date: Sun, 14 Dec 2014 18:35:54 +0530 Message-ID: Subject: Application deployment [deployment-policy-id] return null on 4.1.0-test branch To: dev Content-Type: multipart/alternative; boundary=089e0158cab66909c6050a2cca07 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158cab66909c6050a2cca07 Content-Type: text/plain; charset=UTF-8 Hi Devs, when i try to do application deployment i'm getting below info logs. [2014-12-14 18:29:45,673] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Starting to deploy application: [application-id] app_group_v1 *[deployment-policy-id] null* [2014-12-14 18:29:45,679] INFO {org.apache.stratos.autoscaler.pojo.policy.PolicyManager} - Deployment policy is deployed successfully: [id] app_group_v1-8151393899819408994 [2014-12-14 18:29:45,679] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating partitions of policy via cloud controller: [cartridge-type] tomcat [2014-12-14 18:29:45,694] INFO {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} - All partitions [P1] were validated successfully, against the Cartridge: tomcat [2014-12-14 18:29:45,696] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating partitions of policy via cloud controller: [cartridge-type] tomcat1 [2014-12-14 18:29:45,704] INFO {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} - All partitions [P1] were validated successfully, against the Cartridge: tomcat1 [2014-12-14 18:29:45,706] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating partitions of policy via cloud controller: [cartridge-type] tomcat2 [2014-12-14 18:29:45,714] INFO {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} - All partitions [P1] were validated successfully, against the Cartridge: tomcat2 [2014-12-14 18:29:45,716] INFO {org.apache.stratos.autoscaler.api.AutoScalerServiceImpl} - The application Monitor has already been created for [Application] app_group_v1 [2014-12-14 18:29:45,717] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application deployed successfully: [application-id] app_group_v1* [deployment-policy-id] null* Seems * [deployment-policy-id] set to null? *Is this correct? Thank you *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 --089e0158cab66909c6050a2cca07 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Devs,

when i try to do application d= eployment i'm getting below info logs.=C2=A0

<= div>[2014-12-14 18:29:45,673] =C2=A0INFO {org.apache.stratos.rest.endpoint.= api.StratosApiV41Utils} - =C2=A0Starting to deploy application: [applicatio= n-id] app_group_v1 [deployment-policy-id] null
[2014-12-14= 18:29:45,679] =C2=A0INFO {org.apache.stratos.autoscaler.pojo.policy.Policy= Manager} - =C2=A0Deployment policy is deployed successfully: [id] app_group= _v1-8151393899819408994
[2014-12-14 18:29:45,679] =C2=A0INFO {org= .apache.stratos.autoscaler.client.CloudControllerClient} - =C2=A0Validating= partitions of policy via cloud controller: [cartridge-type] tomcat
[2014-12-14 18:29:45,694] =C2=A0INFO {org.apache.stratos.cloud.controlle= r.services.impl.CloudControllerServiceImpl} - =C2=A0All partitions [P1] wer= e validated successfully, against the Cartridge: tomcat
[2014-12-= 14 18:29:45,696] =C2=A0INFO {org.apache.stratos.autoscaler.client.CloudCont= rollerClient} - =C2=A0Validating partitions of policy via cloud controller:= [cartridge-type] tomcat1
[2014-12-14 18:29:45,704] =C2=A0INFO {o= rg.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl= } - =C2=A0All partitions [P1] were validated successfully, against the Cart= ridge: tomcat1
[2014-12-14 18:29:45,706] =C2=A0INFO {org.apache.s= tratos.autoscaler.client.CloudControllerClient} - =C2=A0Validating partitio= ns of policy via cloud controller: [cartridge-type] tomcat2
[2014= -12-14 18:29:45,714] =C2=A0INFO {org.apache.stratos.cloud.controller.servic= es.impl.CloudControllerServiceImpl} - =C2=A0All partitions [P1] were valida= ted successfully, against the Cartridge: tomcat2
[2014-12-14 18:2= 9:45,716] =C2=A0INFO {org.apache.stratos.autoscaler.api.AutoScalerServiceIm= pl} - =C2=A0The application Monitor has already been created for [Applicati= on] app_group_v1
[2014-12-14 18:29:45,717] =C2=A0INFO {org.apache= .stratos.rest.endpoint.api.StratosApiV41Utils} - =C2=A0Application deployed= successfully: [application-id] app_group_v1 [deployment-policy-id] null=


Seems =C2=A0=C2=A0[de= ployment-policy-id] set to null? Is this correct?=C2=A0

<= /div>
Thank you

Dakshika Jaya= thilaka
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911
--089e0158cab66909c6050a2cca07--