Hi Imesh,

I have attached the cloud-controller.xml file here. (Changed some
characters of the key before attaching).

On Sun, May 3, 2015 at 11:39 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Asanka,
>
> Can you please send your cloud-controller.xml file (mask credentials)?
> Need to verify GCE IaaS provider.
>
> Thanks
>
>
> On Saturday, May 2, 2015, Asanka Sanjaya Herath <angal...@gmail.com>
> wrote:
>
>> 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
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>
>


-- 
Thanks,
Regards,
ASH
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
  #  Licensed to the Apache Software Foundation (ASF) under one
  #  or more contributor license agreements.  See the NOTICE file
  #  distributed with this work for additional information
  #  regarding copyright ownership.  The ASF licenses this file
  #  to you under the Apache License, Version 2.0 (the
  #  "License"); you may not use this file except in compliance
  #  with the License.  You may obtain a copy of the License at
  #  
  #  http://www.apache.org/licenses/LICENSE-2.0
  #  
  #  Unless required by applicable law or agreed to in writing,
  #  software distributed under the License is distributed on an
  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  #  KIND, either express or implied.  See the License for the
  #  specific language governing permissions and limitations
  #  under the License.
  -->
<cloudController xmlns:svns="http://org.wso2.securevault/configuration";>

	<svns:secureVault
		provider="org.wso2.securevault.secret.handler.SecretManagerSecretCallbackHandler" />

    	<dataPublisher enable="false">
		<!-- BAM Server Info - default values are 'admin' and 'admin'
			 Optional element. -->
		<bamServer>
            		<!-- BAM server URL should be specified in carbon.xml -->
			<adminUserName>admin</adminUserName>
			<adminPassword svns:secretAlias="cloud.controller.bam.server.admin.password">admin</adminPassword>
		</bamServer>
		<!-- Default cron expression is '1 * * * * ? *' meaning 'first second of every minute'.
			 Optional element. -->
		<cron>1 * * * * ? *</cron>
		<!-- Cassandra cluster related info -->
		<!--cassandraInfo>
			<connectionUrl>localhost:9160</connectionUrl>
			<userName>admin</userName>
			<password svns:secretAlias="cloud.controller.cassandra.server.password">admin</password>
		</cassandraInfo-->
	</dataPublisher>

    	<topologySync enable="true">
		<property name="cron" value="1 * * * * ? *" />
	</topologySync>

        <!-- Specify the properties that are common to an IaaS here. This element
                is not necessary [0..1]. But you can use this section to avoid specifying
                same property over and over again. -->
	<iaasProviders>
        	<!-- iaasProvider type="ec2" name="ec2 specific details">
                	<className>org.apache.stratos.cloud.controller.iaases.ec2.EC2Iaas</className>
                        <provider>aws-ec2</provider>
                        <identity svns:secretAlias="cloud.controller.ec2.identity">AKIAJDKHGOWBX6K6N4VQ</identity>
                        <credential svns:secretAlias="cloud.controller.ec2.credential">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</credential>
                        <property name="jclouds.ec2.ami-query" value="owner-id=1738-5902-9621;state=available;image-type=machine"/>
                        <property name="availabilityZone" value="ap-southeast-1a"/>
                        <property name="securityGroups" value="stratos-demo"/>
                        <property name="autoAssignIp" value="true" />
                        <property name="keyPair" value="stratos-demo-asia-region"/>
                </iaasProvider -->
                <!--iaasProvider type="openstack" name="openstack specific details">
            		<className>org.apache.stratos.cloud.controller.iaases.openstack.OpenstackIaas</className>
                        <provider>openstack-nova</provider>
                        <identity svns:secretAlias="cloud.controller.openstack.identity">OPENSTACK_IDENTITY</identity>
                        <credential svns:secretAlias="cloud.controller.openstack.credential">OPENSTACK_CREDENTIAL</credential>
                        <property name="jclouds.endpoint" value="OPENSTACK_ENDPOINT" />
            		    <property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/>
                        <property name="jclouds.api-version" value="2.0/" />
			            <property name="openstack.networking.provider" value="OPENSTACK_NETWORKING_PROVIDER" />
                        <property name="X" value="x" />
                        <property name="Y" value="y" />
                        <property name="securityGroups" value="OPENSTACK_SECURITY_GROUPS"/>
                        <property name="keyPair" value="OPENSTACK_KEYPAIR"/>
        	    </iaasProvider-->
                <!--iaasProvider type="vcloud" name="VMware vCloud specific details">
                        <className>org.apache.stratos.cloud.controller.iaases.vcloud.VCloudIaas</className>
                        <provider>vcloud</provider>
                        <identity svns:secretAlias="cloud.controller.vcloud.identity">VCLOUD_IDENTITY</identity>
                        <credential svns:secretAlias="cloud.controller.vcloud.credential">VCLOUD_CREDENTIAL</credential>
                        <property name="jclouds.endpoint" value="VCLOUD_ENDPOINT" />
                        <property name="jclouds.vcloud.version.schema" value="1.5" />
                        <property name="jclouds.api-version" value="1.5" />
			            <property name="autoAssignIp" value="true" />
                        <property name="X" value="x" />
                        <property name="Y" value="y" />
                </iaasProvider-->
                <iaasProvider type="gce" name="GCE specific details">
                        <className>org.apache.stratos.cloud.controller.iaases.gce.GCEIaas</className>
                        <provider>google-compute-engine</provider>
                        <identity svns:secretAlias="cloud.controller.gce.identity">969955727877-3q53n9vgjajebj9g7tigdosekedfv...@developer.gserviceaccount.com</identity>
                        <credential svns:secretAlias="cloud.controller.gce.credential">5ae1789dfekalsdkdlskd1ffe4fsdfssaw19b</credential>
                        <property name="projectName" value="" />
                       <property name="autoAssignIp" value="true" />
                </iaasProvider>
                <!--iaasProvider type="kubernetes" name="KUBERNETES specific details">
                    <className>org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas</className>
                    <provider>kubernetes</provider>
                    <identity svns:secretAlias="cloud.controller.kubernetes.identity">identity</identity>
                    <credential svns:secretAlias="cloud.controller.kubernetes.credential">credential</credential>
                </iaasProvider-->
        </iaasProviders>
</cloudController>

Reply via email to