stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: Cartridge subscription not completed
Date Mon, 01 Sep 2014 15:56:07 GMT
Hi Chamila,

Are you using master branch?



On Mon, Sep 1, 2014 at 8:30 PM, Nirmal Fernando <nirmal070125@gmail.com>
wrote:

>
>
>
> On Mon, Sep 1, 2014 at 8:19 PM, Akila Ravihansa Perera <ravihansa@wso2.com
> > wrote:
>
>> Hi Chamila,
>>
>> Why is that partition min count is 0 in your partition definition at [1] ?
>>
>
> That shouldn't be a problem since the real min-max reside in the
> deployment policy. In fact, you can get rid of those min, max properties
> from partition definition.
>
>>
>> I recall this behavior earlier because of some validation issue. As
>> others suggested, your complete debug logs will help us identify the
>> problem.
>>
>> [1]
>> https://github.com/chamilad/stratos-policies/blob/master/partition-deployment.json
>>
>> On Mon, Sep 1, 2014 at 7:31 PM, Nirmal Fernando <nirmal070125@gmail.com>
>> wrote:
>> > Hi Chamila,
>> >
>> > Could you please attach the complete wso2carbon.log file?
>> >
>> >
>> > On Mon, Sep 1, 2014 at 7:15 PM, Chamila De Alwis <chamilad@wso2.com>
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I installed stratos and deployed the necessary policies[1]. I've also
>> >> created a cartridge configuration for PHP.
>> >>
>> >> When I subscribed to the defined cartridge I'm directed to "My
>> Cartridge"
>> >> page but it shows that I'm not subscribed to any cartridges.
>> >>
>> >> wso2carbon.log output consists of the following, but no particular
>> errors.
>> >>
>> >> TID: [0] [STRATOS] [2014-09-01 12:46:27,507]  INFO
>> >>
>> {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
>> >> -  Validating partitions of policy via cloud controller: [id]
>> >> economyDeploymentPolicy
>> >>
>> {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
>> >> TID: [0] [STRATOS] [2014-09-01 12:46:27,699]  INFO
>> >> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
>> -  All
>> >> partitions [p1] were validated successfully, against the Cartridge: php
>> >> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
>> >> TID: [0] [STRATOS] [2014-09-01 12:46:33,987]  INFO
>> >>
>> {org.apache.stratos.manager.subscription.FrameworkCartridgeSubscription} -
>> >> External REPO URL is provided as
>> >> [https://github.com/drnic/php-helloworld.git]
>> >>
>> {org.apache.stratos.manager.subscription.FrameworkCartridgeSubscription}
>> >>
>> >>
>> >> No new instance is spawned and no output is shown in the log after the
>> >> above. I also tried waiting for sometime for the IaaS to pick up the
>> >> requests, as the IaaS I’m using is a bit restricted on the resources,
>> but it
>> >> doesn't show anything even after a while.
>> >>
>> >> [1] - https://github.com/chamilad/stratos-policies
>> >>
>> >> Regards,
>> >> Chamila de Alwis
>> >> Software Engineer | WSO2 | +94772207163
>> >> Blog: code.chamiladealwis.com
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Best Regards,
>> > Nirmal
>> >
>> > Nirmal Fernando.
>> > PPMC Member & Committer of Apache Stratos,
>> > Senior Software Engineer, WSO2 Inc.
>> >
>> > Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639 | +94783498120

Mime
View raw message