Re: HAProxy LB Config Issue

2015-12-05 Thread Imesh Gunaratne
On Sun, Dec 6, 2015 at 12:00 AM, Ridwan Shariffdeen wrote: > Hi Imesh, > As mentioned by Janaka we found that the cause for this problem is that > the backend name used by HAProxyStatisticsReader to execute the getWeight > method is different from the HAProxyConfigWriter which writes the backend

Re: HAProxy LB Config Issue

2015-12-05 Thread Ridwan Shariffdeen
Hi Imesh, As mentioned by Janaka we found that the cause for this problem is that the backend name used by HAProxyStatisticsReader to execute the getWeight method is different from the HAProxyConfigWriter which writes the backend name. Changing the naming convention we were able to overcome this pr

Re: HAProxy LB Config Issue

2015-12-05 Thread Imesh Gunaratne
Hi Janaka, Yes seems like thrift-client-config.xml file in haproxy extension has not been updated. If you prefer you can send a pull request to fix it. Will include the fix in the next release. Regarding the second issue: // echo "get weight /" | socat stdio command = String.format("%s/get-weig

HAProxy LB Config Issue

2015-12-04 Thread Janaka Bandara
Hi, I am trying to set up Stratos 4.1.4 with HAProxy (1.6.2) on Amazon EC2. I encountered an error from the ThriftClientConfigParser, "username is not found", and bypassed it by rewriting /conf/thrift-client-config.xml according to the structure used in /repository/conf/thrift-client-config.xml.