cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Rozanec <jroza...@tendrilinc.com>
Subject Json related exception when invoking ec2 command
Date Tue, 29 May 2012 21:07:27 GMT
Hello,

Invoking
./ec2-run-instances -z zone1 -n 1 -t m1.small --connection-timeout 120
--request-timeout 120 208
we are getting the following exception on the cloudbridge log:


   1. returned:
   {"listresourcelimitsresponse":{"count":1,"resourcelimit":[{"account":"devsoa","domainid":"a93fb664-b4df-4839-abbb-0baea5acc940","domain":"ROOT","resourcetype":"0","max":20}]}}
   2. 2012-05-29 14:46:35,852 DEBUG [cloud.stack.CloudStackClient]
   (catalina-exec-11:) Unable to find responseObjName:[resourcelimit].
    Returning null! Exception: The JsonDeserializer LongDeserializer failed to
   deserialized json object "a93fb664-b4df-4839-abbb-0baea5acc940" given the
   type class java.lang.Long


Full stack trace here: http://pastebin.com/9VT9AUBn

It seems it makes a request to do some validations related to resource
limits. It gets a correct response, but it expects to get a long at domainid,
not the uuid string, and this seems to break the call.

Any ideas?
Thanks in advance,

Jose.

 
This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender.
Please note that any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus transmitted by this email.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message