Hi all, I'm getting following error in Stratos when I run this[1] command in CLI in order to deploy an application.
ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - Could not start an instance, jclouds template is null for iaas provider [type]: gce I have attached the log for more details of the error. Please help. [1].deploy-application -a single-cartridge-app -ap application-policy-1 On Sat, May 2, 2015 at 11:05 PM, Mail Delivery Subsystem < mailer-dae...@googlemail.com> wrote: > This is an automatically generated Delivery Status Notification > > THIS IS A WARNING MESSAGE ONLY. > > YOU DO NOT NEED TO RESEND YOUR MESSAGE. > > Delivery to the following recipient has been delayed: > > isu...@apache.org > > Message will be retried for 2 more day(s) > > Technical details of temporary failure: > The recipient server did not accept our requests to connect. Learn more at > http://support.google.com/mail/bin/answer.py?answer=7720 > [(10) mx1.us.apache.org. [140.211.11.136]:25: socket error] > [(10) mx1-eu-west.apache.org. [54.76.25.247]:25: socket error] > [(10) mx1-us-east.apache.org. [54.164.171.186]:25: socket error] > [(10) mx1.eu.apache.org. [192.87.106.230]:25: socket error] > [(10) mx1-us-west.apache.org. [54.191.145.13]:25: socket error] > > ----- Original message ----- > > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=gmail.com; s=20120113; > > h=mime-version:in-reply-to:references:date:message-id:subject:from:to > :cc:content-type; > bh=9X8f5G8zCS7DEPOEcOYNyhpuM1tJC9viOUu5iUaWMSA=; > > b=vwvIf0WvyqxZqljxRyZh/7nPqZlUrwDhfg62kTdsJUA5JR3kuUJzkg1QF4L7/JDc39 > > ne1jtvt3KkE6ZpNsPkMyI0hXWfvymenhMsda9TWhUUj+yasY+p2v4HEgZv5zYG7BNYJx > > GuEkK0pNjhyIlvHQ5vWlErOI8tMg7z5f24ZBw5lngUG+Vjf7vArYh2VGhQQa24/TYAqP > > CyfyYm6VxYlg+gTRZVY7jTZAhhUSrrtIxeFM1tg+AZ/nNR3hN29g9JgSZGfEE/JDN3Gd > > 8P8/X8qCzzaV61N28PUARSfa7OJqJoXEisc8UYqM2igj+dhjXCSZG6e3yU9Bn2x1Ga7I > GIAw== > MIME-Version: 1.0 > X-Received: by 10.140.16.173 with SMTP id 42mr12112054qgb.31.1430500520285; > Fri, 01 May 2015 10:15:20 -0700 (PDT) > Received: by 10.229.240.202 with HTTP; Fri, 1 May 2015 10:15:20 -0700 (PDT) > In-Reply-To: < > caghm-my6z9d2f2n_q2nsoavh_fenhquvh_cgzg8furf70eb...@mail.gmail.com> > References: < > ca+559jsb_ksgbxtopzkjw7urto1rckjj1tfu+bxpomvmghl...@mail.gmail.com> > <CAGhM-Mbe6NjbEDffTa_uNxjW= > go8zyqqydb6ymcrxwjdnxg...@mail.gmail.com> > < > ca+559jr5s5oxb1cpvua14cesfvxnb9udtdk+26gfxfmh_+b...@mail.gmail.com> > < > ca+559jrznrafmwpt4cjjymfpkt1yejo0_bfasvf8bfsurcl...@mail.gmail.com> > <CAGhM-MY1GKYWNg8euwbaV3Ewk-V9LxeVC2= > sj2nh2smcqwn...@mail.gmail.com> > < > ca+559jr2fxte6eqs-8ba5oezuhfg5o6jgnf-1zwvyn9bny5...@mail.gmail.com> > <CA+559jQQFY1_J8ft9+Bx4yRMEW56J-KA4LhJ= > hhhjkdx_f5...@mail.gmail.com> > <CA+559jSytL9S=nVqEa5EozD= > mlb80qqs9iakykah5ktct8i...@mail.gmail.com> > < > ca+559js_4jfqmih7i-5vemh5fv8dc+ogdqw4tsajs6zkjmj...@mail.gmail.com> > <CABhc1sL6JuDXO03o= > xakatyd_wfzfr4cc2vhkckfsri_0sr...@mail.gmail.com> > < > ca+559jqtox1yj4a4qngitbrbwqd+kwk26v4k_vl1jdefzhu...@mail.gmail.com> > <CA+559jQV0so+GQ61EV+8b24DcF2MYK3fgZBcrC= > ibqpanui...@mail.gmail.com> > <CAC4qKNa9YXfBTUoY1zF= > 8a6xemjrt-zqmpdfojipgs2ynvm...@mail.gmail.com> > < > ca+559jruc4evhdze7kug8ctkwnth9ptt+yarcqlzijtf825...@mail.gmail.com> > < > ca+559jq+po3aknckr+ffxv-lq_ijjwbdmxtstgce1zsdqsd...@mail.gmail.com> > <CA+559jTyccbAroyoab04rTNUkDUq5kYvC= > nhbcrydc5ckbd...@mail.gmail.com> > < > caghm-myj3gmrv-cthjjgo3_oln2cvro0udbfpugkgzxkea6...@mail.gmail.com> > <CA+559jSuTJzSPtQGe= > yt3hk4owjf8fw-vgkpnj_fkn1cbmn...@mail.gmail.com> > < > ca+559jrq4mjf5otjy8szonhehnqjbaxbaswfau92gsjmqhl...@mail.gmail.com> > <CA+559jQ= > xzn1znt1d9fyhm36hh5zz6skxoqqudzkxafr+mj...@mail.gmail.com> > < > caghm-my6z9d2f2n_q2nsoavh_fenhquvh_cgzg8furf70eb...@mail.gmail.com> > Date: Fri, 1 May 2015 22:45:20 +0530 > Message-ID: <CA+559jShScpr5pchVH46_BhF= > h6ggn8axqnhz-tn5+5xfjg...@mail.gmail.com> > Subject: Re: Google Compute Engine Load Balancing Support for Stratos - > GSoC 2015 > From: Asanka Sanjaya Herath <angal...@gmail.com> > To: dev@stratos.apache.org > Cc: Imesh Gunaratne <im...@wso2.com>, Gayan Gunarathne <gay...@wso2.com>, > Isuru Haththotuwa <isu...@apache.org> > Content-Type: multipart/mixed; boundary=001a11c0b2845d806e0515085b41 > > 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 <im...@apache.org> 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 < > angal...@gmail.com> > > 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 < > angal...@gmail.com > >> > 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 < > >>> angal...@gmail.com> 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 <im...@apache.org> > >>>> 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/ja > > ----- Message truncated ----- > > -- Thanks, Regards, ASH
[2015-05-02 23:17:18,490] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Starting to deploy application: [application-id] single-cartridge-app [2015-05-02 23:17:18,571] INFO {org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} - Application Cluster single-cartridge-app.my-php.php.domain created in CC topology [2015-05-02 23:17:18,633] INFO {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} - Publishing application clusters created event: [application-id] single-cartridge-app [2015-05-02 23:17:18,663] INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} - [ApplicationClustersCreatedEvent] Received: class org.apache.stratos.messaging.event.topology.ApplicationClustersCreatedEvent [2015-05-02 23:17:18,823] INFO {org.apache.stratos.autoscaler.context.AutoscalerContext} - Adding network partition algorithm context : [application-id] single-cartridge-app [2015-05-02 23:17:18,868] INFO {org.apache.stratos.autoscaler.context.AutoscalerContext} - network partition algorithm context is added successfully: [application-policy-id] single-cartridge-app [2015-05-02 23:17:18,868] INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - Adding application signup: [application-id] single-cartridge-app [2015-05-02 23:17:18,881] INFO {org.apache.stratos.manager.components.ApplicationSignUpHandler} - Adding application signup: [application-id] single-cartridge-app [tenant-id] -1234 [2015-05-02 23:17:18,948] INFO {org.apache.stratos.manager.components.ApplicationSignUpHandler} - Application signup added successfully: [application-id] single-cartridge-app [tenant-id] -1234 [2015-05-02 23:17:18,950] INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - Application signup added successfully: [application-id] single-cartridge-app [2015-05-02 23:17:19,001] INFO {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - Waiting for application clusters to be created: [application] single-cartridge-app [2015-05-02 23:17:19,007] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application deployed successfully: [application-id] single-cartridge-app [2015-05-02 23:17:19,664] INFO {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Monitor scheduled: [application] single-cartridge-app [2015-05-02 23:17:19,664] INFO {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Starting monitor: [application] single-cartridge-app [2015-05-02 23:17:19,666] INFO {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} - Building dependency tree: [component] single-cartridge-app [2015-05-02 23:17:19,666] INFO {org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder} - Termination behaviour set: [component] single-cartridge-app [termination-behaviour] null [2015-05-02 23:17:19,754] WARN {org.apache.stratos.messaging.message.processor.application.ApplicationInstanceCreatedMessageProcessor} - Application instance with id [ single-cartridge-app-2 ] already exists [2015-05-02 23:17:19,773] 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-02 23:17:19,774] 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-02 23:17:19,774] INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} - Monitor scheduled: [type] cluster [component] single-cartridge-app.my-php.php.domain [2015-05-02 23:17:19,775] INFO {org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor} - Starting monitor: [type] cluster [component] single-cartridge-app.my-php.php.domain [2015-05-02 23:17:19,775] 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-02 23:17:19,780] INFO {org.apache.stratos.cloud.controller.context.CloudControllerContext} - Partition map updated for the Cartridge: php. Current Partition List: [partition-1] [2015-05-02 23:17:19,835] INFO {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} - All partitions [[partition-1]] were validated successfully, against the cartridge: php [2015-05-02 23:17:20,413] 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-02 23:17:20,482] INFO {org.apache.stratos.autoscaler.monitor.MonitorFactory} - ClusterMonitor created: ClusterMonitor [clusterId=single-cartridge-app.my-php.php.domain, hasPrimary=false ] [2015-05-02 23:17:20,482] 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] 0 seconds [2015-05-02 23:17:20,483] INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} - Cluster monitor has scaling dependents [false] [2015-05-02 23:17:20,500] 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-02 23:17:20,500] 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-02 23:17:20,500] 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-02 23:17:20,501] 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-02 23:17:20,509] 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-02 23:17:20,511] 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-02 23:17:20,581] 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.domainc80b2c76-7604-4679-afda-e7c66b54c6dd [instance-id] null [network-partition-id] network-partition-1 [partition-id] partition-1 [lb-cluster-id] null [2015-05-02 23:17:20,593] 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.domainc80b2c76-7604-4679-afda-e7c66b54c6dd [cluster-instance-id] single-cartridge-app-2 [2015-05-02 23:17:20,650] ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - Could not start an instance, jclouds template is null for iaas provider [type]: gce [2015-05-02 23:17:20,652] 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.domainc80b2c76-7604-4679-afda-e7c66b54c6dd, instanceId=null, 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=1430588840529, 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: Could not start an instance, jclouds template is null for iaas provider [type]: gce org.apache.stratos.cloud.controller.exception.InvalidIaasProviderException: Could not start an instance, jclouds template is null for iaas provider [type]: gce at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:125) 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$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) [2015-05-02 23:17:20,653] 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.domainc80b2c76-7604-4679-afda-e7c66b54c6dd, instanceId=null, 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=1430588840529, 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: Could not start an instance, jclouds template is null for iaas provider [type]: gce 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$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.stratos.cloud.controller.exception.InvalidIaasProviderException: Could not start an instance, jclouds template is null for iaas provider [type]: gce at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:125) ... 5 more