You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Abhinav Roy (JIRA)" <ji...@apache.org> on 2013/05/03 13:26:16 UTC
[jira] [Commented] (CLOUDSTACK-1893) [AWS Style Health Checks] UI
hangs when one tries to create health check policy on a LB rule with VR as
LB service provider
[ https://issues.apache.org/jira/browse/CLOUDSTACK-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648340#comment-13648340 ]
Abhinav Roy commented on CLOUDSTACK-1893:
-----------------------------------------
Verified the fix with the latest build and UI doesn't hang anymore but I agree with Pranav, the error message should be improved
> [AWS Style Health Checks] UI hangs when one tries to create health check policy on a LB rule with VR as LB service provider
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-1893
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1893
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: UI
> Affects Versions: 4.2.0
> Reporter: Abhinav Roy
> Assignee: Pranav Saxena
> Fix For: 4.2.0
>
> Attachments: VR LB Health check.jpg
>
>
> Steps :
> =========================
> 1. Deploy an advanced zone CS setup
> 2. Create a network with VR as LB service provider and deploy few VMs on that network.
> 3. Create a LB rule in that network and try to create health check policy on that LB rule.
> Expected behaviour :
> =========================
> 1. Since health checks on VR are not supported yet, the process should fail gracefully with a error message
> Observed behaviour :
> ========================
> The UI hangs with a error message when someone tries to create the health check policy
> Error seen in MS log
> 2013-04-02 17:03:22,492 WARN [user.loadbalancer.CreateLBHealthCheckPolicyCmd] (catalina-exec-16:null) Exception:
> com.cloud.exception.InvalidParameterValueException: Failed to create HealthCheck policy: Validation Failed (HealthCheck Policy is not supported by LB Provider for the LB rule id :)1
> at com.cloud.network.lb.LoadBalancingRulesManagerImpl.createLBHealthCheckPolicy(LoadBalancingRulesManagerImpl.java:508)
> at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at org.apache.cloudstack.api.command.user.loadbalancer.CreateLBHealthCheckPolicyCmd.create(CreateLBHealthCheckPolicyCmd.java:150)
> at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:109)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:401)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:304)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> 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:2268)
> 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)
> 2013-04-02 17:03:22,493 INFO [cloud.api.ApiServer] (catalina-exec-16:null) Failed to create HealthCheck policy: Validation Failed (HealthCheck Policy is not supported by LB Provider for the LB rule id :)1
--
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