Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D2B518DCC for ; Thu, 20 Aug 2015 15:15:03 +0000 (UTC) Received: (qmail 46646 invoked by uid 500); 20 Aug 2015 15:15:03 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 46585 invoked by uid 500); 20 Aug 2015 15:15:03 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 46575 invoked by uid 99); 20 Aug 2015 15:15:03 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2015 15:15:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ACF5319B31B for ; Thu, 20 Aug 2015 15:15:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.651 X-Spam-Level: **** X-Spam-Status: No, score=4.651 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_INFOUSMEBIZ=0.75, KAM_LIVE=1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=wso2.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0ZnCTHxRXTIt for ; Thu, 20 Aug 2015 15:14:49 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id A2AAE42B65 for ; Thu, 20 Aug 2015 15:14:48 +0000 (UTC) Received: by iodv127 with SMTP id v127so49450568iod.3 for ; Thu, 20 Aug 2015 08:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jd7oFo0fG80H2jJbPy9oJzAtNgntVtfVVUFMx526lI4=; b=Bado3F1oy941Y9r1V6aHhW/GiiFF5GST0gbfN9Of2bA9CiFFDdaYByT/IKmljnzgfF 0Ir+U2qz6Ss7ODXIygjuKX4SKRw3C1iC5ZrhYhXUePBOtueoXJGeLSA+kYmxJb8/API4 fxz/xsf8uAbI17cuwtFXMBHspRVPi/FtMp5As= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=jd7oFo0fG80H2jJbPy9oJzAtNgntVtfVVUFMx526lI4=; b=TkDU0yLFQeEjfY6An2R4gP1QlOHksBQ87HSwwPGz8ZrHHTFQLbnu1/VUTsPWMKkAfn NzSlMQ1QETdXFloc+INF0wejgJpiovL5CuAtH2jsUI24CiONuQuq7+spPcE9pJDPrrEv r+2P8IgiI+MwWwWIlZzomlzJNScDODXOnQg/gq0LW4FvNfW0gkbnh2lJFritj+zuNqUm 28CHq6Um/wEOpYYtKz70IefS0m7+hmnx/ztzETpy/oKSm9o6n2/ANHC14ndG8c2HpvPT 55Pl4BnMMf/b6DEwX+Qxhh8Xx/nBVhUx7s33aaFuxVtGqNaSFo47a5ehY3Ksa53DVk+0 OCzA== X-Gm-Message-State: ALoCoQlGNIbic7yLNuDj+bfvDx8suLYD6eV0Q8i9FhiQ/xo0E4/7fz2iwCTaxKDdzTiFOMo9myDl X-Received: by 10.107.19.81 with SMTP id b78mr3404517ioj.36.1440083688198; Thu, 20 Aug 2015 08:14:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.120.26 with HTTP; Thu, 20 Aug 2015 08:14:08 -0700 (PDT) In-Reply-To: References: From: Udara Liyanage Date: Thu, 20 Aug 2015 20:44:08 +0530 Message-ID: Subject: Re: Getting "hardwareId(t2.micro) not found" Error To: dev Content-Type: multipart/alternative; boundary=001a113f2d98aea1d8051dbf9c02 --001a113f2d98aea1d8051dbf9c02 Content-Type: text/plain; charset=UTF-8 HI Vishanth, Free tier is eligible for t2.micro. As Akila mentioned, it may be AMI you have choosed is larger than micro. Does it allows from UI? On Thu, Aug 20, 2015 at 8:02 PM, Akila Ravihansa Perera wrote: > Great. You are eligible to use t2.micro but only for certain base images > (Amazon Linux AMIs) > > On Thu, Aug 20, 2015 at 7:43 PM, Vishanth Balasubramaniam < > vishanthb@wso2.com> wrote: > >> Hi, >> >> "t1.micro" solves that issue. In my own free ec2 account I thought I was >> only eligible to use t2.micro. >> >> Thank you, >> Vishanth >> >> On Thu, Aug 20, 2015 at 7:28 PM, Pubudu Gunatilaka >> wrote: >> >>> Hi all, >>> >>> Found something related to this issue in [1]. According to that t2 >>> instances are supported in EC2 VPC platform. May be you are using >>> EC2-classic platform. >>> >>> [1] - >>> http://serverfault.com/questions/617865/amazon-ec2-t1-micro-instance >>> >>> Thank you! >>> >>> On Thu, Aug 20, 2015 at 7:22 PM, Akila Ravihansa Perera < >>> ravihansa@wso2.com> wrote: >>> >>>> Hi Vishanth, >>>> >>>> Can you share your cartridge definition? The "instanceType" property in >>>> iaasProvider section should be "t1.micro". Also note that some regions do >>>> not support 'micro' instance type. Here is a sample that I tried [1]. You >>>> can use the base image defined in that which is a public image configured >>>> with Puppet agent. >>>> >>>> [1] http://pastebin.com/fSXkbVrM >>>> >>>> Thanks. >>>> >>>> On Thu, Aug 20, 2015 at 7:07 PM, Vishanth Balasubramaniam < >>>> vishanthb@wso2.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am getting the following error when I try to deploy a single php >>>>> cartridge application in ec2. >>>>> >>>>> [2015-08-20 18:41:34,217] ERROR >>>>>> {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - >>>>>> *Could not initialize jclouds >>>>>> IaaSorg.apache.stratos.cloud.controller.exception.InvalidIaasProviderException: >>>>>> Could not build iaas of type: ec2-east* >>>>>> at >>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFromImage(JcloudsIaasUtil.java:50) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplate(JcloudsIaasUtil.java:37) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.initialize(JcloudsIaas.java:100) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.domain.IaasProvider.getIaas(IaasProvider.java:224) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:93) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:51) >>>>>> at >>>>>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:31) >>>>>> 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:745) >>>>>> *Caused by: java.util.NoSuchElementException: hardwareId(t2.micro) >>>>>> not found* >>>>> >>>>> >>>>> @Akila, did you try out with t2.micro? >>>>> >>>>> Any help on this is appreciated. >>>>> >>>>> Regards, >>>>> Vishanth >>>>> >>>>> -- >>>>> *Vishanth Balasubramaniam* >>>>> Committer & PMC Member, Apache Stratos, >>>>> Software Engineer, WSO2 Inc.; http://wso2.com >>>>> >>>>> mobile: *+94771737718* >>>>> about me: *http://about.me/vishanth * >>>>> >>>> >>>> >>>> >>>> -- >>>> Akila Ravihansa Perera >>>> WSO2 Inc.; http://wso2.com/ >>>> >>>> Blog: http://ravihansa3000.blogspot.com >>>> >>> >>> >>> >>> -- >>> >>> *Pubudu Gunatilaka* >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> lean.enterprise.middleware >>> mobile: +94 77 4078049 >>> >> >> >> >> -- >> *Vishanth Balasubramaniam* >> Committer & PMC Member, Apache Stratos, >> Software Engineer, WSO2 Inc.; http://wso2.com >> >> mobile: *+94771737718* >> about me: *http://about.me/vishanth * >> > > > > -- > Akila Ravihansa Perera > WSO2 Inc.; http://wso2.com/ > > Blog: http://ravihansa3000.blogspot.com > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 --001a113f2d98aea1d8051dbf9c02 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI Vishanth,

