Hello,
*
*
Working with cloudbridge we observed the following:* *

when invoking the listSSHKeyPairs command, cloudbridge fails to list them,
due to a nullPointerException:

*POST to Cloudbridge:*
Action=DescribeKeyPairs&AWSAccessKeyId=bl_qw5JOOGsNTKatX2Drexptmk7nA1Y7Hh9i-HX8u1ExigSjaR7eqesOl3beuasZ_Nj_60jYZrhvGxghhTq5-A&SignatureMethod=HmacSHA1&SignatureVersion=2&Timestamp=2012-06-21T16%3A38%3A56&Version=2010-11-15&Signature=25i4uoIkXrbOQb1LigUQF0Z14dU%3D

*Cloudbridge translates this to the following command:*
 Executed:
cloudman.tendrilinc.com:8080/client/api?command=listSSHKeyPairs&response=json&apikey=bl_qw5JOOGsNTKatX2Drexptmk7nA1Y7Hh9i-HX8u1ExigSjaR7eqesOl3beuasZ_Nj_60jYZrhvGxghhTq5-A&signature=AkRxpBVClRvPEAtCj4fXmV7M%2B2E%3D

*Hits Cloudstack and gets the following response:*
{ "listsshkeypairsresponse" : { "count":1 ,"sshkeypair" : [
 
{"name":"test-key-pair","fingerprint":"18:72:57:61:33:3b:34:a9:19:a5:ec:45:61:22:4b:d6"}
] } }

*but then, in the log we observe the following trace:*

2012-06-21 10:41:04,880 ERROR [core.ec2.EC2Engine] (catalina-exec-9:) EC2
DescribeKeyPairs -
java.lang.NullPointerException
        at
com.cloud.bridge.service.core.ec2.EC2Engine.describeKeyPairs(EC2Engine.java:683)
        at
com.cloud.bridge.service.EC2RestServlet.describeKeyPairs(EC2RestServlet.java:1631)
        at
com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.java:276)

Full log trace for the call is provided here <http://pastebin.com/eJfh3AdV>.

Are we missing something / is this a known issue?

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.

Reply via email to