Hi All,

When I try to deploy an application in GCE I'm getting the following error
in stratos console even though I can see the spawned instance in GCE.

CLI Command:  deploy-application -a single-cartridge-app -ap
application-policy-1

Error:

java.lang.NullPointerException
    at
org.apache.stratos.cloud.controller.iaases.JcloudsIaas.createInstanceMetadata(JcloudsIaas.java:163)
    at
org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:147)
    at
org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)
    at
org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)
    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:745)

I have attached the log relevant to deploy the application with this. Any
help is appreciated.


On Mon, May 4, 2015 at 4:06 PM, Asanka Sanjaya Herath <[email protected]>
wrote:

> Hi,
>
> Once I use PEM format authentication issue resolved. Thanks for the help.
>
> On Mon, May 4, 2015 at 1:50 PM, Asanka Sanjaya Herath <[email protected]>
> wrote:
>
>> Thanks for the help. I'll follow the given instructions and update the
>> thread.
>>
>> On Mon, May 4, 2015 at 1:38 PM, Gayan Gunarathne <[email protected]> wrote:
>>
>>> Hi Asanka,
>>>
>>> As Isuru mention please check with the gce credentials in PEM
>>> format.Also please follow the GCEIaas[1] in the cloud controller where we
>>> build the jcloud compute template which help you to troubleshoot the
>>> connectivity problems with GCE.
>>>
>>> [1]
>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/gce/GCEIaas.java
>>>
>>> Thanks,
>>> Gayan
>>>
>>> On Mon, May 4, 2015 at 11:43 AM, Isuru Haththotuwa <[email protected]>
>>> wrote:
>>>
>>>> Hi Asanka,
>>>>
>>>> The private key you downloaded from your GCE account is in PKCS format.
>>>> You will need to convert it to PEM format. As per what I read, the private
>>>> key in PEM format is what is required as the credentials. Please refer [1,
>>>> 2].
>>>>
>>>> [1]. https://github.com/pires/jclouds-gce-example/blob/master/README.md
>>>>
>>>> [2].
>>>> https://github.com/jclouds/jclouds-labs-google/tree/master/google-compute-engine
>>>>
>>>>
>>>> On Sun, May 3, 2015 at 6:52 PM, Asanka Sanjaya Herath <
>>>> [email protected]> wrote:
>>>>
>>>>> Thanks Imesh and Dakshika for information. But the error is still
>>>>> there. It still says  "Could not start an instance, jclouds template is
>>>>> null for iaas provider [type]: gce ".
>>>>> I suspect that may be a credential issue. I just added my private key
>>>>> ID to credential tag in cloud-controller xml. Is that the correct way? Or
>>>>> Do I need to copy and paste the whole private key to credential section?
>>>>> Because when I use whole private key I got
>>>>> java.lang.IllegalArgumentException.
>>>>>
>>>>>
>>>>>
>>>>> On Sun, May 3, 2015 at 5:38 PM, Dakshika Jayathilaka <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Yes, that would be great..
>>>>>>
>>>>>> then we can list them accordingly.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> *Dakshika Jayathilaka*
>>>>>> PMC Member & Committer of Apache Stratos
>>>>>> Senior Software Engineer
>>>>>> WSO2, Inc.
>>>>>> lean.enterprise.middleware
>>>>>> 0771100911
>>>>>>
>>>>>> On Sun, May 3, 2015 at 5:34 PM, Imesh Gunaratne <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks Dakshika for the quick response! I see a potential problem
>>>>>>> here.
>>>>>>>
>>>>>>> IMO IaaS providers cannot be treated as a enumeration because users
>>>>>>> can define any number of IaaS providers with arbitrary names. As a 
>>>>>>> example;
>>>>>>> "ec2-1", "ec2-2", "openstack-1", "openstack-2", etc. I understand that 
>>>>>>> you
>>>>>>> have tried to make it more user friendly by providing a dropdown for 
>>>>>>> this
>>>>>>> field.
>>>>>>>
>>>>>>> I think we will need to expose an API method to provide all the
>>>>>>> available IaaS providers. Then the UI can invoke that method to populate
>>>>>>> the drop down. WDYT?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Sun, May 3, 2015 at 4:13 PM, Dakshika Jayathilaka <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Yes, This happens due to JSON schema enum property. currently we
>>>>>>>> have below enum properties in schema.
>>>>>>>>
>>>>>>>>  "enum": ["mock", "ec2", "openstack", "kubernetes"]
>>>>>>>>
>>>>>>>> @Asanka:
>>>>>>>>
>>>>>>>> please add  "enum": ["mock", "ec2", "openstack", "kubernetes",
>>>>>>>> "gce" ] into it.
>>>>>>>>
>>>>>>>> Schema Path :
>>>>>>>>
>>>>>>>> components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> *Dakshika Jayathilaka*
>>>>>>>> PMC Member & Committer of Apache Stratos
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2, Inc.
>>>>>>>> lean.enterprise.middleware
>>>>>>>> 0771100911
>>>>>>>>
>>>>>>>> On Sun, May 3, 2015 at 11:32 AM, Imesh Gunaratne <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Dakshika: Do you have any thoughts on this?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Friday, May 1, 2015, Asanka Sanjaya Herath <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> Thanks for the response. I have attached the screen shot with
>>>>>>>>>> this.
>>>>>>>>>>
>>>>>>>>>> On Fri, May 1, 2015 at 10:07 PM, Imesh Gunaratne <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>
>>>>>>>>>>> Good to hear that you were able to resolve the compilation
>>>>>>>>>>> issue. I'm not sure whether we have a GCE account for Stratos, will 
>>>>>>>>>>> check
>>>>>>>>>>> with Lakmal.
>>>>>>>>>>>
>>>>>>>>>>> Your partition.json looks ok for me, will you be able to share a
>>>>>>>>>>> screen shot of the UI where it was displayed as "mock"?
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Fri, May 1, 2015 at 8:34 PM, Asanka Sanjaya Herath <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> ​​
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> I added a network partition using CLI by using the attached
>>>>>>>>>>>> JSON file. Then I looked at the stratos UI and  the Network 
>>>>>>>>>>>> Partition
>>>>>>>>>>>> provider is listed as 'mock' instead of gce for the partition I 
>>>>>>>>>>>> added. Will
>>>>>>>>>>>> that be a problem when I deploy an application using stratos?
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, May 1, 2015 at 2:20 PM, Asanka Sanjaya Herath <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Build succeeded once I remove the .m2 folder. I'm just
>>>>>>>>>>>>> wondering whether I should use my own GCE account or an account 
>>>>>>>>>>>>> provided by
>>>>>>>>>>>>> you. Because the trial period of my existing GCE account will end 
>>>>>>>>>>>>> in 19
>>>>>>>>>>>>> days.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Apr 30, 2015 at 10:25 AM, Asanka Sanjaya Herath <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks Imesh for the information. I'll try again by removing
>>>>>>>>>>>>>> the .m2 folder and update the thread.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Apr 30, 2015 at 10:14 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I found following errors in your log:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>> /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java:[51,1]
>>>>>>>>>>>>>>> cannot find symbol
>>>>>>>>>>>>>>> [ERROR] symbol: class SiddhiExtension
>>>>>>>>>>>>>>> [ERROR] @SiddhiExtension(namespace = "stratos", function =
>>>>>>>>>>>>>>> "secondDerivative")
>>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>> /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java:[58,21]
>>>>>>>>>>>>>>> package Attribute does not exist
>>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>> /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java:[181,71]
>>>>>>>>>>>>>>> cannot find symbol
>>>>>>>>>>>>>>> [ERROR] symbol  : class Type
>>>>>>>>>>>>>>> [ERROR] location: class
>>>>>>>>>>>>>>> org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor
>>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>> /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java:[238,24]
>>>>>>>>>>>>>>> cannot find symbol
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> It looks like the CEP extension module cannot find some of
>>>>>>>>>>>>>>> the classes in Siddhi library. Can you please check whether you 
>>>>>>>>>>>>>>> can find
>>>>>>>>>>>>>>> the following artifact in your local .m2 repository?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <groupId>org.wso2.siddhi</groupId>
>>>>>>>>>>>>>>> <artifactId>siddhi-core</artifactId>
>>>>>>>>>>>>>>> <version>2.0.0-wso2v5</version>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Apr 29, 2015 at 7:57 PM, Asanka Sanjaya Herath <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I build again using maven 3.0.4 and oracle Java 1.7.0 but
>>>>>>>>>>>>>>>> still I'm getting the same error.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, Apr 29, 2015 at 6:45 PM, Asanka Sanjaya Herath <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, Apr 29, 2015 at 6:42 PM, Asanka Sanjaya Herath <
>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Isuru,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you for the information. Currently I have Java 1.6.
>>>>>>>>>>>>>>>>>> I'll build using Java 1.7 and update the tread.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Wed, Apr 29, 2015 at 6:00 PM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I just build master branch with tests successfully. What
>>>>>>>>>>>>>>>>>>> is the Java version and the Maven version that you are 
>>>>>>>>>>>>>>>>>>> using? Its
>>>>>>>>>>>>>>>>>>> recommended to use Oracle JDK 1.7 and Maven 3.x.x.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Wed, Apr 29, 2015 at 4:32 PM, Asanka Sanjaya Herath <
>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I tried to build the latest stratos source master
>>>>>>>>>>>>>>>>>>>> branch. I ended up with getting this error- please see the 
>>>>>>>>>>>>>>>>>>>> attachment.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Tue, Apr 28, 2015 at 10:35 PM, Asanka Sanjaya Herath
>>>>>>>>>>>>>>>>>>>> <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Vishanth,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks for the information. I'll try to deploy an
>>>>>>>>>>>>>>>>>>>>> application manually using the CLI.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Apr 28, 2015 at 10:30 PM, Vishanth
>>>>>>>>>>>>>>>>>>>>> Balasubramaniam <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Currently we do not have any sample applications
>>>>>>>>>>>>>>>>>>>>>> written for GCE IaaS.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>> Vishanth
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Apr 28, 2015 at 10:20 PM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks for selecting me for this project. I'm just
>>>>>>>>>>>>>>>>>>>>>>> wondering whether there is any sample script already 
>>>>>>>>>>>>>>>>>>>>>>> available for
>>>>>>>>>>>>>>>>>>>>>>> deploying an application in GCE. I can find the ec-2 
>>>>>>>>>>>>>>>>>>>>>>> and openstack scripts.
>>>>>>>>>>>>>>>>>>>>>>> But are there any automated script available for GCE?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Thu, Mar 26, 2015 at 10:03 PM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Here I'm sharing my proposal [1] for GCE load
>>>>>>>>>>>>>>>>>>>>>>>> balancing support for Stratos. Any comment or 
>>>>>>>>>>>>>>>>>>>>>>>> suggestion is really
>>>>>>>>>>>>>>>>>>>>>>>> appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>> https://docs.google.com/document/d/1tdOGPA2d8_D1-qX0KE0xlzYMFi7JWIwcJmHjmUibQls/edit?usp=sharing
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Thu, Mar 26, 2015 at 12:59 AM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> ​Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I started writing the proposal for ec-2 load
>>>>>>>>>>>>>>>>>>>>>>>>> balancer project. I'm sharing my proposal [1] with​ 
>>>>>>>>>>>>>>>>>>>>>>>>> all. Any suggestions
>>>>>>>>>>>>>>>>>>>>>>>>> and comments are appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>> https://docs.google.com/document/d/1AtO0URu1oCfanyDxaQZsSv5PTH-O3oJ_OHwRgyPhtpc/edit?usp=sharing
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 22, 2015 at 11:42 AM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks for the information.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 22, 2015 at 10:05 AM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>> <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> You can find some information here:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://docs.google.com/document/d/1_UyglvcuNASxFbC6YK4zDoKohx9xiiqBNZqMiezkhzo/edit#heading=h.3hnlljt63y71
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 22, 2015 at 2:37 AM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I'm trying to configure GCE IaaS in stratos.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Are there any written documentation regarding this?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 15, 2015 at 2:40 PM, Asanka Sanjaya
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thank you for information. I'll go through
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> these and get back to you with the draft proposal 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> soon.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 15, 2015 at 1:54 PM, Imesh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Gunaratne <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Asanka,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> It's nice to hear from you! The expectations
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> of above projects are to implement Stratos load 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> balancer extensions to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> programatically configure Amazon AWS load 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> balancer and GCE load balancer to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> work with Stratos. You could do the following to 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start with these projects:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Find information on AWS/GCE load balancer
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> APIs
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Create an AWS/GCE account and try out the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> above APIs
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Try to setup a sample load balancing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> scenario on EC2/GCE with their load balancers
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Document your experience
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Find information about the Stratos load
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> balancer extension, we updated this recently
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - Prepare project proposals with the above
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> information
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 15, 2015 at 12:08 PM, Asanka
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sanjaya Herath <[email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I Asanka Sanjaya, am willing to do GSoC this
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> year and I found  project on $subject very 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> interesting. I'm currently a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> final year undergraduate of faculty of 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Information Technology University of
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Moratuwa. I have worked with Apache Stratos 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> before and I would like to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> compose project proposals for these two 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> projects [1], [2] since both are
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> similar kind of projects.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I'm currently working on the project
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> proposals and I kindly request you to guide me 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on steps to follow.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/STRATOS-499
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/STRATOS-500
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Vishanth Balasubramaniam*
>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> mobile: *+94771737718*
>>>>>>>>>>>>>>>>>>>>>> about me: *http://about.me/vishanth
>>>>>>>>>>>>>>>>>>>>>> <http://about.me/vishanth>*
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> * <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>> ASH
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> ASH
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks,
>>>>>>>>>> Regards,
>>>>>>>>>> ASH
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Regards,
>>>>> ASH
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>
>>>>>
>>>>> * <http://wso2.com/>*
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>>
>>> Gayan Gunarathne
>>> Technical Lead
>>> WSO2 Inc. (http://wso2.com)
>>> email  : [email protected]  | mobile : +94 766819985
>>>
>>>
>>
>>
>>
>> --
>> Thanks,
>> Regards,
>> ASH
>>
>
>
>
> --
> Thanks,
> Regards,
> ASH
>



-- 
Thanks,
Regards,
ASH
[2015-05-04 18:59:12,871]  INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} -  Starting to deploy application: [application-id] single-cartridge-app
[2015-05-04 18:59:13,391]  INFO {org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -  Application Cluster single-cartridge-app.my-php.php.domain created in CC topology
[2015-05-04 18:59:13,459]  INFO {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} -  Publishing application clusters created event: [application-id] single-cartridge-app
[2015-05-04 18:59:13,489]  INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} -  [ApplicationClustersCreatedEvent] Received: class org.apache.stratos.messaging.event.topology.ApplicationClustersCreatedEvent
[2015-05-04 18:59:13,683]  INFO {org.apache.stratos.autoscaler.context.AutoscalerContext} -  Adding network partition algorithm context : [application-id] single-cartridge-app
[2015-05-04 18:59:13,738]  INFO {org.apache.stratos.autoscaler.context.AutoscalerContext} -  network partition algorithm context is added successfully: [application-policy-id] single-cartridge-app
[2015-05-04 18:59:13,739]  INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -  Adding application signup: [application-id] single-cartridge-app
[2015-05-04 18:59:13,797]  INFO {org.apache.stratos.manager.components.ApplicationSignUpHandler} -  Adding application signup: [application-id] single-cartridge-app [tenant-id] -1234
[2015-05-04 18:59:13,863]  INFO {org.apache.stratos.manager.components.ApplicationSignUpHandler} -  Application signup added successfully: [application-id] single-cartridge-app [tenant-id] -1234
[2015-05-04 18:59:13,865]  INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -  Application signup added successfully: [application-id] single-cartridge-app
[2015-05-04 18:59:13,928]  INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -  Waiting for application clusters to be created: [application] single-cartridge-app
[2015-05-04 18:59:13,932]  INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} -  Application deployed successfully: [application-id] single-cartridge-app
[2015-05-04 18:59:14,495]  INFO {org.apache.stratos.autoscaler.util.AutoscalerUtil} -  Monitor scheduled: [application] single-cartridge-app 
[2015-05-04 18:59:14,496]  INFO {org.apache.stratos.autoscaler.util.AutoscalerUtil} -  Starting monitor: [application] single-cartridge-app
[2015-05-04 18:59:14,514]  INFO {org.apache.stratos.common.threading.StratosThreadPool} -  Thread pool created: [type] Scheduled Executor Service [id] autoscaler.monitor.scheduler.thread.pool [size] 100
[2015-05-04 18:59:14,518]  INFO {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} -  Building dependency tree: [component] single-cartridge-app 
[2015-05-04 18:59:14,518]  INFO {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} -  Termination behaviour set: [component] single-cartridge-app [termination-behaviour] null
[2015-05-04 18:59:14,519]  INFO {org.apache.stratos.common.threading.StratosThreadPool} -  Thread pool created: [type] Executor Service [id] application.monitor.thread.pool [size] 20
[2015-05-04 18:59:14,521]  INFO {org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor} -  Application instance has been added for the [network partition] network-partition-1 [appInstanceId] single-cartridge-app-2
[2015-05-04 18:59:14,521]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} -  Starting dependent monitor: [application] single-cartridge-app [component] single-cartridge-app.my-php.php.domain
[2015-05-04 18:59:14,522]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} -  Monitor scheduled: [type] cluster [component] single-cartridge-app.my-php.php.domain 
[2015-05-04 18:59:14,522]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} -  Starting monitor: [type] cluster [component] single-cartridge-app.my-php.php.domain
[2015-05-04 18:59:14,523]  INFO {org.apache.stratos.autoscaler.util.AutoscalerUtil} -  Monitor started successfully: [application] single-cartridge-app [dependents] single-cartridge-app.my-php.php.domain [startup-time] 0 seconds
[2015-05-04 18:59:14,555]  INFO {org.apache.stratos.cloud.controller.context.CloudControllerContext} -  Partition map updated for the Cartridge: php. Current Partition List: [partition-1]
[2015-05-04 18:59:14,628]  INFO {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} -  All partitions [[partition-1]] were validated successfully, against the cartridge: php
[2015-05-04 18:59:14,643]  INFO {org.apache.stratos.common.threading.StratosThreadPool} -  Thread pool created: [type] Scheduled Executor Service [id] cluster.monitor.scheduler [size] 50
[2015-05-04 18:59:14,644]  INFO {org.apache.stratos.common.threading.StratosThreadPool} -  Thread pool created: [type] Executor Service [id] cluster.monitor.thread.pool [size] 50
[2015-05-04 18:59:15,673]  INFO {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} -  Publishing cluster instance created event: [service-name] php [cluster-id] single-cartridge-app.my-php.php.domain  in [network-partition-id] null [instance-id] single-cartridge-app-2
[2015-05-04 18:59:15,752]  INFO {org.apache.stratos.autoscaler.monitor.MonitorFactory} -  ClusterMonitor created: ClusterMonitor [clusterId=single-cartridge-app.my-php.php.domain, hasPrimary=false ]
[2015-05-04 18:59:15,753]  INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} -  Monitor started successfully: [type] cluster [component] single-cartridge-app.my-php.php.domain [dependents] none [startup-time] 1 seconds
[2015-05-04 18:59:15,758]  INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} -   Cluster monitor has scaling dependents  [false] 
[2015-05-04 18:59:15,804]  INFO {org.apache.stratos.autoscaler.context.cluster.ClusterContext} -  Partition context has been added: [application] single-cartridge-app  [cluster] single-cartridge-app.my-php.php.domain [ClusterInstanceContext] single-cartridge-app-2 [partition] partition-1
[2015-05-04 18:59:15,804]  INFO {org.apache.stratos.autoscaler.context.cluster.ClusterContext} -  Cluster Instance context has been added: [application] single-cartridge-app [cluster] single-cartridge-app.my-php.php.domain [ClusterInstanceContext] single-cartridge-app-2
[2015-05-04 18:59:15,804]  INFO {org.apache.stratos.autoscaler.context.cluster.ClusterContext} -  Cluster instance context has been added to network partition, [application] single-cartridge-app [cluster] single-cartridge-app.my-php.php.domain  [cluster instance] single-cartridge-app-2 [network partition] network-partition-1
[2015-05-04 18:59:15,805]  INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} -  Monitoring task for Cluster Monitor with cluster id single-cartridge-app.my-php.php.domain started successfully
[2015-05-04 18:59:15,830]  INFO {org.apache.stratos.autoscaler.rule.RuleLog} -  [min-check] Partition available, hence trying to spawn an instance to fulfil minimum count! [cluster] single-cartridge-app.my-php.php.domain
[2015-05-04 18:59:15,832]  INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} -  Trying to spawn an instance via cloud controller: [cluster] single-cartridge-app.my-php.php.domain [partition] partition-1 [network-partition-id] network-partition-1
[2015-05-04 18:59:18,168]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  gce buildTemplate
[2015-05-04 18:59:21,600]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  ZONE has been set as europe-west1-d with id: europe-west1-d
[2015-05-04 18:59:32,892]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  usermeta data key:availabilityZone value: europe-west1-d
[2015-05-04 18:59:32,892]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  usermeta data key:instanceType value: europe-west1-d/n1-standard-1
[2015-05-04 18:59:32,893]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  usermeta data key:autoAssignIp value: true
[2015-05-04 18:59:32,893]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  usermeta data key:projectName value: 
[2015-05-04 18:59:32,893]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  using network interface default
[2015-05-04 18:59:32,893]  INFO {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  using network interface [default]
[2015-05-04 18:59:32,961]  INFO {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} -  Publishing member created event: [service-name] php [cluster-id] single-cartridge-app.my-php.php.domain [cluster-instance-id] single-cartridge-app-2 [member-id] single-cartridge-app.my-php.php.domain75bf1234-a1b4-47c2-afc2-ca5fceb24056 [instance-id] null [network-partition-id] network-partition-1 [partition-id] partition-1 [lb-cluster-id] null
[2015-05-04 18:59:32,977]  INFO {org.apache.stratos.messaging.message.processor.topology.MemberCreatedMessageProcessor} -  Member created: [service-name] php [cluster-id] single-cartridge-app.my-php.php.domain [member-id] single-cartridge-app.my-php.php.domain75bf1234-a1b4-47c2-afc2-ca5fceb24056 [cluster-instance-id] single-cartridge-app-2
[2015-05-04 19:00:18,067] ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} -  Failed to start an instance. MemberContext [applicationId=single-cartridge-app, cartridgeType=php, clusterId=single-cartridge-app.my-php.php.domain, memberId=single-cartridge-app.my-php.php.domain75bf1234-a1b4-47c2-afc2-ca5fceb24056, instanceId=europe-west1-d/single-car-9a0, partition=Partition [id=partition-1, description=null, isPublic=false, provider=gce, properties=Properties [properties=[Property [name=region, value=default]]]], defaultPrivateIP=null, defaultPublicIP=null, allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1430746155856, lbClusterId=null, networkPartitionId=network-partition-1, kubernetesPodId=null, kubernetesPodLabel=null, loadBalancingIPType=Private, instanceMetadata=null, properties=Properties [properties=[Property [name=PRIMARY, value=false], Property [name=MIN_COUNT, value=1]]]] Cause: null
java.lang.NullPointerException
	at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.createInstanceMetadata(JcloudsIaas.java:163)
	at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:147)
	at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)
	at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)
	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:745)
