incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Tripathi (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-1371) In case ResourceAllocationException, server is not returning any response.
Date Fri, 22 Feb 2013 10:50:13 GMT


Sanjay Tripathi commented on CLOUDSTACK-1371:


I think this is because the limits are not only applicable to accounts, admin can impose the
limits on domain also. Any way i will look into these exception and also the limit resource
code to see if any exception change is required or not.

> In case ResourceAllocationException, server is not returning any response.
> --------------------------------------------------------------------------
>                 Key: CLOUDSTACK-1371
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.1.0
>         Environment: Master branch latest code
>            Reporter: Sanjay Tripathi
>            Assignee: Sanjay Tripathi
>             Fix For: 4.2.0
> If user tries to cross resource limits assigned for his/her account, MS throws ResourceAllocationException
but server is not returning any response and throwing ClassCastException.
> MS logs:
> ERROR [cloud.api.ApiServlet] (13967358@qtp-22973293-13:) unknown exception writing api
> java.lang.ClassCastException: cannot
be cast to
>         at org.apache.cloudstack.api.ServerApiException.<init>(
>         at
>         at net.sf.cglib.proxy.MethodProxy.invoke(
>         at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
>         at
>         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke( ........

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:

View raw message