Free tier is eligible for = t2.micro. As Akila mentioned, it may be AMI you have choosed is larger than= micro. Does it allows from UI?

<= div class=3D"gmail_quote">On Thu, Aug 20, 2015 at 8:02 PM, Akila Ravihansa = Perera <ravihansa@wso2.com> wrote:
Great. You are eligible to use t2.micro but = only for certain base images (Amazon Linux AMIs)

On Thu, Aug 20, 2015 at 7:43 PM, Vishanth Balasubramaniam <vishanthb@ws= o2.com> wrote:
Hi,

"t1.micro" solves that issue. In my o= wn free ec2 account I thought I was only eligible to use t2.micro.

Thank you,
Vishanth

On Thu, Aug 20, 2015 at = 7:28 PM, Pubudu Gunatilaka <pubudug@wso2.com> wrote:
Hi all,

Found= something related to this issue in [1]. According to that t2 instances are= supported in EC2 VPC platform. May be you are using EC2-classic platform.<= /div>


Thank you!

On Thu, Aug 20, 2015 at 7:22 PM, Akila Ravihansa Per= era <ravihansa@wso2.com> wrote:
Hi Vishanth,

Can you share your = cartridge definition? The "instanceType" property in iaasProvider= section should be "t1.micro". Also note that some regions do not= support 'micro' instance type. Here is a sample that I tried [1]. = You can use the base image defined in that which is a public image configur= ed with Puppet agent.

