You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/05/13 16:25:16 UTC

[jira] [Created] (CLOUDSTACK-2461) [GSLB] createGSLBRule API is failing to pick the default algorithm "round robin" for parameter "gslblbmethod"

venkata swamybabu budumuru created CLOUDSTACK-2461:
------------------------------------------------------

             Summary: [GSLB] createGSLBRule API is failing to pick the default algorithm "round robin" for parameter "gslblbmethod"
                 Key: CLOUDSTACK-2461
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2461
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.2.0
         Environment: commit # 09af15035b9febe6f55e73a1389f950ab042564f
            Reporter: venkata swamybabu budumuru
            Assignee: Murali Reddy
             Fix For: 4.2.0


Steps to reproduce:

1. Have CloudStack setup with at least one advanced zone
2. Try to create a GSLB rule without specifying the parameter "gslblbmethod" 

Observations:

(i) It is supposed to pick a default algorithm i.e. "round robin" but, it fails with the following error in the mgmt server log.

2013-05-13 15:39:26,164 DEBUG [cloud.api.ApiServlet] (1374637973@qtp-1391263288-331:null) ===START===  10.104.255.13 -- GET  apiKey=M-bs_nL5nJkcbHm4G718MXguAsVPLjRB1pq9ovDpBHvr2qsYRGSuHm6LBfc7vBv2e3KXxeFIZXFEzBPmdaxtaA&command=createGlobalLoadBalancerRule&description=test&gslbdomainname=test&gslbservicetype=tcp&name=test&regionid=1&response=json&signature=o9CUzfi41FF0nlxj%2BTnSS4GEBgQ%3D
2013-05-13 15:39:26,175 DEBUG [cloud.user.AccountManagerImpl] (1374637973@qtp-1391263288-331:null) Access to Acct[5-dom1Acc3] granted to Acct[5-dom1Acc3] by DomainChecker_EnhancerByCloudStack_31a4ebb4
2013-05-13 15:39:26,179 WARN  [ha.gslb.CreateGlobalLoadBalancerRuleCmd] (1374637973@qtp-1391263288-331:null) Exception:
com.cloud.exception.InvalidParameterValueException: Invalid Algorithm: null
        at org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl.createGlobalLoadBalancerRule(GlobalLoadBalancingRulesServiceImpl.java:103)
        at org.apache.cloudstack.api.command.user.region.ha.gslb.CreateGlobalLoadBalancerRuleCmd.create(CreateGlobalLoadBalancerRuleCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:101)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:459)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:362)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-05-13 15:39:26,182 INFO  [cloud.api.ApiServer] (1374637973@qtp-1391263288-331:null) Invalid Algorithm: null

Attaching all the required logs along with b dump.

--
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