Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.1.5
-
None
-
None
Description
Fails with the following error:
[2016-02-29 08:51:53,763] INFO - [AWSHelper] Creating load balancer TESTLB-wso2das-300
[2016-02-29 08:51:54,574] ERROR - [AWSHelper] Could not create load balancer TESTLB-wso2das-300
com.amazonaws.services.elasticloadbalancing.model.DuplicateLoadBalancerNameException: Load Balancer named TESTLB-wso2das-300 already exists and it is configured with different parameters. (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: DuplicateLoadBalancerName; Request ID: b28b3514-dec1-11e5-8dbd-b198991bfee1)
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:937)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:506)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:273)
at com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingClient.invoke(AmazonElasticLoadBalancingClient.java:2033)
at com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingClient.createLoadBalancer(AmazonElasticLoadBalancingClient.java:1406)
at org.apache.stratos.aws.extension.AWSHelper.createLoadBalancer(AWSHelper.java:379)
at org.apache.stratos.aws.extension.AWSLoadBalancer.configure(AWSLoadBalancer.java:176)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension.configureAndStart(LoadBalancerExtension.java:284)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension.access$200(LoadBalancerExtension.java:49)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension$3.onEvent(LoadBalancerExtension.java:223)
at org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)
at java.util.Observable.notifyObservers(Observable.java:159)
at org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)
at org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor.process(CompleteTopologyMessageProcessor.java:69)
at org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61)
at org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator.run(TopologyEventMessageDelegator.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2016-02-29 08:51:54,576] ERROR - [LoadBalancerExtension] Could not start load balancer
org.apache.stratos.load.balancer.extension.api.exception.LoadBalancerExtensionException: Could not create load balancer TESTLB-wso2das-300
at org.apache.stratos.aws.extension.AWSHelper.createLoadBalancer(AWSHelper.java:387)
at org.apache.stratos.aws.extension.AWSLoadBalancer.configure(AWSLoadBalancer.java:176)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension.configureAndStart(LoadBalancerExtension.java:284)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension.access$200(LoadBalancerExtension.java:49)
at org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension$3.onEvent(LoadBalancerExtension.java:223)
at org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)
at java.util.Observable.notifyObservers(Observable.java:159)
at org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)
at org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor.process(CompleteTopologyMessageProcessor.java:69)
at org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61)
at org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator.run(TopologyEventMessageDelegator.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.amazonaws.services.elasticloadbalancing.model.DuplicateLoadBalancerNameException: Load Balancer named TESTLB-wso2das-300 already exists and it is configured with different parameters. (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: DuplicateLoadBalancerName; Request ID: b28b3514-dec1-11e5-8dbd-b198991bfee1)
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:937)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:506)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:273)
at com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingClient.invoke(AmazonElasticLoadBalancingClient.java:2033)
at com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingClient.createLoadBalancer(AmazonElasticLoadBalancingClient.java:1406)
at org.apache.stratos.aws.extension.AWSHelper.createLoadBalancer(AWSHelper.java:379)
... 13 more
[2016-02-29 08:51:54,582] INFO - [AWSLoadBalancer] Not terminating LBs since terminate.lbs.on.extension.stop=false