Hi Dakshika,

It seems like the "id" field is not defined in the deployment policy.
That's why it is printed as null. We might need to make it mandatory.
Udara: Application deployment happens with a deployment policy.

Thanks

On Sun, Dec 14, 2014 at 8:49 PM, Dakshika Jayathilaka <daksh...@wso2.com>
wrote:
>
> Hi Udara,
>
> Thanks for the clarification.
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Sun, Dec 14, 2014 at 6:44 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>> Hi,
>>
>> At the time of application deployment, there is no deployment policy
>> (please update me if I'm wrong) thus deployment policy id is null. I don't
>> think this is an issue. Plus log is an info log.
>> Ideally highlighted text should be removed.
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>> On Dec 14, 2014 6:37 PM, "Dakshika Jayathilaka" <daksh...@wso2.com>
>> wrote:
>>
>>> 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
>>>
>>

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to