[2015-05-04 19:00:18,070] ERROR {org.apache.stratos.cloud.controller.services.impl.InstanceCreator} -  Could not start instance: [cartridge-type] php [cluster-id] single-cartridge-app.my-php.php.domain
java.lang.IllegalStateException: Failed to start an instance. MemberContext [applicationId=single-cartridge-app, cartridgeType=php, clusterId=single-cartridge-app.my-php.php.domain, memberId=single-cartridge-app.my-php.php.domain75bf1234-a1b4-47c2-afc2-ca5fceb24056, instanceId=europe-west1-d/single-car-9a0, partition=Partition [id=partition-1, description=null, isPublic=false, provider=gce, properties=Properties [properties=[Property [name=region, value=default]]]], defaultPrivateIP=null, defaultPublicIP=null, allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1430746155856, lbClusterId=null, networkPartitionId=network-partition-1, kubernetesPodId=null, kubernetesPodLabel=null, loadBalancingIPType=Private, instanceMetadata=null, properties=Properties [properties=[Property [name=PRIMARY, value=false], Property [name=MIN_COUNT, value=1]]]] Cause: null
	at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:151)
	at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)
	at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)
	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:745)
Caused by: java.lang.NullPointerException
	at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.createInstanceMetadata(JcloudsIaas.java:163)
	at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:147)
	... 5 more


Reply via email to