cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benoit lair <kurushi4...@gmail.com>
Subject Re: ACS 4.2 - Error when trying to declare a LB rule in a vpc to a tier network with lb offering
Date Wed, 09 Oct 2013 08:17:55 GMT
Hi Murali,

Thanks for your help. It resolved my problem. All is going clear for my
public lb tiers and internal lb tiers.

Regards,

Benoit.


2013/10/8 Murali Reddy <Murali.Reddy@citrix.com>

> On 08/10/13 7:41 PM, "benoit lair" <kurushi4000@gmail.com> wrote:
>
> >Hello!
> >
> >I don't understand wht is going wrong :
> >
> >When i'm looking into the official docs, i see that vpc is still declared
> >to be able to do lb only on one tier ??
> >
> >However, https://issues.apache.org/jira/browse/CLOUDSTACK-2367 says that
> >this feature is implemented.
>
> Both external and internal LB are supported. Please see [1]. Both both
> functionality are mutually exclusive with in a tier. From the exception it
> appears that you are trying to do external LB on tier created with
> 'DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB' offering
> which does not support it. Try creating a tier with a network offering
> with lb type as 'public lb'
>
> [1]
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Insta
> llation_Guide/configure-vpc.html#add-loadbalancer-rule-vpc
>
> >
> >I have already configured several tiers in a vpc with internal lb service
> >for each, i deployed several vms into 2 differents tiers.
> >
> >But when i try to create a lb rule choosing two vm in a tier, i got the
> >error message i noticed two messages ago.
> >
> >If somebody has an idea, i would really appreciate.
> >
> >Thanks.
> >
> >Benoit.
> >
> >
> >2013/10/8 benoit lair <kurushi4000@gmail.com>
> >
> >> Hello!
> >>
> >> Any ideas for this problem ?
> >>
> >> Thanks for your help.
> >>
> >> Regards,
> >>
> >> Benoit.
> >>
> >>
> >> 2013/10/7 benoit lair <kurushi4000@gmail.com>
> >>
> >>> Hi,
> >>>
> >>> I'm working with a CS 4.2, Xenserver 6.2 in a centos 6.3
> >>>
> >>> Deployed a VPC, multiples tiers, each with a Network offering with LB
> >>> activated.
> >>>
> >>> When i navigate on the vpc summary page, i click on the button "Public
> >>>ip
> >>> adresses" on the Vpc virtual router item,
> >>>
> >>> I click on acquire new ip, this one is 10.14.6.5, i click on this one
> >>>and
> >>> go to configuration tab. I click on load balacing, try to create a lb
> >>>rule
> >>> very simple :
> >>>
> >>> just a name, port public 80, private port 80, algorithm least
> >>> connections, no stickiness, no health check, no autoscale, just select
> >>>2
> >>> vms already deployed and running :
> >>>
> >>> I try to create my lb rule, i got this error message in the UI :
> >>>
> >>> Failed to create load balancer rule: lb_rule_mano_frontal1
> >>>
> >>>
> >>> When i look into my mgmt server log :
> >>>
> >>> 2013-10-07 11:54:46,591 DEBUG [cloud.network.NetworkManagerImpl]
> >>> (catalina-exec-21:null) Associating ip Ip[10.14.6.5-1] to network
> >>> Ntwk[204|Guest|13]
> >>> 2013-10-07 11:54:46,598 DEBUG [cloud.network.NetworkManagerImpl]
> >>> (catalina-exec-21:null) Successfully associated ip address 10.14.6.5 to
> >>> network Ntwk[204|Guest|13]
> >>> 2013-10-07 11:54:46,604 WARN
> >>>[network.lb.LoadBalancingRulesManagerImpl]
> >>> (catalina-exec-21:null) Failed to create load balancer due to
> >>> com.cloud.exception.InvalidParameterValueException: Scheme Public is
> >>>not
> >>> supported by the network offering [Network Offering
> >>> [13-Guest-DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB]
> >>>     at
> >>>
> >>>com.cloud.network.lb.LoadBalancingRulesManagerImpl.isLbServiceSupportedI
> >>>nNetwork(LoadBalancingRulesManagerImpl.java:2136)
> >>>     at
> >>>
> >>>com.cloud.network.lb.LoadBalancingRulesManagerImpl.createPublicLoadBalan
> >>>cer(LoadBalancingRulesManagerImpl.java:1432)
> >>>     at
> >>>
> >>>com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercepto
> >>>rDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >>>     at
> >>>
> >>>com.cloud.network.lb.LoadBalancingRulesManagerImpl.createPublicLoadBalan
> >>>cerRule(LoadBalancingRulesManagerImpl.java:1360)
> >>>     at
> >>>
> >>>com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercepto
> >>>rDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >>>     at
> >>>
> >>>org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRu
> >>>leCmd.create(CreateLoadBalancerRuleCmd.java:282)
> >>>     at
> >>> com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
> >>>     at com.cloud.api.ApiServer.queueCommand(ApiServer.java:460)
> >>>     at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
> >>>     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
> >>>     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(Applica
> >>>tionFilterChain.java:290)
> >>>     at
> >>>
> >>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> >>>erChain.java:206)
> >>>     at
> >>>
> >>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> >>>e.java:233)
> >>>     at
> >>>
> >>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> >>>e.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:2
> >>>98)
> >>>     at
> >>>
> >>>org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
> >>>ava:889)
> >>>     at
> >>>
> >>>org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> >>>ss(Http11NioProtocol.java:721)
> >>>     at
> >>>
> >>>org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> >>>ava:2274)
> >>>     at
> >>>
> >>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> >>>a:1145)
> >>>     at
> >>>
> >>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> >>>va:615)
> >>>     at java.lang.Thread.run(Thread.java:724)
> >>> 2013-10-07 11:54:46,619 DEBUG [network.vpc.VpcManagerImpl]
> >>> (catalina-exec-21:null) Releasing VPC ip address Ip[10.14.6.5-1] from
> >>>vpc
> >>> network id=204
> >>> 2013-10-07 11:54:46,626 DEBUG [network.vpc.VpcManagerImpl]
> >>> (catalina-exec-21:null) IP address Ip[10.14.6.5-1] is no longer
> >>>associated
> >>> with the network inside vpc id=1
> >>> 2013-10-07 11:54:46,626 DEBUG [network.vpc.VpcManagerImpl]
> >>> (catalina-exec-21:null) Successfully released VPC ip address
> >>> Ip[10.14.6.5-1] back to VPC pool
> >>> 2013-10-07 11:54:46,632 ERROR [cloud.api.ApiServer]
> >>> (catalina-exec-21:null) unhandled exception executing api command:
> >>> createLoadBalancerRule
> >>> com.cloud.utils.exception.CloudRuntimeException: Failed to create load
> >>> balancer rule: lb_rule_mano_frontal1
> >>>     at
> >>>
> >>>com.cloud.network.lb.LoadBalancingRulesManagerImpl.createPublicLoadBalan
> >>>cerRule(LoadBalancingRulesManagerImpl.java:1381)
> >>>     at
> >>>
> >>>com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercepto
> >>>rDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >>>     at
> >>>
> >>>org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRu
> >>>leCmd.create(CreateLoadBalancerRuleCmd.java:282)
> >>>     at
> >>> com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
> >>>     at com.cloud.api.ApiServer.queueCommand(ApiServer.java:460)
> >>>     at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
> >>>     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
> >>>     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(Applica
> >>>tionFilterChain.java:290)
> >>>     at
> >>>
> >>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> >>>erChain.java:206)
> >>>     at
> >>>
> >>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> >>>e.java:233)
> >>>     at
> >>>
> >>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> >>>e.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:2
> >>>98)
> >>>     at
> >>>
> >>>org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
> >>>ava:889)
> >>>     at
> >>>
> >>>org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> >>>ss(Http11NioProtocol.java:721)
> >>>     at
> >>>
> >>>org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> >>>ava:2274)
> >>>     at
> >>>
> >>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> >>>a:1145)
> >>>     at
> >>>
> >>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> >>>va:615)
> >>>     at java.lang.Thread.run(Thread.java:724)
> >>>
> >>>
> >>> Thanks for your help.
> >>>
> >>>
> >>> Regards,
> >>>
> >>> Benoit.
> >>>
> >>>
> >>
> >
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message