Issue with Fuse Fabric & Cloud Container (jclouds error - cloudstack)

64 views
Skip to first unread message

ch0...@gmail.com

unread,
Jan 28, 2013, 4:51:52 AM1/28/13
to fusef...@googlegroups.com
Hi,

I'm currently testing Fuse Fabric 7.1-047 with cloudstack provider. I'm able to connect to the cloudstack infrastructure using the following commands (imageList, hardwareList, ...) 

jclouds:hardware-list --provider cloudstack --identity EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg --credential 3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g

jclouds:image-list --provider cloudstack --identity EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg --credential 3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g

jclouds:node-list --provider cloudstack --identity EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg --credential 3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g


but when I try to create a new fabric container in the cloud, I get the following exception from jclouds :

FuseFabric:karaf@root> fabric:container-create-cloud --api cloudstack --identity EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg --credential 3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g  --name cloudstack-fabric --hardwareId ee9d812e-dd25-4e8f-83ed-1d0d22f39b5b --imageId 5c0b75a8-6927-11e2-a8a4-5c260a0287e9  fabric-cloud
Looking up for compute service.
Creating 1 nodes in the cloud. Using image id: 5c0b75a8-6927-11e2-a8a4-5c260a0287e9. It may take a while ...
                  [id] [container]                    [public addresses]             [status]                       
                                                      []                             error running 1 node group(fabric) location(320d876d-741c-4e71-9a1c-5a9e7838dd50) image(5c0b75a8-6927-11e2-a8a4-5c260a0287e9) size(ee9d812e-dd25-4e8f-83ed-1d0d22f39b5b) options({taskName=bootstrap, scriptPresent=true})
Execution failures:

1) ExecutionException on fabric-ae0:
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 168
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 168
at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeWithParameterizedConstructorSerializeWithDelegate.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:173)
at org.jclouds.json.internal.IgnoreNullMapTypeAdapterFactory$1.read(IgnoreNullMapTypeAdapterFactory.java:74)
at org.jclouds.json.internal.IgnoreNullMapTypeAdapterFactory$1.read(IgnoreNullMapTypeAdapterFactory.java:58)
at com.google.gson.TypeAdapter$1.read(TypeAdapter.java:199)
at com.google.gson.Gson.fromJson(Gson.java:791)
at com.google.gson.Gson.fromJson(Gson.java:757)
at com.google.gson.Gson.fromJson(Gson.java:706)
at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:47)
at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:86)
at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:80)
at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:66)
at org.jclouds.http.functions.UnwrapOnlyJsonValue.apply(UnwrapOnlyJsonValue.java:46)
at org.jclouds.http.functions.UnwrapOnlyJsonValue.apply(UnwrapOnlyJsonValue.java:34)
at com.google.common.util.concurrent.Futures$3.apply(Futures.java:376)
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:518)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170)
at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125)
at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy137.createNodesInGroup(Unknown Source)
at org.fusesource.fabric.service.jclouds.JcloudsContainerProvider.create(JcloudsContainerProvider.java:212)
at org.fusesource.fabric.service.jclouds.JcloudsContainerProvider.create(JcloudsContainerProvider.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy35.create(Unknown Source)
at org.fusesource.fabric.service.FabricServiceImpl.createContainers(FabricServiceImpl.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy34.createContainers(Unknown Source)
at org.fusesource.fabric.service.jclouds.commands.ContainerCreateCloud.doExecute(ContainerCreateCloud.java:133)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)
at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170)
at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125)
at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy137.createNodesInGroup(Unknown Source)
at org.fusesource.fabric.service.jclouds.JcloudsContainerProvider.create(JcloudsContainerProvider.java:212)
at org.fusesource.fabric.service.jclouds.JcloudsContainerProvider.create(JcloudsContainerProvider.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy35.create(Unknown Source)
at org.fusesource.fabric.service.FabricServiceImpl.createContainers(FabricServiceImpl.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at $Proxy34.createContainers(Unknown Source)
at org.fusesource.fabric.service.jclouds.commands.ContainerCreateCloud.doExecute(ContainerCreateCloud.java:133)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)

INFO :

FuseFabric:karaf@root> info
Karaf
  Karaf version               2.3.0.fuse-71-047
  Karaf home                  /home/cmoulliard/MyApplications/fuse-fabric-7.1.0.fuse-047
  Karaf base                  /home/cmoulliard/MyApplications/fuse-fabric-7.1.0.fuse-047
  OSGi Framework              org.apache.felix.framework - 4.0.3.fuse-71-047

JVM
  Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM version 23.5-b02
  Version                     1.7.0_09


This is more a jclouds/cloudstack error but How can we figure out this JSON parsing issue ?

Regards,

Charles

Ioannis Canellos

unread,
Jan 28, 2013, 5:09:44 AM1/28/13
to fusef...@googlegroups.com
This is more a jclouds/cloudstack error but How can we figure out this JSON parsing issue ?
Hey Charles. I agree. This is possibly an inconsistency between the cloudstack version you are using and the jclouds one.
I think that if you use debug logging you could get more info regarding the issue.

If I am not mistaken the api version supported by the version of jclouds we are using is 3.0.3. What is the version you are using?

ch0...@gmail.com

unread,
Jan 28, 2013, 5:40:04 AM1/28/13
to fusef...@googlegroups.com
I'm using CloudStack 4.1

Put org.jclouds in DEBUG and able to get HTTP requests :

Problem occurs after request number 10)


