stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Invalid Partition detected - samples/applications/single-cartridge/openstack
Date Thu, 19 Feb 2015 03:38:56 GMT
If you can fix this please send a pull request.

On Thu, Feb 19, 2015 at 6:59 AM, Udara Liyanage <udara@wso2.com> wrote:

> Hi Chamila,
>
> Yes, region is "default" in the artifact you have deployed. It is
> "RegionOne" for default openstack setup unless you have explicitly define
> regions
> On 19 Feb 2015 01:41, "Chamila De Alwis" <chamilad@wso2.com> wrote:
>
>> Hi,
>>
>> I'm coming across the following error when executing the deploy script in
>> the single cartridge application, for openstack. It seems like an issue
>> with the artifacts.
>>
>> TID: [0] [STRATOS] [2015-02-19 01:22:50,668]  INFO
>> {org.apache.stratos.autoscaler.client.CloudControllerClient} -  Validating
>> partitions of policy via cloud controller: [cartridge-type] php
>> TID: [0] [STRATOS] [2015-02-19 01:22:50,670]  INFO
>> {org.apache.stratos.messaging.message.processor.application.ApplicationCreatedMessageProcessor}
>> -  Application with id [ single-cartridge-app ] created
>> TID: [0] [STRATOS] [2015-02-19 01:22:56,802] ERROR
>> {org.apache.stratos.cloud.controller.iaases.openstack.OpenstackPartitionValidator}
>> -  Invalid partition detected, invalid region: [partition-id] partition-1
>> [region] default
>> TID: [0] [STRATOS] [2015-02-19 01:22:56,804] ERROR
>> {org.apache.stratos.cloud.controller.iaases.openstack.OpenstackPartitionValidator}
>> -  Invalid partition detected: [partition-id] partition-1Invalid partition
>> detected, invalid region: [partition-id] partition-1 [region] default
>> org.apache.stratos.cloud.controller.exception.InvalidPartitionException:
>> Invalid partition detected, invalid region: [partition-id] partition-1
>> [region] default
>> at
>> org.apache.stratos.cloud.controller.iaases.openstack.OpenstackPartitionValidator.validate(OpenstackPartitionValidator.java:60)
>> at
>> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:97)
>> at
>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:50)
>> at
>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:30)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:744)
>> TID: [0] [STRATOS] [2015-02-19 01:22:56,805] ERROR
>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
>> -  Could not cache partitions against the cartridge: [cartridge-type] php
>> java.util.concurrent.ExecutionException:
>> org.apache.stratos.cloud.controller.exception.InvalidPartitionException:
>> Invalid partition detected: [partition-id] partition-1Invalid partition
>> detected, invalid region: [partition-id] partition-1 [region] default
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message