Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-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 3388A18DF4 for ; Thu, 9 Jul 2015 07:50:59 +0000 (UTC) Received: (qmail 15150 invoked by uid 500); 9 Jul 2015 07:50:59 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 15117 invoked by uid 500); 9 Jul 2015 07:50:59 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 15105 invoked by uid 99); 9 Jul 2015 07:50:58 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 07:50:58 +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 5EB281817A4 for ; Thu, 9 Jul 2015 07:50:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.098 X-Spam-Level: X-Spam-Status: No, score=-0.098 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id X4OjtY471CJ9 for ; Thu, 9 Jul 2015 07:50:47 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9D80820DD2 for ; Thu, 9 Jul 2015 07:50:46 +0000 (UTC) Received: by widjy10 with SMTP id jy10so237117228wid.1 for ; Thu, 09 Jul 2015 00:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=9gDlmvJvCk4BC3i5CGyFGtSWrhyorR5pVxE4864ultY=; b=UdSpa2yLWOYAKb7L4moyZ5FL9ECuwITLsZRXCgN76nX8opPaypqca8uS3hNesjG67q 6LxqR4PVgV5VUvwRPQ6+Hvzj7MVGRFQEkBO8gJSgX59seyNnhj/NQjwRnYrxNpC3bk7T k4PonTzu5il6wSN9ru6CnNhHLSYBa/18I5w2qzdLh7kNcwQmteLfURDOziNmxbbh0ndb nlzXF/YyVKzUpQRYdwr2UN2qNVkKB62Bmg4bxLBzb0RfPLcqaiR0np17WB+mwFcCIu8z 03MS/+WPMDdAv09CUaZLKLWdPae4RbtEdfJ6B9v8M9dJH+bOJ1ZhswfdGCsm4s+NCzRI Su7A== X-Received: by 10.180.10.101 with SMTP id h5mr82837903wib.94.1436428246116; Thu, 09 Jul 2015 00:50:46 -0700 (PDT) Received: from Aleds-MacBook-Pro.local ([212.159.201.130]) by smtp.googlemail.com with ESMTPSA id da5sm502574wib.6.2015.07.09.00.50.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 00:50:45 -0700 (PDT) Subject: Re: OpenStack connection not working To: dev@brooklyn.incubator.apache.org, chechu.linux@gmail.com References: <559E2477.9060609@uni-ulm.de> From: Aled Sage Message-ID: <559E27D5.6040308@gmail.com> Date: Thu, 9 Jul 2015 09:50:45 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <559E2477.9060609@uni-ulm.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks Daniel. You could try with Brooklyn 0.7.0-SNAPSHOT [1]. This now depends on jclouds 1.9.0. That will be easier/safer than modifying 0.7.0-M2 to depend on a different jclouds version. We'll hopefully release a Brooklyn 0.7.0 GA in the next couple of weeks. Aled [1] https://brooklyn.incubator.apache.org/v/0.7.0-SNAPSHOT/misc/download.html On 09/07/2015 09:36, Daniel Seybold wrote: > Hi Jesus, > > I assume you are using Brooklyn 0.7.0-M2 > > I've struggled with the exactly same problem quite a long time when I > tried to get Brookyln running in our Openstack environment. > > The issue is connected with Openstack itself, Jclouds and the way > Brooklyn uses Jclouds. > > The simple solution is: Your tenant mustn't have any Images created > from Snapshots visible. Then it will work. > > A more detailed explanation: > > - If you are creating Images from Snapshots in Openstack the metadata > of this image will contain not only key-value paris but also more > complex objects [1] > - Jclouds will parse this metadata fields but Jclouds is using GSON > and assumes there are only key-value pairs like stated in the > Openstack Spec [2] > - Jclouds is aware of this issue and it is fixed in Version 1.8.2 > however Brooklyn uses 1.8.0 in 0.7.0-M2 [3] > - Regarding Jclouds the error will only occurs if you are using the > *listInDetail > *() > function brooklyn does, for the *list > *() > function it should work fine [3] > > So either you have to upgrade manually the JClouds Version or remove > all Images created from Snapshots. > > Unfortunately for me upgrading of Jclouds didn't work because the > maven build crashed because of wrong dependcies. But I didn't spend > much time in trying to fix the dependencies. > > [1] https://bugs.launchpad.net/nova/+bug/1354587 > [2] http://developer.openstack.org/api-ref-compute-v2.html#compute_images > [3] https://issues.apache.org/jira/browse/JCLOUDS-655 > [4] > https://jclouds.apache.org/reference/javadoc/1.8.x/org/jclouds/openstack/glance/v1_0/features/ImageApi.html > > Cheers, > Daniel > > > Am 09.07.2015 um 00:58 schrieb Jesus arteche: >> hey guys, >> >> I'm trying to connect with Brooklyn to my OpenStack deployment. Brooklyn >> (last version available on the web) is deployed over an Ubuntu VM on my >> OpenStack deployment, so it can hit the API URL. >> >> This is my properties file, the section for OpenStack: >> >> ## OpenStack Nova access information can be downloaded from the >> openstack >> web interface; for example, as openrc.sh file >> #brooklyn.location.named.ICOS=jclouds:openstack-nova: >> https://192.168.101.10:5000/v2.0 >> brooklyn.location.named.ICOS.identity=CustEnablement:chechu >> brooklyn.location.named.ICOS.credential=my_password >> brooklyn.location.named.ICOS.endpoint=https://192.168.101.10:5000/v2.0 >> brooklyn.location.named.ICOS.location=RegionOne >> >> ## The ID of the image must be configured according to the local >> OpenStack >> settings >> ## Use the command nova image-list to list all the available images >> ## Use the command nova show to get more details >> brooklyn.location.named.ICOS.imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5 >> >> >> ## Virtual Machine flavors must match the ones created upfront >> according to >> the local OpenStack settings >> ## Use the command nova flavor-list to list all the available options >> ## Use the command nova flavor-show to get more details >> brooklyn.location.named.ICOS.hardwareId=RegionOne/12 >> >> ## (Optional) Configurations >> >> # brooklyn.location.named.My\ >> OpenStack.user=user-name-inside-the-instance >> >> ## The keyPair must by created upfront. Both the following two >> options are >> required at the same time. >> brooklyn.location.named.ICOS.keyPair=chechu >> brooklyn.location.named.ICOS.loginUser.privateKeyFile=/home/ibmcloud/chechu.key >> >> >> >> An this is the error when I try to deploy the yaml example (changing teh >> location) from the website ( >> https://brooklyn.incubator.apache.org/v/latest/start/blueprints.html#launching-from-a-blueprint) >> >> : >> >> 2015-07-08 22:56:59,358 INFO Launched from YAML: >> io.brooklyn.camp.spi.AssemblyTemplate@5c0d2ce2[id=fGm9fzhN; >> type=AssemblyTemplate] -> BasicApplicationImpl{id=Vw9IzYmS} >> (Task[start:XHUmoFSe]) >> 2015-07-08 22:56:59,514 INFO Starting MySqlNodeImpl{id=NTTOCdTC}, >> obtaining a new location instance in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> with ports [22, 3306] >> 2015-07-08 22:56:59,624 INFO Starting NginxControllerImpl{id=GBuUTYMh}, >> obtaining a new location instance in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> with ports [22, 8000] >> 2015-07-08 22:56:59,666 INFO Resize >> DynamicWebAppClusterImpl{id=etkYQH8o} >> from 0 to 1 >> 2015-07-08 22:56:59,804 INFO Starting JBoss7ServerImpl{id=xBJP1cIK}, >> obtaining a new location instance in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> with ports [22, 9443, 10999, 8443, 8080, 9990] >> 2015-07-08 22:57:01,147 INFO Creating VM openstack-nova: >> https://192.168.101.10:5000/v2.0@MySqlNodeImpl{id=NTTOCdTC} in >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0 >> >> ] >> 2015-07-08 22:57:01,532 INFO Creating VM openstack-nova: >> https://192.168.101.10:5000/v2.0@JBoss7ServerImpl{id=xBJP1cIK} in >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0 >> >> ] >> 2015-07-08 22:57:01,945 INFO Creating VM openstack-nova: >> https://192.168.101.10:5000/v2.0@NginxControllerImpl{id=GBuUTYMh} in >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0 >> >> ] >> 2015-07-08 22:57:02,867 ERROR Error parsing input >> com.google.gson.JsonIOException: java.net.URISyntaxException: Malformed >> escape pair at index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at >> com.google.gson.internal.bind.TypeAdapters$19.read(TypeAdapters.java:460) >> >> ~[gson-2.2.2.jar:na] >> Caused by: java.net.URISyntaxException: Malformed escape pair at >> index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_79] >> 2015-07-08 22:57:02,874 WARN Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> (rethrowing): org.jclouds.http.HttpResponseException: Error parsing >> input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,875 INFO Loading available images at >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> for reference... >> 2015-07-08 22:57:02,879 WARN Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> (rethrowing): org.jclouds.http.HttpResponseException: Error parsing >> input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,880 ERROR Failed to start VM for openstack-nova: >> https://192.168.101.10:5000/v2.0@NginxControllerImpl{id=GBuUTYMh}: >> Unable >> to match required VM template constraints >> PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,881 WARN Error loading available images to report >> (following original error matching template which will be rethrown): >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:67) >> ~[jclouds-core-1.8.0.jar:1.8.0] >> Caused by: com.google.gson.JsonIOException: java.net.URISyntaxException: >> Malformed escape pair at index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at >> com.google.gson.internal.bind.TypeAdapters$19.read(TypeAdapters.java:460) >> >> ~[gson-2.2.2.jar:na] >> Caused by: java.net.URISyntaxException: Malformed escape pair at >> index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_79] >> 2015-07-08 22:57:02,883 ERROR Failed to start VM for openstack-nova: >> https://192.168.101.10:5000/v2.0@JBoss7ServerImpl{id=xBJP1cIK}: >> Unable to >> access cloud JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,883 WARN Attempt #1/1 to obtain machine threw >> error: >> java.lang.IllegalStateException: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,882 WARN Attempt #1/1 to obtain machine threw >> error: >> java.lang.IllegalStateException: Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,898 WARN Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> (rethrowing): org.jclouds.http.HttpResponseException: Error parsing >> input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,898 ERROR Failed to start VM for openstack-nova: >> https://192.168.101.10:5000/v2.0@MySqlNodeImpl{id=NTTOCdTC}: Unable to >> match required VM template constraints >> PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,899 WARN Attempt #1/1 to obtain machine threw >> error: >> java.lang.IllegalStateException: Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,907 WARN Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,910 WARN Error invoking start at >> NginxControllerImpl{id=GBuUTYMh}: Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:02,951 ERROR Cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} >> failed to start entity JBoss7ServerImpl{id=xBJP1cIK} (removing): >> java.lang.IllegalStateException: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> java.lang.IllegalStateException: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> at >> brooklyn.location.jclouds.JcloudsLocation.buildTemplate(JcloudsLocation.java:1070) >> >> ~[brooklyn-locations-jclouds-0.7.0-M2-incubating.jar:0.7.0-M2-incubating] >> >> Caused by: org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:67) >> ~[jclouds-core-1.8.0.jar:1.8.0] >> Caused by: com.google.gson.JsonIOException: java.net.URISyntaxException: >> Malformed escape pair at index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at >> com.google.gson.internal.bind.TypeAdapters$19.read(TypeAdapters.java:460) >> >> ~[gson-2.2.2.jar:na] >> Caused by: java.net.URISyntaxException: Malformed escape pair at >> index 29: >> https://172.20.72.10:8774/v2/%(tenant_id)s/v2/d64bee94af1b44d98dc7c8084b26d9ac/images/7c6195e4-3c20-4069-9803-f74f58e160e7 >> >> at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_79] >> 2015-07-08 22:57:02,952 WARN Error invoking start at >> MySqlNodeImpl{id=NTTOCdTC}: Unable to match required VM template >> constraints PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a] >> >> when trying to provision VM in JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0]; >> >> see list of images in log. Root cause: >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,007 WARN Setting QuarantineGroupImpl{id=Rhy8qGEE} >> on-fire due to problems when expected null / up=null: >> {service-lifecycle-indicators-from-children-and-members=Required >> entity not >> healthy: JBoss7ServerImpl{id=xBJP1cIK}} >> 2015-07-08 22:57:03,283 WARN Service is not up when setting running on >> DynamicWebAppClusterImpl{id=etkYQH8o}; delayed 209ms but Sensor: >> service.isUp (java.lang.Boolean) did not recover from false; >> not-up-indicators={service-not-up-indicators-from-children-and-members=No >> >> entities present} >> 2015-07-08 22:57:03,284 WARN Setting >> DynamicWebAppClusterImpl{id=etkYQH8o} >> on-fire due to problems when expected running, up=false, problems: >> {start=start failed with error: java.lang.IllegalStateException: Node in >> cluster DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking >> start >> at JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]}} >> 2015-07-08 22:57:03,284 WARN Setting >> DynamicWebAppClusterImpl{id=etkYQH8o} >> on-fire due to problems when expected running, up=false, problems: >> {start=start failed with error: java.lang.IllegalStateException: Node in >> cluster DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking >> start >> at JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]}} >> 2015-07-08 22:57:03,287 WARN Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,292 WARN Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,347 WARN Error invoking start at >> ControlledDynamicWebAppClusterImpl{id=T41dKEGf}: 2 of 2 parallel child >> tasks failed, 2 errors including: Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,370 WARN Error invoking start at >> ControlledDynamicWebAppClusterImpl{id=T41dKEGf}: Error invoking start at >> ControlledDynamicWebAppClusterImpl{id=T41dKEGf}: 2 of 2 parallel child >> tasks failed, 2 errors including: Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,651 WARN Service is not up when setting running on >> BasicApplicationImpl{id=Vw9IzYmS}; delayed 204ms but Sensor: >> service.isUp >> (java.lang.Boolean) did not recover from false; >> not-up-indicators={service-lifecycle-indicators-from-children-and-members=None >> >> of the entities are up} >> 2015-07-08 22:57:03,652 WARN Setting BasicApplicationImpl{id=Vw9IzYmS} >> on-fire due to problems when expected running, up=false, problems: >> {service-lifecycle-indicators-from-children-and-members=Required >> entities >> not healthy: ControlledDynamicWebAppClusterImpl{id=T41dKEGf}, >> MySqlNodeImpl{id=NTTOCdTC}} >> 2015-07-08 22:57:03,652 WARN Setting BasicApplicationImpl{id=Vw9IzYmS} >> on-fire due to problems when expected running, up=false, problems: >> {service-lifecycle-indicators-from-children-and-members=Required >> entities >> not healthy: ControlledDynamicWebAppClusterImpl{id=T41dKEGf}, >> MySqlNodeImpl{id=NTTOCdTC}} >> 2015-07-08 22:57:03,783 WARN Error invoking start at >> BasicApplicationImpl{id=Vw9IzYmS}: 2 of 2 parallel child tasks failed, 2 >> errors including: Error invoking start at >> ControlledDynamicWebAppClusterImpl{id=T41dKEGf}: 2 of 2 parallel child >> tasks failed, 2 errors including: Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> 2015-07-08 22:57:03,961 WARN Error invoking start at >> BasicApplicationImpl{id=Vw9IzYmS}: Error invoking start at >> BasicApplicationImpl{id=Vw9IzYmS}: 2 of 2 parallel child tasks failed, 2 >> errors including: Error invoking start at >> ControlledDynamicWebAppClusterImpl{id=T41dKEGf}: 2 of 2 parallel child >> tasks failed, 2 errors including: Error invoking start at >> DynamicWebAppClusterImpl{id=etkYQH8o}: Node in cluster >> DynamicWebAppClusterImpl{id=etkYQH8o} failed: Error invoking start at >> JBoss7ServerImpl{id=xBJP1cIK}: Unable to access cloud >> JcloudsLocation[openstack-nova: >> https://192.168.101.10:5000/v2.0:CustEnablement:chechu/openstack-nova:https://192.168.101.10:5000/v2.0] >> >> to resolve PortableTemplateBuilder[ports=[22], >> imageId=RegionOne/ef28f96b-c9be-409f-b577-c503f50d2da5, >> hardwareId=RegionOne/12, >> imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@14b1bf7a]: >> >> org.jclouds.http.HttpResponseException: Error parsing input >> {statusCode=200, message=OK, headers={Date=[Wed, 08 Jul 2015 22:57:02 >> GMT], >> Connection=[keep-alive], >> X-Compute-Request-Id=[req-a6b50a3a-4a96-4815-a5df-743534966f48]}, >> payload=[content=true, contentMetadata=[contentDisposition=null, >> contentEncoding=null, contentLanguage=null, contentLength=22891, >> contentMD5=null, contentType=application/json, expires=null], >> written=false]} >> >> >> could you help me to make it work? >> >> Thanks >> > >