[openstack-dev] openstack nova-api HA problem
Vishvananda Ishaya
vishvananda at gmail.com
Thu Oct 11 19:55:17 UTC 2012
Make sure you setup your endpoint in keystone to point to haproxy.
you also probably want to set
osapi_compute_link_prefix
and
osapi_glance_link_prefix
in your nova.conf so that they point to haproxy as well
If you are using ha_proxy to proxy for metadata api, you will also need to use:
use_forwarded_for=True
and setup HAProxy to add an X-Forwarded-For header containing the remote address of the original request.
Vish
On Oct 11, 2012, at 5:08 AM, kookikihoo <kookikihoo at gmail.com> wrote:
> Hi all, I have a problem when setting up HAProxy for nova-api, I have setted up a haproxy and two nova-api, but it seems that I can not direct requests from haproxy. I know that the commands such as "nova list" sends request to IP:8774 where the wsgi will response to my request, but whenever I changed the nova_url in nova.conf, it doesn't work, anyone can help? _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list