openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08053
http 400 after setting up haproxy
Hi,
After setting up haproxy, commands that start with nova (nova flavor-list, nova image-list) stopped working (output from these is: n/a (HTTP 400)). Without haproxy everything works just fine. I can still use euca but unfortunately that isn't enough for our solution. I'm attaching haproxy config for nova-api below, perhaps someone can figure out what's wrong.
Regards
Piotr Czubak
Haproxy settings:
listen nova-api 10.0.0.14:8773
mode http
balance roundrobin
cookie SERVERID insert indirect nocache
option forwardfor
server nova-api_1 127.0.0.1:8781 cookie nova_api_1 check inter 2000
server nova-api_2 127.0.0.1:8782 cookie nova_api_2 check inter 2000
nova.conf has --use_forwarded_for=true and --allow_admin_api=true (in case that matters)
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk
Sad Rejonowy Gdansk Polnoc w Gdansku,
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
numer KRS 101882
NIP 957-07-52-316
Kapital zakladowy 200.000 zl
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.