--> OK


-->  OK

201

--> OK


--> OK


--> OK


--> OK


--> OK

SEE A WARNING IN THE LOG

2013-01-28 11:29:07,728 | WARN  | user thread 8    | GetCurrentUser                   | clouds.logging.log4j.Log4JLogger   78 | 115 - jclouds-log4j - 1.5.3 | Expecting an user account: User{id=71df4346-6927-11e2-a8a4-5c260a0287e9, name=admin, firstName=Admin, lastName=User, email=ad...@mailprovider.com, created=Mon Jan 28 10:48:10 CET 2013, state=enabled, account=admin, accountType=1, domain=ROOT, domainId=717e7ba2-6927-11e2-a8a4-5c260a0287e9, timeZone=null, apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg, secretKey=3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g}



--> OK


--> OK


--> OK

2013-01-28 11:29:07,324 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking TemplateAsyncClient.listTemplates
2013-01-28 11:29:07,328 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request 2004236000: GET http://localhost:8080/client/api?response=json&command=listTemplates&listAll=true&templatefilter=executable&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=4U2XntqKcw%2FCjwYH66h1ZPtHSgc%3D HTTP/1.1
2013-01-28 11:29:07,378 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response 2004236000: HTTP/1.1 200 OK
2013-01-28 11:29:07,384 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking GuestOSAsyncClient.listOSTypes
2013-01-28 11:29:07,387 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request 584506727: GET http://localhost:8080/client/api?response=json&command=listOsTypes&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=%2B38lwPdmjTE%2FFawEJrhvfIg2obQ%3D HTTP/1.1
2013-01-28 11:29:07,561 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response 584506727: HTTP/1.1 200 OK
2013-01-28 11:29:07,571 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking GuestOSAsyncClient.listOSCategories
2013-01-28 11:29:07,573 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request -1561065379: GET http://localhost:8080/client/api?response=json&command=listOsCategories&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=uBy9Uw7tsRxS6b2C8%2BHafvyyIAg%3D HTTP/1.1
2013-01-28 11:29:07,591 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response -1561065379: HTTP/1.1 200 OK
2013-01-28 11:29:07,596 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking OfferingAsyncClient.listServiceOfferings
2013-01-28 11:29:07,598 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request -1986523675: GET http://localhost:8080/client/api?response=json&command=listServiceOfferings&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=9ByX55LPFH7ThsCeI0jptTrkafk%3D HTTP/1.1
2013-01-28 11:29:07,618 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response -1986523675: HTTP/1.1 200 OK
2013-01-28 11:29:07,627 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking ZoneAsyncClient.listZones
2013-01-28 11:29:07,629 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request 1772486401: GET http://localhost:8080/client/api?response=json&command=listZones&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=YbzYD8Qd3GCRFdppj8B2%2F%2FqGFZo%3D HTTP/1.1
2013-01-28 11:29:07,644 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response 1772486401: HTTP/1.1 200 OK
2013-01-28 11:29:07,648 | DEBUG | l Console Thread | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking VirtualMachineAsyncClient.listVirtualMachines
2013-01-28 11:29:07,649 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request -1982833817: GET http://localhost:8080/client/api?response=json&command=listVirtualMachines&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=UOF6MQ42%2Fi%2FeH29ZcxAxkXMJvD8%3D HTTP/1.1
2013-01-28 11:29:07,681 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response -1982833817: HTTP/1.1 200 OK
2013-01-28 11:29:07,688 | DEBUG | user thread 8    | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking AccountAsyncClient.listAccounts
2013-01-28 11:29:07,690 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request 1273296515: GET http://localhost:8080/client/api?response=json&command=listAccounts&listAll=true&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=JQPhY%2FAvojCnEkUHpSmF02WY050%3D HTTP/1.1
2013-01-28 11:29:07,722 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response 1273296515: HTTP/1.1 200 OK
2013-01-28 11:29:07,728 | WARN  | user thread 8    | GetCurrentUser                   | clouds.logging.log4j.Log4JLogger   78 | 115 - jclouds-log4j - 1.5.3 | Expecting an user account: User{id=71df4346-6927-11e2-a8a4-5c260a0287e9, name=admin, firstName=Admin, lastName=User, email=ad...@mailprovider.com, created=Mon Jan 28 10:48:10 CET 2013, state=enabled, account=admin, accountType=1, domain=ROOT, domainId=717e7ba2-6927-11e2-a8a4-5c260a0287e9, timeZone=null, apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg, secretKey=3EKSwOBYI3NdV-98L6FR0-a8w7t9XZP6liqp4_eniSum9dT7e6oKO7fGE5_IE6KLaqEJY9vNDZHo0IBXgz_O2g}
2013-01-28 11:29:07,732 | DEBUG | user thread 8    | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking NetworkAsyncClient.listNetworks
2013-01-28 11:29:07,734 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request -514241315: GET http://localhost:8080/client/api?response=json&command=listNetworks&listAll=true&account=admin&domainid=717e7ba2-6927-11e2-a8a4-5c260a0287e9&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=gpWYtHd%2Fs3RaIoiwXOp6mxbhYBc%3D HTTP/1.1
2013-01-28 11:29:07,779 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response -514241315: HTTP/1.1 200 OK
2013-01-28 11:29:07,782 | DEBUG | user thread 8    | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking ZoneAsyncClient.getZone
2013-01-28 11:29:07,784 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Sending request 313471171: GET http://localhost:8080/client/api?response=json&command=listZones&listAll=true&id=320d876d-741c-4e71-9a1c-5a9e7838dd50&apiKey=EqYwkeuZnxxdkx-HnFOkCN5KkfCWyypfX5KVcX37116twCOXBau0QUWYB4pjHd8RyHn7kDP_rZnwGkpQWD4Qxg&signature=TGpm%2FGQC1xa%2FbuvWDm9dZXWP6Uk%3D HTTP/1.1
2013-01-28 11:29:07,798 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response 313471171: HTTP/1.1 200 OK
2013-01-28 11:29:07,800 | INFO  | user thread 8    | compute                          | clouds.logging.log4j.Log4JLogger   69 | 115 - jclouds-log4j - 1.5.3 | serviceOfferingId ee9d812e-dd25-4e8f-83ed-1d0d22f39b5b, templateId 5c0b75a8-6927-11e2-a8a4-5c260a0287e9, zoneId 320d876d-741c-4e71-9a1c-5a9e7838dd50, options [formParameters={}, headers={}, matrixParameters={}, pathSuffix=null, payload=null, queryParameters={displayname=[fabric-44b], name=[fabric-44b]}]

