cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2862) CS AWSAPI SOAP calls fail with NPE
Date Tue, 16 Jul 2013 09:08:49 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sailaja Mada closed CLOUDSTACK-2862.
------------------------------------


Regressed with 4.2 branch build.  Issue is fixed now .


[root@ec2 bin]# ./ec2-describe-images
IMAGE   109c7564-f730-453f-9667-80e3abb8df43    /CentOS5.3              available       public
                 machine
BLOCKDEVICEMAPPING                              0
TAG     image   109c7564-f730-453f-9667-80e3abb8df43
IMAGE   8ffd90c2-45d7-4ecd-8cf2-3d5910364d93    /Centos6_2              available       public
                 machine
BLOCKDEVICEMAPPING                              0
TAG     image   8ffd90c2-45d7-4ecd-8cf2-3d5910364d93
[
root@ec2 bin]# ./ec2-describe-tags

[root@ec2 bin]# ./ec2-describe-instances
RESERVATION     1ea6fdbd-1c26-428e-a2e5-bb7991282542    fd3eb4f3-f117-40fd-8bd6-6cbd728a481d:dcuser1
INSTANCE        1ea6fdbd-1c26-428e-a2e5-bb7991282542    109c7564-f730-453f-9667-80e3abb8df43
                   stopped                         Small Instance  2013-07-15T20:06:37+0530
       AdvZone1                             monitoring-             10.1.1.70
TAG     instance        1ea6fdbd-1c26-428e-a2e5-bb7991282542

[root@ec2 bin]# ./ec2-describe-snapshots
SNAPSHOT        ee182500-a52c-4668-8616-22ecdd8e5145    6688fd4c-939c-41e6-9ab2-01351d25d583
   error   2013-07-15T20:45:12+0530        0%      fd3eb4f3-f117-40fd-8bd6-6cbd728a481d:dcuser1
   0   dcuser1i1_ROOT-9_20130715151512
TAG     snapshot        ee182500-a52c-4668-8616-22ecdd8e5145

[root@ec2 bin]# ./ec2-describe-availability-zones
AVAILABILITYZONE        AdvZone1        available               Enabled
[root@ec2 bin]#


Hence closing the bug. 

                
> CS AWSAPI SOAP calls fail with NPE
> ----------------------------------
>
>                 Key: CLOUDSTACK-2862
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2862
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: AWSAPI
>    Affects Versions: 4.2.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.2.0
>
>
> Enable ec2 api flag. Use EC2 API Soap tool to run ec2-describe-availability-zones. 
> Ouput - Server:unknown
> Contents of awsapi.log -
> 2013-05-28 15:53:53,127 WARN  [controller.s3.ServiceProvider] (catalina-exec-int-6:null)
Unhandled exception null java.lang.reflect.InvocationTargetException
>         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:616)
>         at com.cloud.bridge.service.controller.s3.ServiceProvider$2.invoke(ServiceProvider.java:356)
>         at $Proxy67.describeAvailabilityZones(Unknown Source)
>         at com.cloud.bridge.service.EC2SoapService.describeAvailabilityZones(EC2SoapService.java:230)
>         at com.amazon.ec2.AmazonEC2MessageReceiverInOut.invokeBusinessLogic(AmazonEC2MessageReceiverInOut.java:874)
>         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>         at com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:114)
>         at com.cloud.bridge.service.EC2MainServlet.doPost(EC2MainServlet.java:89)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
>         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:679)
> Caused by: java.lang.NullPointerException
>         at com.cloud.bridge.service.EC2SoapServiceImpl.describeAvailabilityZones(EC2SoapServiceImpl.java:359)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         ... 39 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message