yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36297
[Bug 1478169] Re: Could not setup simple webserver successfully when creating lb with session persistence type:HTTP_COOKIE
** Changed in: neutron
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1478169
Title:
Could not setup simple webserver successfully when creating lb with
session persistence type:HTTP_COOKIE
Status in neutron:
Invalid
Bug description:
I am not sure whether this bug is duplicate of this one:
https://bugs.launchpad.net/neutron/+bug/1477348 If it is so, feel free
to mark it as duplicate. Thanks. (However the errors reported are
different though)
(1) neutron lbaas-loadbalancer-create --name lb1 private-subnet
neutron lbaas-listener-create --loadbalancer lb1 --protocol HTTP --protocol-port 80 --name listener1
neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol HTTP --session-persistence type=HTTP_COOKIE --name pool1
# Set up two backend servers with their right IPs:
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.4 --protocol-port 80 pool1
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.5 --protocol-port 80 pool1
# setup simple webserver in each of the backend server:
MYIP=$(ifconfig eth0|grep 'inet addr'|awk -F: '{print $2}'| awk '{print $1}')
while true; do echo -e "HTTP/1.0 200 OK\r\n\r\nWelcome to $MYIP" | sudo nc -l -p 80 ; done
curl http://<lb_ip>
curl: (7) Failed to connect to 10.0.0.5 port 80: Connection refused
(2) when I create pool without session_persistence, I am able to get
200 OK when I "curl http://<lb-ip>"
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1478169/+subscriptions
References