2013-01-28 11:29:07,802 | DEBUG | user thread 8    | AsyncRestClientProxy             | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Invoking VirtualMachineAsyncClient.deployVirtualMachineInZone
2013-01-28 11:29:08,238 | DEBUG | i/o thread 0     | avaUrlHttpCommandExecutorService | clouds.logging.log4j.Log4JLogger   60 | 115 - jclouds-log4j - 1.5.3 | Receiving response -126357704: HTTP/1.1 200 OK

ch0...@gmail.com

unread,
Jan 28, 2013, 5:48:31 AM1/28/13
to fusef...@googlegroups.com, ch0...@gmail.com
A fuse-ae0 instance has been well created on the cloudstack infrastructure (I can connect to this instance using cloudstack web ui client)
So the error that we have here is generated after that cloudstack creates the instance. That means that with the content provided in the HTTP response it is not parsed correctly by the API of jclouds/cloudstack. 

Ioannis Canellos

unread,
Jan 28, 2013, 5:53:52 AM1/28/13
to fusef...@googlegroups.com
AFAIR jclouds is tested against 2.x and 3.x version of the cloudstack API. It is supposed to work with 4.x which has very minimal changes in the API, but I guess that you bumped into an issue there.


-- 
Ioannis Canellos

--
 
 

Charles Moulliard

unread,
Jan 28, 2013, 6:03:59 AM1/28/13
to fusef...@googlegroups.com
I have posted a message on jclouds-dev group - https://groups.google.com/forum/#!topic/jclouds-dev/NPw8qlEL3TE
As the issue tracker is empty (http://code.google.com/p/jclouds/issues/list) where can we raise a ticket ?

Charles Moulliard

Apache Committer

Blog : http://cmoulliard.blogspot.com | Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard


--
 
 

Ioannis Canellos

unread,
Jan 28, 2013, 6:53:50 AM1/28/13
to fusef...@googlegroups.com
jclouds is using the github for issue tracking.


--
Ioannis Canellos

Twitter: iocanel

doronr...@gmail.com

unread,
Jan 28, 2013, 11:41:55 AM1/28/13
to fusef...@googlegroups.com, ch0...@gmail.com

There are many companies interested in our track consumer behavior. Recently it was revealed that Apple and Android track the GPS locations of users in some versions of the operating system. There are vehicles which are installed in gps car tracking to always be possible to know what their position, not only in the case of auto theft. There are special uses for container tracking and for applications. Monitoring the location of all devices

Reply all
Reply to author
Forward
0 new messages