<= div>
On Thu, Aug 20, 2015 at 7:07 PM, Vishant= h Balasubramaniam <vishanthb@wso2.com> wrote:
Hi,

I am getting t= he following error when I try to deploy a single php cartridge application = in ec2.

[2015-08-20 18:41:34,217]= ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} -=C2=A0 = Could not initialize jclouds IaaS
org.apache.stratos.cloud.controller.ex= ception.InvalidIaasProviderException: Could not build iaas of type: ec2-eas= t

at org.apache.stratos= .cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFrom= Image(JcloudsIaasUtil.java:50)
at org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComp= uteServiceAndTemplate(JcloudsIaasUtil.java:37)
at org.apache.stratos.cloud.controller.iaases.JcloudsIa= as.initialize(JcloudsIaas.java:100)
at org.apache.stratos.cloud.controller.domain.IaasProvider.getIaas= (IaasProvider.java:224)
at = org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUti= l.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:93) at org.apache.stratos.cloud.= controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCal= lable.java:51)
at org.apach= e.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(Parti= tionValidatorCallable.java:31)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExec= utor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thr= eadPoolExecutor.java:615)
a= t java.lang.Thread.run(Thread.java:745)
Caused by: java.util.NoSuchEl= ementException: hardwareId(t2.micro) not found

@Akila, did you try out with t2.micro?

Any help on this is appreciated.

Regards,=
Vishanth

--
Vishanth Balasubramaniam
Committer & = PMC Member, Apache Stratos,
Software Engineer,=C2= =A0WSO2 Inc.;=C2=A0http://= wso2.com



<= font color=3D"#888888">--
<= div>Akila Ravihansa Perera
WSO2 Inc.;=C2=A0=C2=A0http://wso2.com/

Blog: http://ravihansa3000.blogspot.com
=



<= font color=3D"#888888">--
<= b>Pubudu Gunatilaka
Software Engineer
WSO2, Inc.:=C2=A0<= font face=3D"arial, helvetica, sans-serif">http://wso2.com
lean.enterprise.middleware
=
mobile:=C2=A0=C2=A0+94 77 4078049



--
Vishanth Balasubramaniam
Committer & PMC Member, = Apache Stratos,
Software Engineer,=C2=A0WSO2 Inc.;=C2=A0http://wso2.com

mobile:=C2=A0+94771737718

about me: http://about.me/vishanth
<= /u>



--
=
Akila Ravihansa Perera
= WSO2 Inc.;=C2=A0=C2=A0http://wso2.com/<= br>
Blog: http://ravihansa3000.blogspot.com



--
=
Udara Liyanage
Software Engineer
WSO2, Inc.:=C2=A0http://wso2.com
lean. enterprise. middleware

<= /span>
phone:=C2= =A0+94 71 443 6897=
--001a113f2d98aea1d8051dbf9c02--